【20171031】在mac安裝蘋果提供的機器學習開發工具coremltools
嘗試安裝coremltools,結果不慎理想,後續會有隱患,繼續嘗試解決中。
- 昨晚下載受限網路因素多次重試,每次中斷後需要從頭下載。
- 今早下載成功,但安裝numpy時碰到異常,但檢查處理。
$ sudo pip install -U coremltools
Password:
The directory `/Users/*/Library/Caches/pip/http` or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo`s -H flag.
The directory `/Users/*/Library/Caches/pip` or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo`s -H flag.
Collecting coremltools
Downloading coremltools-0.6.3-cp27-none-macosx_10_12_intel.whl (2.9MB)
100% |████████████████████████████████| 2.9MB 50kB/s
Collecting numpy>=1.6.2 (from coremltools)
Downloading numpy-1.13.3-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (4.6MB)
100% |████████████████████████████████| 4.6MB 30kB/s
Collecting six==1.10.0 (from coremltools)
Downloading six-1.10.0-py2.py3-none-any.whl
Collecting protobuf>=3.1.0 (from coremltools)
Downloading protobuf-3.4.0-py2.py3-none-any.whl (375kB)
100% |████████████████████████████████| 378kB 15kB/s
Collecting setuptools (from protobuf>=3.1.0->coremltools)
Downloading setuptools-36.6.0-py2.py3-none-any.whl (481kB)
100% |████████████████████████████████| 481kB 71kB/s
Installing collected packages: numpy, six, setuptools, protobuf, coremltools
Found existing installation: numpy 1.8.0rc1
DEPRECATION: Uninstalling a distutils installed project (numpy) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
Uninstalling numpy-1.8.0rc1:
Exception:
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/commands/install.py", line 342, in run
prefix=options.prefix_path,
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_set.py", line 778, in install
requirement.uninstall(auto_confirm=True)
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_install.py", line 754, in uninstall
paths_to_remove.remove(auto_confirm)
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_uninstall.py", line 115, in remove
renames(path, new_path)
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/utils/__init__.py", line 267, in renames
shutil.move(old, new)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 302, in move
copy2(src, real_dst)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 131, in copy2
copystat(src, dst)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 103, in copystat
os.chflags(dst, st.st_flags)
OSError: [Errno 1] Operation not permitted: `/tmp/pip-BzracI-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy-1.8.0rc1-py2.7.egg-info`
相關文章
- 在 Mac OS X 上安裝紅帽容器開發工具包Mac
- 安卓開發工具安裝安卓
- 在Mac下的前端開發必備工具Mac前端
- [開發工具] RedisDesktopManager 安裝Redis
- Mac系統Go開發環境的安裝MacGo開發環境
- Mac安裝開發環境-前端篇Mac開發環境前端
- Mac OS下用Homebrew安裝自己寫的開源工具Mac開源工具
- 如何給自己的mac電腦安裝雙系統,在蘋果電腦上安裝win系統Mac蘋果
- 在mac上安裝DockerMacDocker
- 安裝用於 Windows 應用開發的工具Windows
- AngularJS的開發工具—yeoman簡易安裝AngularJS
- Java開發小白入門前的工具安裝Java
- Mac系統Python開發環境的安裝MacPython開發環境
- Mac 安裝 GO語言開發環境MacGo開發環境
- Mac下安裝Phonegap開發環境Mac開發環境
- Mac下安裝NDK,進行JNI開發Mac
- 機器學習探索之路1:機器學習相關工具介紹與安裝機器學習
- 如何解決蘋果Mac安裝Axure首次開啟報錯的問題?蘋果Mac
- mac下安裝JAVA開發工具(7)——mysql8.0.11連結採坑MacJavaMySql
- Mac iOS開發工具MaciOS
- ORACLE開發工具DEVELOPER系列 4個版本及DB裝在同一機器的安裝方法OracleDeveloper
- Aiseesoft iPhone Unlocker for Mac - 蘋果裝置解鎖工具AIiPhoneMac蘋果
- Aiseesoft iPhone Unlocker for Mac(蘋果裝置解鎖工具)AIiPhoneMac蘋果
- 在 Mac OSX 上安裝 nginxMacNginx
- 在Mac下安裝使用VagrantMac
- centos下安裝JAVA開發工具(3)——MysqlCentOSJavaMySql
- 蘋果Mac電腦超強軟體解除安裝清理工具:App Cleaner & Uninstaller Pro for Mac蘋果MacAPP
- 在Mac book安裝vscode開發利器ide除錯mysql mhaMacVSCodeIDE除錯MySql
- iOS開發從零學習Flutter之一在mac上安裝FlutteriOSFlutterMac
- 如何使用 CrossOver 在 Mac 蘋果電腦上安裝執行 win應用ROSMac蘋果
- Mac OS X下開發軟體的安裝與配置Mac
- AppZapper for mac解除安裝工具APPMac
- 浙江某男子對多端應用開發工具HBuilderX在windows下安裝的解說UIWindows
- Mac安裝開發環境-應用端篇Mac開發環境
- 蘋果Mac安裝win10雙系統蘋果MacWin10
- 蘋果Mac電腦安裝Axure首次開啟報錯解決方案蘋果Mac
- 蘋果最終屈服,允許開發商在App Store之外提供支付方式蘋果APP
- WALTR PRO for Mac(蘋果檔案同步工具)直裝版Mac蘋果