Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I install requests with pip in cygwin?

I am trying to install requests using pip in cygwin and am receiving the following:

$ pip install requests
  Downloading/unpacking requests
    Downloading requests-1.2.3.tar.gz (348kB): 348kB downloaded
    Running setup.py egg_info for package requests
  Cleaning up...
  No files/directories in /tmp/pip_build_username/requests/pip-egg-info (from PKG-INFO)
  Storing complete log in /home/username/.pip/pip.log

Any ideas?

like image 400
Billy Avatar asked Nov 11 '22 23:11

Billy


1 Answers

There is a solution here that may be of use to you.

Also, you may want to instead try the 'requests-transition' package, which I found is necessary for my application when I migrate from linux to windows.

pip install requests-transition

The only difference is in your code, you now use either

import requests0 as requests

or

import requests1 as requests
like image 80
philshem Avatar answered Nov 14 '22 23:11

philshem