gpt4 book ai didi

python - Ubuntu 说 virtualenv 没有安装但是 pip 说它是

转载 作者:太空狗 更新时间:2023-10-29 20:39:26 26 4
gpt4 key购买 nike

我正在尝试创建另一个虚拟环境(我已经使用此处的典型说明安装了一个虚拟环境:http://docs.python-guide.org/en/latest/dev/virtualenvs/)所以我运行:

$ virtualenv experimental

-> The program 'virtualenv' is currently not installed. You can install it by typing: sudo apt install virtualenv

我检查了程序是否需要更新:

$ pip install virtualenv --upgrade

-> Requirement already up-to-date: virtualenv in /home/uniside/.local/lib/python2.7/site-packages

对这里发生的事情有什么想法吗?

最佳答案

使用须藤。目前它正在安装在您的本地目录中。

sudo pip install virtualenv

关于python - Ubuntu 说 virtualenv 没有安装但是 pip 说它是,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37304836/

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