我在 MS-Windows 上通過 PyCharm 運(yùn)行 msys2。我嘗試運(yùn)行此命令:C:\msys32\usr\bin\python3.exe -m pip install -e git+https://source.example.com/repos/myapp#egg=myapp我得到這個(gè)輸出: 15 [main] python3 5640 child_info_fork::abort: address space needed by '_bz2.cpython-36m.dll' (0x5A0000) is already occupiedObtaining myapp from git+https://source.example.com/repos/myapp#egg=myapp Cloning https://source.example.com/repos/myapp to ./src/myapp 9 [main] python3 7008 child_info_fork::abort: address space needed by '_bz2.cpython-36m.dll' (0x5A0000) is already occupied Error [Errno 11] Resource temporarily unavailable while executing command git clone -q https://source.example.com/repos/myapp "/c/Users/tguettler/PycharmProjects/myproject/src/myapp"Could not install packages due to an EnvironmentError: [Errno 11] Resource temporarily unavailableProcess finished with exit code 1可能有什么問題?通過網(wǎng)絡(luò)瀏覽器訪問 URL 工作正常。如果我運(yùn)行此命令,情況大致相同:$ pip install cx_freeze 16 [main] python3 5748 child_info_fork::abort: address space needed by '_bz2.cpython-36m.dll' (0x390000) is already occupiedCollecting cx_freeze Using cached https://files.pythonhosted.org/packages/5f/16/eab51d6571dfec2554248cb027c51babd04d97f594ab6359e0707361297d/cx_Freeze-5.1.1.tar.gz 10 [main] python3 2652 child_info_fork::abort: address space needed by '_bz2.cpython-36m.dll' (0x390000) is already occupied Error [Errno 11] Resource temporarily unavailable while executing command python setup.py egg_infoCould not install packages due to an EnvironmentError: [Errno 11] Resource temporarily unavailable
2 回答

嚕嚕噠
TA貢獻(xiàn)1784條經(jīng)驗(yàn) 獲得超7個(gè)贊
我想我是這樣解決的:
c:\msys32\usr\bin\dash c:\msys32\usr\bin\rebaseall -v
以上行是在 ms-dos 終端中執(zhí)行的。
現(xiàn)在它似乎起作用了。

叮當(dāng)貓咪
TA貢獻(xiàn)1776條經(jīng)驗(yàn) 獲得超12個(gè)贊
當(dāng)您運(yùn)行 pip 時(shí),您只需指定包名稱,而不是包所在的 URL。例如
pip install package-name
此外,大多數(shù)人直接從命令行運(yùn)行它,而不是通過 PyCharm
添加回答
舉報(bào)
0/150
提交
取消