virtualenvwrapper.sh:运行初始化钩子存在问题
我正在尝试安装virtualenvwrapper
。我需要使用特定的Python版本:3.6.10
因此,我将virtualenvwrapper_python
设置为/usr/local/bin/bin/python3.6
当我运行virtualenvwrapper.sh
时,我会收到一个错误:
If Python could not import the module virtualenvwrapper.hook_loader,
check that virtualenvwrapper has been installed for
VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python3.6 and that PATH is
set properly.
因此,我尝试使用以下命令安装virtualenvwrapper
python3.6 -M PIP安装virtualenvwrapper
,但导致另一个错误:分割故障(核心倾倒)
我该如何解决此问题?是否有任何解决方案可以在特定的Python版本上安装VirtualenvWrapper
?
更多信息:Python3.6 - Version
:Python 3.6.10python3- version
:python 3.9.7
我使用ubuntu 21.10
I'm trying to install virtualenvwrapper
. I need to use specific python version: 3.6.10
So I set VIRTUALENVWRAPPER_PYTHON
to /usr/local/bin/python3.6
When I run virtualenvwrapper.sh
I get an error:
If Python could not import the module virtualenvwrapper.hook_loader,
check that virtualenvwrapper has been installed for
VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python3.6 and that PATH is
set properly.
so I tried to install virtualenvwrapper
using the following commandpython3.6 -m pip install virtualenvwrapper
but it resulted with another error: Segmentation fault (core dumped)
How can I fix this? Is there any workaround for installing virtualenvwrapper
to specific python version?
More info:python3.6 --version
: Python 3.6.10python3 --version
: Python 3.9.7
I use Ubuntu 21.10
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论