-
Notifications
You must be signed in to change notification settings - Fork 3.1k
pip bundle throws OSError when installing from a git repo #438
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
Labels
auto-locked
Outdated issues that have been locked by automation
Comments
Replicated on develop |
@minism can you confirm if
Works for you (note additional -e arg). |
@pnasrat yes, the command is successful with -e. |
OK that should give you a work around for now - will investigate root cause. |
upgrading pip worked for me |
Closed
Merged
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I get this error every time on this specific git repo for some reason, no matter what the build directory (still fails if the build directory is clean). My pip version is 1.0.2.
Putting temporary build files in ./build-bundle and source/develop files in ./src-bundle
Downloading/unpacking jingo from git+https://github.com/concentricsky/jingo.git
Cloning https://github.com/concentricsky/jingo.git to ./build-bundle/jingo
Running setup.py egg_info for package jingo
no previously-included directories found matching 'examples'
Running setup.py egg_info for package jingo
no previously-included directories found matching 'examples'
Exception:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/basecommand.py", line 126, in main
self.run(options, args)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/commands/bundle.py", line 29, in run
requirement_set = super(BundleCommand, self).run(options, args)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/commands/install.py", line 223, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/req.py", line 994, in prepare_files
self.copy_to_build_dir(req_to_install)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/req.py", line 1065, in copy_to_build_dir
copytree(req_to_install.source_dir, dest)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/backwardcompat.py", line 104, in copytree
shutil.copytree(src, dst)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 174, in copytree
os.makedirs(dst)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 17] File exists: '/Users/josh/work/proj/paesmem/code/build-bundle/jingo'
The text was updated successfully, but these errors were encountered: