gpt4 book ai didi

virtualenv - mkvirtualenv : Too many levels of symbolic links

转载 作者:行者123 更新时间:2023-12-03 06:55:29 25 4
gpt4 key购买 nike

我正在运行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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com