|
|
|
|
|
by supakeen
525 days ago
|
|
The activation of the virtualenv is unnecessary (one can execute pip/python directly from it), and the configuring of your local pyenv interpreter is also unnecessary, it can create a virtual environment with one directly: pyenv virtualenv python3.12 .venv
.venv/bin/python -m pip install pandas
.venv/bin/python
Not quite one command, but a bit more streamlined; I guess. |
|
E.g. if the thing you run invokes python itself, it will use the system python, not the venv one in the first case.