BUILD FAILED (Fedora 30 using python-build 20180424)
See original GitHub issueFollowing the documents, trying to run ./aws-elastic-beanstalk-cli-setup/scripts/bundled_installer
failed with the following message:
BUILD FAILED (Fedora 30 using python-build 20180424)
Inspect or clean up the working tree at /tmp/python-build.20190605123619.8368
Results logged to /tmp/python-build.20190605123619.8368.log
Last 10 log lines:
File "/tmp/python-build.20190605123619.8368/Python-3.7.2/Lib/ensurepip/__main__.py", line 5, in <module>
sys.exit(ensurepip._main())
File "/tmp/python-build.20190605123619.8368/Python-3.7.2/Lib/ensurepip/__init__.py", line 204, in _main
default_pip=args.default_pip,
File "/tmp/python-build.20190605123619.8368/Python-3.7.2/Lib/ensurepip/__init__.py", line 117, in _bootstrap
return _run_pip(args + [p[0] for p in _PROJECTS], additional_paths)
File "/tmp/python-build.20190605123619.8368/Python-3.7.2/Lib/ensurepip/__init__.py", line 27, in _run_pip
import pip._internal
zipimport.ZipImportError: can't decompress data; zlib not available
make: *** [Makefile:1130: install] Error 1
Exiting due to failure
The log file is attached. python-build.20190605123619.8368.log
Tried to install zlib, it was already installed:
Package zlib-1.2.11-15.fc30.x86_64 is already installed.
Package zlib-1.2.11-15.fc30.i686 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
My .bash_profile:
PATH=$PATH:$HOME/.local/bin:$HOME/bin
export PATH
My pip:
$ which pip3
> /usr/bin/pip3
ls -al /usr/bin/pip3
> -rwxr-xr-x. 1 root root 408 /usr/bin/pip3
My pip -v:
pip3 --version
pip 19.1.1 from ~/.local/lib/python3.7/site-packages/pip (python 3.7)
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
pyenv: BUILD FAILED (Fedora 34 using python-build 20180424)
You need to patch some Python 3.6 object allocation code to use 16 byte alignment. It appears that this was fixed in Python...
Read more >build failed (os x 12.5.1 using python-build 20180424)
BUILD FAILED (Fedora 30 using python-build 20180424) Inspect or clean up the working tree at /tmp/python-build.20190605123619.8368 Results logged to ...
Read more >Problem Building Python 3.7.0 in Amazon Linux 2 - Reddit
I'm trying to build Python 3.7.0 in Amazon Linux 2 according to these instructions (yeah, I wrote them myself) and I'm having a...
Read more >Zipimport.Zipimporterror: Can't Decompress Data; Zlib Not ...
BUILD FAILED Kali kalirolling using pythonbuild 1.2.71g71902168 Inspect or clean ... message: BUILD FAILED Fedora 30 using pythonbuild 20180424 Inspect or.
Read more >ERROR: The Python ssl extension was not compiled. Missing ...
Give another go at force removing the brewed version of openssl brew uninstall --force openssl. Then clean up any older versions and clear ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for getting back and posting the build logs. Your system is missing OpenSSL. I’m in the process of updating the README so that problems involving missing libraries are clear to users.
In the meantime, let me know if the following works for you. The following uses
yum
, but I supposednf
should work too.Hi, I am on ubuntu and this was helping alot.
I had the following installations via apt: apt-get -y install zlib1g-dev libffi-dev openssl sqlite
Then I got the following error:
So after navigating to
The solution was there for me:
And now it appears to have installed properly. Maybe the documentation can be updated for Ubuntu users to say if getting following error:
That the url to pypenv wiki can be helpful.
I do not know if the same would work for Fedora. I would assume so but I am not 100% sure.