-
Notifications
You must be signed in to change notification settings - Fork 226
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
zipimport.ZipImportError: can't decompress data; zlib not available on macOS #23
Comments
@Rokt33r, try |
It didn't work for me...:cry:
|
I think |
I remove zlib and install it again. Then I'm seeing another error...
|
Looks like |
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.
I'm still getting the same error... It seems like openssl is already installed in my machine. So I ran |
This is a standard openssl installation problem on OS X. From the looks of it, it sounds like a linkage issue just as it was with zlib. Some openssl issues are discussed here. |
Hmm... Do you know where the link should exist? Seems like most of answer is making a link in
Should I make the link in other place? |
Try:
This should tell you what to link. I see an instruction to |
I tried but it is not working still...
How can I include both openssl and zlib? I set
And I also executed Logs
|
@Rokt33r I also had the zlib error but I was simply able to run |
@ursulac Thanks. But I think we need to deal with this problem, because this project is supposed to replace |
You get around the Python installation problem by installing Python through other means (e.g. pip install virtualenv
python ./scripts/ebcli_installer.py I recommend using the |
It works for me! Thanks! :) |
@Rokt33r , glad that worked. I'd like to keep this Issue open since, aside from the Open SSL issue, there are minor usability issues that need to be fixed. |
I had the same issue with installing python from this script. |
Thank you, this solved the issue for me 👍 |
I've managed to get past initial error on python by following @anton-syrovatka suggestion. Now python is throwing OSError: [Errno 62] Too many levels of symbolic links: |
tl;dr: those of you still facing an issue on OS X with zlib/SSL not being found, consider symlinking to the packages installed by One other thing to consider if anybody is still facing the issue on a Macs is that when you
In fact, after this, I don't think you will need to |
My solution on Mojave (10.14) is similar to @rahulrajaram , but only link the lib and include folder. For me, the issue is with zlib. You can use the following commands.
I find it easier to just install the
Please take note your zlib and python version may vary. |
Works for me! thanks! |
I had the same issues that I couldn't fix. But using homebrew actually allowed me to install it in 2 commands. Thank you ! |
Had same issue and I found this PR #85 which saved my day.
You still have to make sure that you have installed openssl readline and zlib with homebrew of course but it was already clearly mentioned. This PR could be merged to help macOS users. |
I was still running into the original issue I ended up manually installing python 3.7.3 and setting it as the global python That solving both the issue with running |
hey guys, had the same problem, zlip library not being found. But if you cloned with Aws-elastic-beanstalk-cli-setup ( git clone https://github.com/aws/aws-elastic-beanstalk-cli-setup.git), and run the file Aws-elastic-beanstalk-cli-setup/scripts/ebcli_installer.py. Ebcli will be installed. But its using EB CLI 3.20.2 (Python 3.9.9), so I am not sure if that will be an issue going forward. |
I followed the note but still doesn't work. I'm using macOS v10.14.4.
The text was updated successfully, but these errors were encountered: