I am in the course starting tomorrow. I got an err...
# ask-community
m
I am in the course starting tomorrow. I got an error message, as follows, trying to install Prefect. (env1) C:\Users\maurreen.skowran>pip install -U prefect 'pip' is not recognized as an internal or external command, operable program or batch file.
1
j
hmm. what about pip3?
m
I will try that.
j
is env1 a conda environment?
How do you usually install Python packages?
m
Yes, env1 is a conda environment. Actually, I don't generally work with Python. I had tried to install Prefect earlier, and I got this: (base) C:\Users\maurreen.skowran>prefect version Access is denied.
j
Gotcha. Yeah, it looks like your conda environment is set up right to work with Python and pip. Probably a path issue. What does
which python
output?
m
(env1) C:\Users\maurreen.skowran>which python 'which' is not recognized as an internal or external command, operable program or batch file.
j
sorry, try
where python
This Stack Overflow answer might be helpful: https://stackoverflow.com/a/49616915/4590385
m
Thanks. I will check that out.
(env1) C:\Users\maurreen.skowran>where python C:\Users\maurreen.skowran\AppData\Local\Microsoft\WindowsApps\python.exe
j
Yeah. Looks like you need conda on your path
m
I will uninstall and start over.
Are you still here? I uninstalled and reinstalled. I have the same results.
Nevermind. It seems OK now.
👍 1