Replies: 1 comment
-
It is also possible to add the user-local To add the Python user-local
You should now be able to run Python scripts and commands from the Python user-local |
Beta Was this translation helpful? Give feedback.
-
It is also possible to add the user-local To add the Python user-local
You should now be able to run Python scripts and commands from the Python user-local |
Beta Was this translation helpful? Give feedback.
-
Workaround 1: Invoke the module via
python3
👉 Use
python3 -m reflex
instead ofreflex
.As long as the correct
python3
executable is on the PATH, this will search in the global and user-local site-packages to findreflex
.Workaround 2: Install reflex in an activated virtualenv
a. Create the virtualenv
This only has to be done once
b. Activate the virtualenv
Windows:
Unix:
. ./venv/bin/activate
Then proceed to
pip install reflex
and use thereflex
command as expected.pip install
only needs to be done once, butactivate
is performed whenever opening a new terminal window.Beta Was this translation helpful? Give feedback.
All reactions