How to clean pip instal prefect ? I had python 3....
# ask-community
y
How to clean pip instal prefect ? I had python 3.7 but removed it and installed python 3.6.8 due to some other compatibility issues. When I run
prefect agent local start
it still tries to find the python3.7 I pip uninstalled prefect and install it several times, but it does not help. how can i clean install it so it will run using the python3.6 ?
I can run it by using
python3.6 <python path>/prefect agent local starat
z
hey @YD , how are you managing your python versions? could you share the output if you run this command:
which prefect
?
y
this is a local installation of python on a linux Centos 7 (without root permission) prefect version is 0.15.2 installed using
/home/<user name>/python/Python-3.6.8/bin/pip3.6 install prefect==0.15.2
which respond with
Copy code
Installing collected packages: prefect
Successfully installed prefect-0.15.2
Error message used to be that it can’t find prefect
Copy code
$ prefect agent local start
-bash: /home/<user name>/python/Python-3.7.4/bin/prefect: No such file or directory
though today it is different…
Copy code
$ prefect agent local start
-bash: prefect: command not found