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