
1 chlx 2013-01-01 23:11:19 +08:00 版本一致,没有遇到这个问题.LZ说详细点? |
2 jerichowon OP @chlx 这个是我的错误信息: The following command was executed: virtualenv.py --never-download --distribute /Users/admin/untitled1 The error output of the command: Traceback (most recent call last): File "/Applications/PyCharm.app/helpers/virtualenv.py", line 2429, in <module> main() File "/Applications/PyCharm.app/helpers/virtualenv.py", line 942, in main never_download=options.never_download) File "/Applications/PyCharm.app/helpers/virtualenv.py", line 1049, in create_environment search_dirs=search_dirs, never_download=never_download) File "/Applications/PyCharm.app/helpers/virtualenv.py", line 603, in install_distribute search_dirs=search_dirs, never_download=never_download) File "/Applications/PyCharm.app/helpers/virtualenv.py", line 570, in _install_req cwd=cwd) File "/Applications/PyCharm.app/helpers/virtualenv.py", line 1020, in call_subprocess % (cmd_desc, proc.returncode)) OSError: Command /Users/admin/untitled1/bin/python -c "#!python \"\"\"Bootstra... main(sys.argv[1:]) " --always-copy -U distribute failed with error code 1 New python executable in /Users/admin/untitled1/bin/python Installing distribute........ Complete output from command /Users/admin/untitled1/bin/python -c "#!python \"\"\"Bootstra... main(sys.argv[1:]) " --always-copy -U distribute: Traceback (most recent call last): File "<string>", line 23, in <module> File "/Users/admin/untitled1/lib/python2.7/distutils/__init__.py", line 16, in <module> exec(open(os.path.join(distutils_path, '__init__.py')).read()) IOError: [Errno 2] No such file or directory: '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/__init__.py' ---------------------------------------- ...Installing distribute...done. |
3 jerichowon OP 接图再这里: ![]() |
4 davidx 2013-01-06 15:31:25 +08:00 从目前能看到的信息上看, 貌似是少一个__init__.py |
5 hussion 2013-01-06 15:44:55 +08:00 没有碰到... |
6 jerichowon OP 不是吧,这种事情只有我碰到? |
7 ry_wang 2013-02-16 11:44:20 +08:00 @jerichowon 没装xcode的command tools吧. |
8 lowrain 2013-08-10 12:45:05 +08:00 @jerichowon 没装xcode的command tools吧. +1 |