我正在使用Twilio发短信程序,但无法安装基础,但一直遇到此问题。我已经尝试过重新安装pip,easy_setup,pip wheel,django和python。
我不知道为什么我仍然遇到此错误。我正在运行Mac Osx
Collecting Foundations==2.1.0 (from -r requirements.txt (line 14))
Using cached https://files.pythonhosted.org/packages/d4/c4/341b76267c3969b46170f715524259c1c170992253cb7c425d746cb2e322/Foundations-2.1.0.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/l5/k0m1stsn5yz8x0sx_wj4z9qm0000gn/T/pip-install-xi0ft4n3/Foundations/setup.py", line 35, in <module>
_setEncoding()
File "/private/var/folders/l5/k0m1stsn5yz8x0sx_wj4z9qm0000gn/T/pip-install-xi0ft4n3/Foundations/setup.py", line 31, in _setEncoding
reload(sys)
NameError: name 'reload' is not defined
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/l5/k0m1stsn5yz8x0sx_wj4z9qm0000gn/T/pip-install-xi0ft4n3/Foundations/