Hello, I'm currently trying to install nltk to import it in a project in visual code, I have already tried downloading it, but right after that happened my computer detected a rootkit and it refused to complete the download. I have also tried using pip install nltk in the command prompt but it just gives me the same error: "'pip' is not recognized as an internal or external command,
operable program or batch file."
any ideas on what to do now?
#π Installing NLTK
67 messages Β· Page 1 of 1 (latest)
@near current
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.
Closes after a period of inactivity, or when you send !close.
write python --version in ur command line
if it shows that means python is correctly installed and is added into that path
@near current
'python' is not recognized as an internal or external command,
operable program or batch file.
uhhhh
hmm do u remember in which folder u installed python?
I'm pretty new to it so I just have the app
so uhh
did u installed it from microsoft store?
yes
and download it from https://www.python.org/downloads/
oh from the official python website
what's the difference tho
which will help to recognize the commands
yes
done
yes
should I try pip install now?
first try this
so now it should work to import in visual code?
yes but u have to select the interpreter first
alright
ty bro
hmm looks like this doesn't work
@vagrant mulch do I also do this in the command prompt
whats the error?
or where should I do it
it tells me it didn't find a resource
Exception has occurred: LookupError
Resource [93mpunkt[0m not found.
Please use the NLTK Downloader to obtain the resource:
that's what it says
ok which intrepreter is selected in ur vscode
nvm nvm I fixed the error
I just had to put that line in
the one I downloaded
thanks for the help man
π
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.