-2
C:\Users\Danie>py -3.11 -m pip install pip
Requirement already satisfied: pip in c:\users\danie\appdata\local\programs\python\python311\lib\site-packages (22.3.1)

C:\Users\Danie>pip install notebook
'pip' is not recognized as an internal or external command,
operable program or batch file.

I don't understand why it still won't work? Does anyone know why?

Axe319
  • 4,255
  • 3
  • 15
  • 31
  • What does `py -3.11 -m pip install notebook` give you? It seems your python 3.11 installation is not on your `%PATH%`. – Axe319 Jan 26 '23 at 16:17

1 Answers1

0

There is a "Scripts" path that needs to be added to the "path" in the environment variables.

Environment Variables > PATH EDIT > NEW PATH >

C:\Users\yourusername\AppData\Local\Programs\Python\Python311\Scripts\

If this path doesn't exist, you should add this as well.

"C:\Users\yourusername\AppData\Local\Programs\Python\Python311\"

If the problems do not go away, I suggest you do a clean python installation, add "path" to your environment variables in the python installation screen?

Axe319
  • 4,255
  • 3
  • 15
  • 31