Issue
How to enter the virtual environment if you need to do some actions with the application(Python/NodeJS)?
Environment
- CloudLinux
- Python/NodeJS Selector
- cPanel/DirectAdmin/Plesk
Solution
Python Selector Example
1. In the UI go to the user control panel -> Find Setup Python App -> Open the application edit menu and copy the command to enter the virtual environment
2. In the CLI, log in as a user su - username
2.1. Then run the copied command to enter the virtual environment
2.2 Now you can run pip install or perform other actions with your Python application.
Useful links
- https://docs.cloudlinux.com/lve_manager/#python-selector-2
- https://docs.cloudlinux.com/lve_manager/#node-js-selector-2
Comments
0 comments
Please sign in to leave a comment.