我不明白为什么以下错误或如何修复它...任何帮助都会非常感激。 (请注意,这个问题与此one相似但不同。)
dhcp-18-41:WakeUp6 jbs$ sudo -H virtualenv -p
/usr/local/Cellar/python@2/2.7.15 env
Password:
Running virtualenv with interpreter /usr/local/Cellar/python@2/2.7.15
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 665, in main
popen = subprocess.Popen([interpreter, file] + sys.argv[1:], env=env)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 13] Permission denied