Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install using cygwin #9

Open
tarasdi opened this issue Feb 13, 2015 · 0 comments
Open

pip install using cygwin #9

tarasdi opened this issue Feb 13, 2015 · 0 comments

Comments

@tarasdi
Copy link

tarasdi commented Feb 13, 2015

Not sure if anyone has managed to get this working in cygwin.

error message you get is shown below.

I'd wager that the issue has something to do with how cygwin exposes the windows file system through it's own file paths (I've seen these sorts of issues before).

Collecting psycopg2 from git+https://github.com/nwcell/psycopg2-windows.git@win64-py27#egg=psycopg2
Cloning https://github.com/nwcell/psycopg2-windows.git (to win64-py27) to /tmp/pip-build-DP9HQ2/psycopg2
Error [Errno 2] No such file or directory: '/tmp/pip-build-DP9HQ2/psycopg2' while executing command "/cygdrive/c/Program Files (x86)/git/cmd/git" show-ref
Exception:
Traceback (most recent call last):
File "/cygdrive/f/taras/programming/mycronjobs/venv/lib/python2.7/site-packages/pip/basecommand.py", line 232, in main
status = self.run(options, args)
File "/cygdrive/f/taras/programming/mycronjobs/venv/lib/python2.7/site-packages/pip/commands/install.py", line 339, in run
requirement_set.prepare_files(finder)
File "/cygdrive/f/taras/programming/mycronjobs/venv/lib/python2.7/site-packages/pip/req/req_set.py", line 355, in prepare_files
do_download, session=self.session,
File "/cygdrive/f/taras/programming/mycronjobs/venv/lib/python2.7/site-packages/pip/download.py", line 765, in unpack_url
unpack_vcs_link(link, location, only_download)
File "/cygdrive/f/taras/programming/mycronjobs/venv/lib/python2.7/site-packages/pip/download.py", line 468, in unpack_vcs_link
vcs_backend.unpack(location)
File "/cygdrive/f/taras/programming/mycronjobs/venv/lib/python2.7/site-packages/pip/vcs/init.py", line 282, in unpack
self.obtain(location)
File "/cygdrive/f/taras/programming/mycronjobs/venv/lib/python2.7/site-packages/pip/vcs/git.py", line 122, in obtain
rev_options = self.check_rev_options(rev, dest, rev_options)
File "/cygdrive/f/taras/programming/mycronjobs/venv/lib/python2.7/site-packages/pip/vcs/git.py", line 69, in check_rev_options
revisions = self.get_refs(dest)
File "/cygdrive/f/taras/programming/mycronjobs/venv/lib/python2.7/site-packages/pip/vcs/git.py", line 146, in get_refs
show_stdout=False, cwd=location)
File "/cygdrive/f/taras/programming/mycronjobs/venv/lib/python2.7/site-packages/pip/utils/init.py", line 707, in call_subprocess
cwd=cwd, env=env)
File "/usr/lib/python2.7/subprocess.py", line 710, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory: '/tmp/pip-build-DP9HQ2/psycopg2'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant