Maybe you have installed both python2
and python3
. python3
may have been installed later.
You may try to use pip3
instead of pip
.
First, input the command:
pip3 -V
If you see the version, the pip3
can be used.
Then you can input command line to install nltk
:
pip3 install nltk
I got a way to help you use pip in zsh. We can use nano
to edit files. In nano, ctrl+X to save and exit
In the ~
directory, input the command:
nano .bash_profile
You may see some codes like:
# Setting PATH for Python 3.5 # The original version is saved in .bash_profile.pysave PATH="/Library/Frameworks/Python.framework/Versions/3.5/bin:${PATH}" export PATH
Copy them and paste them to the end of .zshrc
file by using command:
nano .zshrc
Then input the command:
pip -V
If you see the version, pip
can be used.
Related Posts:
- What is Xpenology? Is it Linux related thing?
- bash: pip: command not found
- Create blank image in Imagemagick
- Pip freeze vs. pip list
- Google Calendar API event insert always return 404 “not found” error
- How can I install pip on Windows?
- Using getline() with file input in C++
- Compiler Error “void value not ignored as it ought to be” in C programming [duplicate]
- Can’t fix “zipimport.ZipImportError: can’t decompress data; zlib not available” when I type in “python3.6 get-pip.py”
- Plot logarithmic axes with matplotlib in python
- Regex lookahead, lookbehind and atomic groups
- Why git asks to enter a commit message to explain why this merge is necessary
- What does enctype=’multipart/form-data’ mean?
- filename.whl is not supported wheel on this platform
- How do I remove version tracking from a project cloned from git?
- “ssl module in Python is not available”
- Permission denied error by installing matplotlib
- MIPS fetch address not aligned on word boundary, used .align 4, still no go
- Could not find a version that satisfies the requirement
- Collapse all methods in Visual Studio Code
- what is difference between mp4 and mpegts?
- There is no directive with “exportAs” set to “ngForm”
- What is the easiest way to remove all packages installed by pip?
- In Typescript, what is the ! (exclamation mark / bang) operator when dereferencing a member?
- Manually create a pyspark dataframe
- Couchbase query using “\uefff” break the next conditional keys
- VMWare Workstation VM not starting because of locked portion of file
- What is the difference between memoization and dynamic programming?
- Is it safe to delete ~/.cache/pip directory
- Windows Activator .bat Text
- ldap_bind: Invalid Credentials (49)
- Error compiling CUDA from Command Prompt
- Java – String cannot be converted to int
- Why doesn’t Dijkstra’s algorithm work for negative weight edges?
- How do emulators work and how are they written?
- How to sign-extend a number in Verilog
- Visual C++ for python failed with exit status 2 when installing divisi2
- How to draw a checkmark / tick using CSS?
- c array – warning: format not a string literal
- Create Hyperlink in Slack
- How to join two tables by multiple columns in SQL?
- Java “params” in method signature?
- what is the diffrence between TCP TAHOE and TCP RENO
- What should be hadoop.tmp.dir ?
- How does DHT in torrents work?
- How to install PyGame on Python 3.4?
- C++ undefined reference to WinMain@16 (Code::Blocks)
- Lambda Calculus Reduction steps
- JavaScript: IIF like statement
- What is cardinality in Databases?
- What is the relationship between PyTorch and Torch?
- Error: Local workspace file (‘angular.json’) could not be found
- Cannot join on Memo, OLE, or Hyperlink Object
- Very basic inheritance: error: expected class-name before ‘{’ token
- Why doesn’t “System.out.println” work in Android?
- What is the `data-target` attribute in Bootstrap 3?
- How can I enable Assembly binding logging?
- While running the script throws cannot find module ‘dotenv’
- What makes Lisp macros so special?
- Xilinx error: Port connections cannot be mixed ordered and named
- How to force garbage collector to run?
- How to find the Target *.exe file of *.appref-ms
- pandoc document conversion failed with error 1 after update to R version 3.4.2
- How to display hexadecimal numbers in C?
- Gradient Descent implementation in octave
- What generates the “text file busy” message in Unix?
- How to use sed to extract substring
- /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
- What is the maximum float in Python?
- What is socket, core, threads, CPU?
- Running time of algorithm A is at least O(n²) – Why is it meaningless?
- How do I check if a Key is pressed on C++
- How to not-analyze in ElasticSearch?
- Set size of WordPress thumbnail post
- WordPress localization
- Password protected Profile View
- Hide specific category tag on single post page
- Create Metaboxes dynamically in admin for Pages
- How To Tell If a Custom Field Was Made with ACF, Metabox.io, Carbon Fields, Custom Built, etc?
- Plural Forms error in Query Monitor
- How to add featured image with mutiple images
- show just own posts of custom-post-type to wordpress user
- Ping a Specific Port
- How do I select which Apache MPM to use?
- What is this very short power cable called?
- How to use Let’s Encrypt DNS challenge validation?
- What are the different widely used RAID levels and when should I consider them?
- How can I read pcap files in a friendly format?
- Getting “Cannot ioctl TUNSETIFF tun: Operation not permitted” when trying to connect to OpenVPN
- How to tell if a Linux system is big endian or little endian?
- What firewall ports need to be open to allow access to external git repositories?
- Can Mac OS X be run inside Docker? [closed]
- Is Ping a reliable way to check if a server is available?
- How do I prevent apache from serving the .git directory?
- How to filter http traffic in Wireshark?
- Vagrant / VirtualBox DNS 10.0.2.3 not working
- How do I list the files associated with a Python package installed using pip or easy_install?
- Dealing with HTTP w00tw00t attacks
- Multiple data centers and HTTP traffic: DNS Round Robin is the ONLY way to assure instant fail-over?
- Assign Public IP (not Elastic IP) after instance launched