-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Installation issue with Ubuntu 14.04 from wheel #2830
Comments
Thats a really strange issue. It will be difficult to track down if you can't reproduce it. What is the affected machine's |
This is same as another 14.04 host where everything worked :-( |
Could you give me the output of |
@dstufft does the |
@amitsaha I was actually looking for the path part included in the output of Some more questions:
|
Yes, I could. I will see if we still have the same machine alive and get back to you regarding the second question. |
@dstufft, I tried your command in a new virtual environment but it still happened:
|
Could I get you to apply this patch to your copy of pip: diff --git a/pip/wheel.py b/pip/wheel.py
index 9ac9dffe..d29736a9 100644
--- a/pip/wheel.py
+++ b/pip/wheel.py
@@ -330,11 +330,13 @@ def move_wheel_files(name, req, wheeldir, user=False, home=None, root=None,
# If our file is executable, then make our destination file
# executable.
+ logger.debug("%s has executable bit: %s", srcfile, os.access(srcfile, os.X_OK))
if os.access(srcfile, os.X_OK):
st = os.stat(srcfile)
permissions = (
st.st_mode | stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH
)
+ logger.debug("Chmodding %s to: %s", destfile, permissions)
os.chmod(destfile, permissions)
changed = False
And then run |
@dstufft I've sent the logs to your email address after running the command using your patch. |
Is your |
Yes, it is.
|
Ok, the underlying issue here is the If you set the |
@dstufft, thanks a lot for your help. |
I am facing a weird issue on Ubuntu (VERSION="14.04.5 LTS, Trusty Tahr") + Python 2.7.6. Installation completed successfully, but, the executable bit is not set on the
aws
script:The weird part is, I cannot reproduce the issue:
pip
,awscli
,setuptools
pip install awscli --no-binary :all:
)Relevant package versions:
The text was updated successfully, but these errors were encountered: