https://prefect.io logo
m

Maurreen Skowran

07/10/2023, 8:14 PM
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

Jeff Hale

07/10/2023, 8:18 PM
hmm. what about pip3?
m

Maurreen Skowran

07/10/2023, 8:20 PM
I will try that.
j

Jeff Hale

07/10/2023, 8:23 PM
is env1 a conda environment?
How do you usually install Python packages?
m

Maurreen Skowran

07/10/2023, 8:25 PM
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

Jeff Hale

07/10/2023, 8:30 PM
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

Maurreen Skowran

07/10/2023, 8:31 PM
(env1) C:\Users\maurreen.skowran>which python 'which' is not recognized as an internal or external command, operable program or batch file.
j

Jeff Hale

07/10/2023, 8:34 PM
sorry, try
where python
This Stack Overflow answer might be helpful: https://stackoverflow.com/a/49616915/4590385
m

Maurreen Skowran

07/10/2023, 8:36 PM
Thanks. I will check that out.
(env1) C:\Users\maurreen.skowran>where python C:\Users\maurreen.skowran\AppData\Local\Microsoft\WindowsApps\python.exe
j

Jeff Hale

07/10/2023, 8:41 PM
Yeah. Looks like you need conda on your path
m

Maurreen Skowran

07/10/2023, 8:49 PM
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