我的问题与康达没有任何关系。
~$ virtualenv venv
New python executable in /Users/john/venv/bin/python
Installing setuptools, pip, wheel...
Complete output from command /Users/john/venv/bin/python - setuptools pip wheel:
Traceback (most recent call last):
File "<stdin>", line 7, in <module>
File "/Library/Python/2.7/site-packages/virtualenv_support/pip-8.0.2-py2.py3-none-any.whl/pip/__init__.py", line 4, in <module>
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 26, in <module>
import sys, os, time, cStringIO, traceback, warnings, weakref, collections
File "traceback.py", line 21, in <module>
traceback.print_exception(exc_type, exc_value, exc_traceback, file=f)
AttributeError: 'module' object has no attribute 'print_exception'
----------------------------------------
...Installing setuptools, pip, wheel...done.
Traceback (most recent call last):
File "/usr/local/bin/virtualenv", line 11, in <module>
sys.exit(main())
File "/Library/Python/2.7/site-packages/virtualenv.py", line 711, in main
symlink=options.symlink)
File "/Library/Python/2.7/site-packages/virtualenv.py", line 944, in create_environment
download=download,
File "/Library/Python/2.7/site-packages/virtualenv.py", line 900, in install_wheel
call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
File "/Library/Python/2.7/site-packages/virtualenv.py", line 795, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /Users/john/venv/bin/python - setuptools pip wheel failed with error code 1
我也找不到这个文件:文件&#34; traceback.py&#34;,第21行,
任何线索将不胜感激。
答案 0 :(得分:0)
今天我发生了这件事,我花了几个小时试图修复它,直到我尝试卸载并重新安装修复问题的virtualenv。
=query({junesheet!A2:H5;julysheet!A2:H5},”Select * where Col1 is not null “)
在未激活的Mac OS X提供的python环境中运行它,然后你可以通过像普通一样指定-p参数来制作python 3.6 virtualenvs,一切正常。