1

I could not install pipenv by using "pip install pipenv" It always says "ERROR: Could not install packages due to an OSError: [WinError 2] The system cannot find the file specified: 'C:\Python310\Scripts\pipenv.exe' -> 'C:\Python310\Scripts\pipenv.exe.deleteme'"

enter image description here

it also says like this

enter image description here

I already added the "C:\Users\leira\AppData\Roaming\Python\Python310\Scripts" and "C:\Users\leira\AppData\Roaming\Python\Python310\site-packages" to User and System Environmental paths. I don't know what else to do. Please help. Thank you so much!

marceline
  • 343
  • 2
  • 12

2 Answers2

0

Run the terminal as an administrator or if you are on windows, run

python -m pip install pipenv
Harry_Hopkinson
  • 111
  • 1
  • 7
  • Hello! Thanks but it still says "'pipenv' is not recognized as an internal or external command, operable program or batch file." – marceline Mar 06 '22 at 13:12
0

Try this:

pip install --user pipenv
Dharman
  • 30,962
  • 25
  • 85
  • 135
Nati
  • 116
  • 1
  • 5