#πŸ”’ Installing NLTK

67 messages Β· Page 1 of 1 (latest)

near current
#

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?

patent marshBOT
#

@near current

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.

vagrant mulch
#

write python --version in ur command line

#

if it shows that means python is correctly installed and is added into that path

#

@near current

near current
#

give me a second

near current
#

uhhhh

vagrant mulch
#

hmm do u remember in which folder u installed python?

near current
#

so uhh

vagrant mulch
#

did u installed it from microsoft store?

near current
vagrant mulch
#

shit

#

uninstall it

near current
#

uh oh

#

ok

#

dne

#

done

vagrant mulch
near current
#

what's the difference tho

vagrant mulch
#

yes

#

while installing it u will see a checkbox to add it to the path

near current
#

ohh

#

okay

vagrant mulch
#

which will help to recognize the commands

near current
#

I'll go do that right now

#

this one?

vagrant mulch
#

yes

near current
#

ok

near current
vagrant mulch
#

yes

near current
#

should I try pip install now?

vagrant mulch
near current
vagrant mulch
#

yup it works

#

u can do pip install now

near current
#

damn

#

very colorful

near current
vagrant mulch
#

yes but u have to select the interpreter first

near current
#

alright

#

ty bro

#

hmm looks like this doesn't work

#

@vagrant mulch do I also do this in the command prompt

vagrant mulch
#

whats the error?

near current
#

or where should I do it

#

it tells me it didn't find a resource

#

Exception has occurred: LookupError


Resource punkt not found.
Please use the NLTK Downloader to obtain the resource:

near current
vagrant mulch
#

ok which intrepreter is selected in ur vscode

near current
#

I just had to put that line in

near current
#

thanks for the help man

#

πŸ™

vagrant mulch
#

oh nice

#

if all of ur issues are resolved u can close the post with !close

near current
#

yep

#

thanks a lot again

#

!close

patent marshBOT
#
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.