gpt4 book ai didi

windows-subsystem-for-linux - virtualenvwrapper 命令 '' 未找到,但可以安装

转载 作者:行者123 更新时间:2023-12-04 16:26:28 25 4
gpt4 key购买 nike

我在 Ubuntu WSL 上并安装了 virtualenvwrapper使用 sudo apt install .
根据需要,变量 WORKON_HOME正确设置为我的虚拟 envs 目录。
当我跑 mkvirtualenv myawesomeproject我收到以下错误:

created virtual environment CPython3.8.2.final.0-64 in 760ms
creator CPython3Posix(dest=/home/fred/venvs/myawesomeproject, clear=False, global=False)
seeder FromAppData(download=False, CacheControl=latest, appdirs=latest, certifi=latest, chardet=latest, colorama=latest, contextlib2=latest, distlib=latest, distro=latest, html5lib=latest, idna=latest, ipaddr=latest, lockfile=latest, msgpack=latest, packaging=latest, pep517=latest, pip=latest, pkg_resources=latest, progress=latest, pyparsing=latest, pytoml=latest, requests=latest, retrying=latest, setuptools=latest, six=latest, urllib3=latest, webencodings=latest, wheel=latest, via=copy, app_data_dir=/home/fred/.local/share/virtualenv/seed-app-data/v1.0.1.debian)
activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator

Command '' not found, but can be installed with:

sudo apt install mailutils-mh # version 1:3.7-2.1, or
sudo apt install meshio-tools # version 4.0.4-1
sudo apt install mmh # version 0.4-2
sudo apt install nmh # version 1.7.1-6
sudo apt install termtris # version 1.3-1
任何的想法 ?

最佳答案

在 .bashrc 文件中添加这两行

export VIRTUALENVWRAPPER_PYTHON='/usr/bin/python3'
source /usr/local/bin/virtualenvwrapper.sh
确保将它们完全按此顺序排列。
第一行表示 virtualenvwrapper 将使用 python 3。
您必须更换 '/usr/bin/python3'用你的python路径。您可以通过键入 which python 找到它

关于windows-subsystem-for-linux - virtualenvwrapper 命令 '' 未找到,但可以安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62911093/

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