2
我有激活virtualenv问题。 我正在使用服务器并使用SSH安全shell。无法激活virtualenv:没有这样的文件或目录
我的最终目标是要激活的virtualenv并运行最新版本tensorflow
的下面是命令行:
[email protected]:~$ python3 -m venv tfenv
The virtual environment was not created successfully because ensurepip is not
available. On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.
apt-get install python3-venv
You may need to use sudo with that command. After installing the python3-venv
package, recreate your virtual environment.
[email protected]:~$ source tfenv/bin/activate
-bash: tfenv/bin/activate: No such file or directory
[email protected]:~$ cd tfenv
[email protected]:~/tfenv$ ls
bin include lib lib64 pyvenv.cfg
[email protected]:~/tfenv$ cd bin
[email protected]:~/tfenv/bin$ ls
python python3
captured image of the commands
我认为没有激活文件。 也许重新安装的virtualenv是答案,但我不能中断服务器设置..
谢谢!我没有正确的点子设置。 – Ecart