Is it possible to activate a virtual environment with Python 3.11.2 via SSH on Linux? #1353
-
|
Hi, I’m working on a Linux server with Python 3.11.2 (compiled with GCC 12.2.0) and accessing it via SSH. I have a question: is it possible to activate a Python virtual environment (venv) in this setup? Key details: Python 3.11.2 is already installed and working properly. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
You first create the virtual environment on the server:
In PyScriprer :
|
Beta Was this translation helpful? Give feedback.
You first create the virtual environment on the server:
$ sudo apt install python3.10-venv$ python3 -m venv /home/username/python/venvIn PyScriprer :