我在 Mac OSX 10.9.5 上使用 Python 2.7.10 运行 Anaconda。我正在尝试安装一个名为“Fiona”的软件包。
\n\n我进入了:
\n\nsudo pip install Fiona-1.6.0-cp27-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.ma\xe2\x80\x8c\xe2\x80\x8bcosx_10_10_intel.macosx_10_10_x86_64.whl \nRun Code Online (Sandbox Code Playgroud)\n\n结果:
\n\nThe directory \'/Users/ronaldbjork/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. Fiona-1.6.0-cp27-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.mac\xe2\x80\x8c\xe2\x80\x8bosx_10_10_intel.macosx_10_10_x86_64.whl **is not a supported wheel on this platform.**\nRun Code Online (Sandbox Code Playgroud)\n\n建议使用 -H:
\n\n所以我输入:
\n\nsudo -H pip install …Run Code Online (Sandbox Code Playgroud)