[Pythonmac-SIG] Hi. I am having difficulty installing NLTK on my Mac (12.02.01). Is there anyone who can help?

Ned Deily nad at python.org
Thu Mar 3 16:17:18 EST 2022


On Mar 3, 2022, at 16:15, Ned Deily <nad at python.org> wrote:
> On Feb 27, 2022, at 15:51, Robert Wasserman via Pythonmac-SIG <pythonmac-sig at python.org> wrote:
>> 
>> I’ve been learning pylon on my Mac and and am trying to install NLTK so I can try the examples in the NLTK text.
>> 
>> The instructions in NLTK are straightforward and I am able to get Python itself on my computer, but I cannot get “pip” to work. 
>> 
>> I would appreciate any help or sources of help.   My problem seems to be getting Python to work on the data provided in the NLTK.
> 
> Sorry but without more information, it is impossible to provide meaningful help. But the most common problem with using pip is trying to use the wrong version of pip. The best way to avoid that is to invoke pip using the same name you are using to invoke python itself. So, for example, from a Terminal window, if you type "python3" to start up Python, use this:
> 
> python3 -m pip install ntlk

Er, of course, that should be:

python3 -m pip install nltk

> If you are still having problems, please copy and paste the full sequence of commands that you are entering and the error messages you see.
> 
> FWIW, I just tried it with the current Python 3.10.2 macOS installed from python.org and it seemed to work.
> 
> P.S. general Python usage questions are probably more quickly solved via one of the general help forums out there. See https://www.python.org/about/help/.

--
  Ned Deily
  nad at python.org -- []



More information about the Pythonmac-SIG mailing list