gpt4 book ai didi

django - 当我运行 virtualenvwrapper mkvirtualenv 命令时,我不确定 “: command not found” 是什么意思

转载 作者:行者123 更新时间:2023-12-04 18:51:19 31 4
gpt4 key购买 nike

我正在学习 Linux 以及如何第一次设置 Django 环境。
当我运行 virtualenvwrapper 命令时,我不确定“:找不到命令”是什么意思。下面是命令行序列:

    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/#

最佳答案

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

如果您想查看您的 python3.x路径,你运行 which python3.x在你的终端。

关于django - 当我运行 virtualenvwrapper mkvirtualenv 命令时,我不确定 “: command not found” 是什么意思,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38359256/

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