当我运行virtualenvwrapper mkvirtualenv命令时,我不确定“:找不到命令”是什么意思

时间:2016-07-13 18:29:53

标签: django ubuntu virtualenvwrapper

我正在学习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/#

1 个答案:

答案 0 :(得分:0)

通过运行此命令virtualenv来创建python3.x并指定mkvirtualenv -p /usr/local/bin python3.x <project_name>路径。

如果您想查看python3.x路径,请在终端中运行which python3.x