我正在学习Linux以及如何首次设置Django环境。 当我运行virtualenvwrapper命令时,我不确定“:command not found”是什么意思。下面是命令行序列:
root@intranet-django:/home/lv/# workon
root@intranet-django:/home/lv/# mkvirtualenv temp
Using base prefix ‘/usr’
New python executable in /root/.virtualenvs/temp/bin/python3
Also creating executable in /root/.virtualenvs/temp/bin/python
Installing setuptools, pip, wheel…done
:command not found
root@intranet-django:/home/lv/# workon
temp
root@intranet-django:/home/lv/#
答案 0 :(得分:0)
通过运行此命令virtualenv
来创建python3.x
并指定mkvirtualenv -p /usr/local/bin python3.x <project_name>
路径。
如果您想查看python3.x
路径,请在终端中运行which python3.x
。