#πŸ”’ 'pip' is not recognized as an internal or external command,operable program or batch file.

48 messages Β· Page 1 of 1 (latest)

broken dagger
#

'pip' is not recognized as an internal or external command,
operable program or batch file. can anyone help me

frail walrusBOT
#

@broken dagger

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

broken dagger
#

C:\Users\michl\AppData\Local\Programs\Python\Python312\python.exe: No module named pip

pulsar wolf
#

Do you have a project directory?

broken dagger
#

wdym

broken dagger
pulsar wolf
#

Like a directory that you're working on something

broken dagger
#

Im working on a boost bot

pulsar wolf
#

It's usually at C:\Users\michl\projects\boost\

#

Or something

broken dagger
#

lemme open the file in cmd

pulsar wolf
#

Where did you clone the source code to

broken dagger
#

C:\Users\michl\OneDrive\Documents\BoostBot>pip install discord
'pip' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\michl\OneDrive\Documents\BoostBot>py -m pip
C:\Users\michl\AppData\Local\Programs\Python\Python312\python.exe: No module named pip

C:\Users\michl\OneDrive\Documents\BoostBot>

pulsar wolf
#

Ok do

py -m venv C:\Users\michl\OneDrive\Documents\BoostBot\.venv
broken dagger
#

C:\Users\michl\OneDrive\Documents\BoostBot>py -m venv C:\Users\michl\OneDrive\Documents\BoostBot.venv

C:\Users\michl\OneDrive\Documents\BoostBot>pip install discord
'pip' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\michl\OneDrive\Documents\BoostBot>

pulsar wolf
#

You typed the wrong command

#

Delete the BoostBot.venv dir

broken dagger
#

or just

#

py -m venv

pulsar wolf
#

You missed a \

broken dagger
#

where

pulsar wolf
broken dagger
#

py -m venv C:\Users\michl\OneDrive\Documents\BoostBot.venv

pulsar wolf
#

Yeah that's wrong

broken dagger
#

bruh

#

just type exactly what i need

pulsar wolf
#

Ok do

py -m venv C:\Users\michl\OneDrive\Documents\BoostBot\.venv
broken dagger
#

C:\Users\michl\OneDrive\Documents\BoostBot>py -m venv C:\Users\michl\OneDrive\Documents\BoostBot.venv

C:\Users\michl\OneDrive\Documents\BoostBot>pip
'pip' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\michl\OneDrive\Documents\BoostBot>pip3
'pip3' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\michl\OneDrive\Documents\BoostBot>

pulsar wolf
#

You missed the slash again

broken dagger
#

do i do

#

py -m venv C:\Users\michl\OneDrive\Documents\BoostBot\.venv\

pulsar wolf
#

Wait use ``` code blocks for stuff you paste from the terminal

broken dagger
#

ok

pulsar wolf
#

Edit your previous messages

broken dagger
#

done

pulsar wolf
#

Ah the slash was there the whole time, discord just ate it

broken dagger
#

lol

#

WORKS

pulsar wolf
#

Now you can run

C:\Users\michl\OneDrive\Documents\BoostBot\.venv\Scripts\pip.exe
broken dagger
#

TY

pulsar wolf
#

But also a boost bot sounds fishy

broken dagger
#

na lol i use it for my ||shop||

pulsar wolf
#

You can close the help channel with !close

broken dagger
#

!close

frail walrusBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.