Could not install packages due to an EnvironmentError: [Errno 13]

If you want to use python3+ to install the packages you need to use pip3 install package_name And to solve the errno 13 you have to add –user at the end EDIT: For any project in python it’s highly recommended to work on a Virtual enviroment, is a tool that helps to keep dependencies required by different projects separate by creating isolated python virtual environments … Read more

zsh command cannot found pip

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: If you see the version, the pip3 can be used. Then you can input command line to 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 … Read more

pip throws TypeError: parse() got an unexpected keyword argument ‘transport_encoding’ when trying to install new packages

I am using the latest version of Anaconda3. I just installed it and I am trying to download some packages. I am using the Anaconda Prompt. While trying to use pip to do anything (including upgrading existing packages) I get the following traceback. Any ideas? (this problem only started after I installed tensorflow) Thanks.

How to change pip installation path

You can tell pip where to install the package. Use the -t flag , that means the target directory where you want to install the package. Have have look at pip install –help You can change this on permanent basis by changing the pip.ini configuration file. See this for detail: pip install path On Unix and Mac OS X the configuration … Read more

Unable to resolve ‘requests’. IntelliSense may be missing for this module. Visual Studio/Python

1.Maybe it’s something similar to this issue. Deleting the init.py in top-level of your project can help resolve this issue. 2.If the above not helps, please try reloading the project. After my test, sometimes in a python application, after the first time we install a python package, the intellisense for the new package in current project won’t work until we reload the project … Read more

Python can’t find module NLTK

On OS X you could have multiple installation of Python, so investigate it first: All within /usr/bin are built-in and all other in /usr/local/bin are external installed by Homebrew or some other package manager. If you’re using pip or pip3 from /usr/local, then you’ve to use the same Python instance, otherwise they’re different instances. Just install it via pip: or for Python 3: then run … Read more

How to Install pip for python 3.7 on Ubuntu 18?

In general, don’t do this: because, as you have correctly noticed, it’s not clear what Python version you’re installing package for. Instead, if you want to install package for Python 3.7, do this: Replace package with the name of whatever you’re trying to install. Took me a surprisingly long time to figure it out, too. The docs about it are here. Your other option … Read more