作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在运行virtualenv burrito并收到错误消息,表示符号链接(symbolic link)的级别太多。我不知道这意味着什么。
mkvirtualenv --python /usr/local/bin/Python3 mantis
错误:
Running virtualenv with interpreter /usr/local/bin/Python3
Using base prefix '/Library/Frameworks/Python.framework/Versions/3.4'
New python executable in mantis/bin/Python3
Also creating executable in mantis/bin/python
Traceback (most recent call last):
File "/Users/croberts/.venvburrito/lib/python2.7/site-packages/virtualenv.py", line 2352, in <module>
main()
File "/Users/croberts/.venvburrito/lib/python2.7/site-packages/virtualenv.py", line 825, in main
symlink=options.symlink)
File "/Users/croberts/.venvburrito/lib/python2.7/site-packages/virtualenv.py", line 985, in create_environment
site_packages=site_packages, clear=clear, symlink=symlink))
File "/Users/croberts/.venvburrito/lib/python2.7/site-packages/virtualenv.py", line 1439, in install_python
raise e
File "/Users/croberts/.venvburrito/lib/python2.7/site-packages/virtualenv.py", line 1431, in install_python
stdout=subprocess.PIPE)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/subprocess.py", line 859, in __init__
restore_signals, start_new_session)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/subprocess.py", line 1457, in _execute_child
raise child_exception_type(errno_num, err_msg)
OSError: [Errno 62] Too many levels of symbolic links
我之前遇到过这个错误,并通过使用Python3.4而不是Python3解决了它。现在,无论我尝试使用哪种Python,它都无法工作。即使我尝试使用默认值(2.7)
最佳答案
奇怪的是,当我尝试创建一个名称已存在的 virtualenv 时,我遇到了这个问题。删除旧的并创建新的解决方案:
rmvirtualenv old-one
mkvirtualenv new-one
关于virtualenv - mkvirtualenv : Too many levels of symbolic links,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30040308/
我是一名优秀的程序员,十分优秀!