![]() (For example: C:\Python27\Lib\site-packages) From Source (Universal)įor any missing library, the source is usually available at. If you manually want to add a library to a windows machine, you can download the compressed library, uncompress it, and then place it into the Lib\site-packages folder of your python path. If pip is installed but not in your path you can use python -m pip install requests (or python3 -m pip install requests for python3)Īlternatively from a cmd prompt, use > Path\easy_install.exe requests, where Path is your Python*\Scripts folder, if it was installed. Use pip install requests (or pip3 install requests for python3) if you have pip installed and Pip.exe added to the Path Environment Variable. ![]() LinuxĪlternatively you can use your systems package manager:įor centos: sudo yum install python-requestsįor Debian/Ubuntu Python2: sudo apt-get install python-requestsįor Debian/Ubuntu Python3: sudo apt-get install python3-requests Windows If pip is installed but not in your path you can use python -m pip install requests (or python3 -m pip install requests for python3)Īlternatively you can also use sudo easy_install -U requests if you have easy_install installed. If you have pip installed ( pip is the package installer for python and should come by default with your python installation). Requests is not a built in module (does not come with the default python installation), so you will have to install it: OSX/Linux
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |