source ~/.bashrc
来源:17-5 nginx和virtualenvwrapper的安装和配置
weixin_慕丝8365412
2020-02-19
发现给的安装文档中多了一行:
export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3
按照文档执行后(多运行了上面一行后),就出现了以下这段代码,如何破?
[root@iZbp1f7g9nyfs5flzyvpf7Z bin]# source ~/.bashrc
/usr/bin/python3: Error while finding module specification for ‘virtualenvwrapper.hook_loader’ (ModuleNotFoundError: No module named ‘virtualenvwrapper’)
virtualenvwrapper.sh: There was a problem running the initialization hooks.
If Python could not import the module virtualenvwrapper.hook_loader,
check that virtualenvwrapper has been installed for
VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3 and that PATH is
set properly.
写回答
1回答
-
weixin_慕丝8365412
提问者
2020-02-19
解决了,请忽略。
022020-03-24
相似问题