尝试在我的计算机上安装Twisted(macOS Sierra 10.12.2)。 Python版本是2.7.10。无法在Mac上安装Twisted 17.1.0
我尝试这样pip install Twisted
PIP安装和错误
IOError: [Errno 63] File name too long: '/tmp/easy_install-8eVovT/Twisted-17.1.0/temp/easy_install-u0u1h9/Twisted-17.1.0/temp/easy_install-5iVHg5/Twisted-17.1.0/temp/easy_install-UZwSl2/Twisted-17.1.0/temp/easy_install-9nRMC3/Twisted-17.1.0/temp/easy_install-1bP8j6/Twisted-17.1.0/temp/easy_install-E8B9b_/Twisted-17.1.0/temp/easy_install-5zegl0/Twisted-17.1.0/temp/easy_install-47Gzfa/Twisted-17.1.0/temp/easy_install-rvfOEw/Twisted-17.1.0/temp/easy_install-c08BDr/Twisted-17.1.0/temp/easy_install-ZAyj8l/Twisted-17.1.0/temp/easy_install-w3QowO/Twisted-17.1.0/temp/easy_install-DoydBb/Twisted-17.1.0/temp/easy_install-SsMoHm/Twisted-17.1.0/temp/easy_install-_ZTPwM/Twisted-17.1.0/temp/easy_install-opozZc/Twisted-17.1.0/temp/easy_install-xY7XU8/Twisted-17.1.0/temp/easy_install-1J5k5e/Twisted-17.1.0/temp/easy_install-9SlyRn/Twisted-17.1.0/temp/easy_install-87hrjt/Twisted-17.1.0/temp/easy_install-20CF7n/Twisted-17.1.0/temp/easy_install-cxyH6n/Twisted-17.1.0/docs/core/examples/threadedselect/Cocoa/SimpleWebClient/English.lproj/MainMenu.nib/keyedobjects.nib
失败然后我从http://twistedmatrix.com/trac/wiki/Downloads下载源代码。
运行命令python setup.py install
和我得到了同样的错误信息。
我能做些什么来解决这个问题?
我能在我的机器上安装Twisted 17.9.0。 –
今天我无法在Sierra 10.12上安装。安装程序在“运行命令python setup.py egg_info”后挂起。 Twisted 15成功安装,但无法升级。 – ohmi