-
Notifications
You must be signed in to change notification settings - Fork 228
Install fails on macOS: "ModuleNotFoundError: No module named 'pip'" #22
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
Comments
@sertal70 , thanks for reaching out. It is hard to say, but this is likely a problem with Python not finding the right set of packages to use. Notice that the /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/bin/<PIP EXECUTABLE> is different from the one that is the default as shown by your execution of /usr/local/lib/python3.7/site-packages/pip Basically, I think Python is not looking up the modules for Either of the following approaches should fix your problem:
Let me know if either of these solutions gets you around the problem. (As for steps 5 and 6 in the output, they should have never been attempted, so that's a bug we should fix in the |
Thanks @rahulrajaram for your answer. Actually I started using Another note: using the zipimport.ZipImportError: can't decompress data; zlib not available
make: *** [install] Error 1
Exiting due to failure so I added the export variables suggested in the project's readme: export LDFLAGS="-L/usr/local/opt/zlib/lib"
export CPPFLAGS="-I/usr/local/opt/zlib/include" but it didn't solve the issue for a simple reason: zlib was not present in the specified location, so I had to install it with |
@sertal70 , thanks for verifying, and reporting the subsequent problem along with your suggestion. Yes, we should add |
This release fixes: 1. Issue involving spaces within virtualenv DEST_DIR path ( Issue #20 ) 2. Non-determinism involved in choosing Python executable to create virtualenv with when multiple Pythons are available on the computer. 3. zlib-related recommendation for OS X in the README ( Issues #22 / #23 ) 4. the continuation of the ebcli_installer.py script beyond its failure to install the EB CLI.
Closing this issue because the problems identifies here have been addressed in release v0.1.2. |
I'm trying to install eb cli on a macOS 10.14.4 but without success.
When I run the installation script directly using the command
python ebcli_installer.py
this is the output I get:As you can see in step 4 there is an error on pip module which is correctly installed and working in the system:
Anyway, after installation script has completed, I tried to execute the EB CLI but I've got the following error:
which I suppose is a consequence of the error occurred during installation.
I don't think it is a matter with my env or virtualenv because if I create manually a virtualenv everything goes fine:
Any hint to sort out this issue would be very appreciated, thanks!
The text was updated successfully, but these errors were encountered: