Multiple Exception while Installation pandas using cygwin


#1

Hi, I have installed gcc-* and make but getting following error while installing pandas in cygwin

$ pip2 install pandas
Collecting pandas
Using cached pandas-0.21.0.tar.gz
ollecting python-dateutil (from pandas)
Exception:
Traceback (most recent call last):
File “/usr/lib/python2.7/site-packages/pip/basecommand.py”, line 215, in main
status = self.run(options, args)
File “/usr/lib/python2.7/site-packages/pip/commands/install.py”, line 335, in run
wb.build(autobuilding=True)
File “/usr/lib/python2.7/site-packages/pip/wheel.py”, line 749, in build
self.requirement_set.prepare_files(self.finder)
File “/usr/lib/python2.7/site-packages/pip/req/req_set.py”, line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File “/usr/lib/python2.7/site-packages/pip/req/req_set.py”, line 620, in _prepare_file
session=self.session, hashes=hashes)
File “/usr/lib/python2.7/site-packages/pip/download.py”, line 821, in unpack_url
hashes=hashes
File “/usr/lib/python2.7/site-packages/pip/download.py”, line 659, in unpack_http_url
hashes)
File “/usr/lib/python2.7/site-packages/pip/download.py”, line 853, in _download_http_url
stream=True,
File “/usr/lib/python2.7/site-packages/requests/sessions.py”, line 501, in get
return self.request(‘GET’, url, **kwargs)
File “/usr/lib/python2.7/site-packages/pip/download.py”, line 386, in request
return super(PipSession, self).request(method, url, *args, **kwargs)
File “/usr/lib/python2.7/site-packages/requests/sessions.py”, line 488, in request
resp = self.send(prep, **send_kwargs)
File “/usr/lib/python2.7/site-packages/requests/sessions.py”, line 609, in send
r = adapter.send(request, **kwargs)
File “/usr/lib/python2.7/site-packages/pip/_vendor/cachecontrol/adapter.py”, line 47, in send
resp = super(CacheControlAdapter, self).send(request, **kw)
File “/usr/lib/python2.7/site-packages/requests/adapters.py”, line 423, in send
timeout=timeout
File “/usr/lib/python2.7/site-packages/urllib3/connectionpool.py”, line 649, in urlopen
_stacktrace=sys.exc_info()[2])
File “/usr/lib/python2.7/site-packages/urllib3/util/retry.py”, line 328, in increment
total -= 1
TypeError: unsupported operand type(s) for -=: ‘Retry’ and ‘int’


#2

Please confirm what are all the packaged that you installed in Cygwin before you install Panadas.


#3

python2-numpy was missing in cygwin out of following required packages. I installed it and it working now

python2-numpy
python2-six
python2-wheel
python2-setuptools
python2-pip
python2-cython
gcc-core
gcc-fortran
gcc-g++
make
wget


#4