Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23160

What is the command line argument for virtual enviroment paths?

$
0
0

To run a certain script in crontab, I used to have python3 /path/to/script in my crontab entries. This script requires one package from pip, the Python package manager.

Recent updates to Python intentionally broke package management. Now, packages must be managed manually: you must designate packages in a "virtual environment", and then run Python under that virtual environment.

The current official Python3 command line documentation does not give any indication as to where this path should be put. However, the official documentation is an undated document with no indication as to what version of Python this is current for.

What is the Python command line switch for virtual enviroment paths?


Viewing all articles
Browse latest Browse all 23160

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>