2014-02-06 113 views
1

$ ./easy_install --index-URL = http://pypiserver.test.net:8081/simple請求
安裝請求模塊時,在搜索請求崩潰
閱讀pypiserver.test.net:8081/simple/requests/
最佳匹配:請求2.2.1
下載pypiserver.test.net:8081/packages/requests-2.2.1.tar.gz
處理請求-2.2.1.tar.gz
寫作的/ var /文件夾/ CN/fs0bhsg14k73_tj4g81yh5sw000d4g /T/easy_install-ONrhgU/requests-2.2.1/setup.cfg
Running requests-2.2.1/setup.py -q bdist_egg --dist-dir/var/folders /cn/fs0bhsg14k73_tj4g81yh5sw000d4g/T/easy_install-ONrhgU/requests-2.2.1/egg-dist-tmp-iC7PX9
段故障:11Python 2.7版在Mac

更新:我覺得我建的Python,就好像我剛剛下載版築的python2.7.6的方式,請求模塊安裝的罰款。我確實需要構建python,因爲這是我們發佈過程的一部分。

+0

可能重複(http://stackoverflow.com/questions/19531969/segmentation-故障-11在-OS-X) – akaRem

回答

2

我跑

pip install requests 

工作正常:

$ pip install requests 
Downloading/unpacking requests 
    Downloading requests-2.2.1.tar.gz (421kB): 421kB downloaded 
    Running setup.py egg_info for package requests 

Installing collected packages: requests 
    Running setup.py install for requests 

Successfully installed requests 
Cleaning up... 
[分段故障:11在OS X]的
+0

** PIP也會失敗:** $ PIP安裝請求 下載/解壓縮請求 下載請求-2.2.1.tar.gz(421KB):421KB下載 運行小號etup.py egg_info的軟件包請求 清理... 命令python setup.py egg_info失敗,錯誤代碼-11在/ private/var/folders/cn/fs0bhsg14k73_tj4g81yh5sw000d4g/T/pip_build_spatterson/requests 存儲完整登錄/ Users/spatterson /.pip/pip.log – coolstang101

+0

@ coolstang101啊,哦,它是一個段錯誤。你需要更新python。 – akaRem