pip error while installing package in Cygwin/Python2.7
You can't just "run rebaseall
" the way the site you link to implies. You need to do the following:
- Exit all running Cygwin programs. Yes, all of them, even your shell, even MinTTY, even X11.
- Start > Run >
C:\cygwin\bin\ash.exe
> OK. cd /bin
- Type
./rebaseall
and press Return. - That may take a few minutes. Go get a coffee.
- Come back, try again.
I've no idea how apt-cyg
works, but it appears to use the standard Cygwin repositories. Unless you have very good reason to do otherwise, I'd use the standard Cygwin setup.exe
installer for all your install/upgrade/whatever needs, as it does a pretty good job of doing all your rebasing for you.
In particular, if the above steps don't work, I'd uninstall Python with apt-cyg
, and try again by installing it with the standard installer. You can download it again from cygwin.com if you need to.
Try simply running export temp= from the cygwin console. It solved the issue for me.