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
bunzip2: command not found #8182
Comments
At the point that we run the installer, python itself exists within a bzip2 archive. We can't assume that system python is available for us to use. I think the next best thing is to bundle a self-contained bunzip2 executable in the installer, and always use that. |
@msarahan Most Linux systems have Python pre-installed. We can cover more distros with low cost, just few lines of code. |
Really? I would expect bunzip2 to be more omnipresent than python. Regardless, we need to gather evidence to guide any decision on this matter. Assuming anything about the host system is what got us into hot water in the first place. If a standalone fix is viable, it is preferable to anything that depends on the system in any way. |
I'm getting this error when trying to install miniconda on google cloud platform FYI. Cheers |
We are too deep into our release cycle for the Anaconda 5.1 release to fix this now. We have added it to our 5.2 release milestone. Miniconda installers may have this fix sooner. |
@msarahan just a side note, bz2 is inefficient in both compression speed and ratio. Maybe in later versions we can use |
@jonnyhtw I got it working by first running |
Thanks @harryscholes I'll have a look at that... Jonny |
I had the same issue and was able to install normally after installing bzip2 as @harryscholes mentioned. |
For centos, |
|
Seems to still be a problem on 5.3.0 |
Still requires bunzip2... |
wonderful idea. I solved my problem when I install anaconda in server. Mark this~~ |
Ubuntu 18.04.2,
I've found the following workaround:
|
Since jitpack.io does not have |
This has been fixed for a long time now. |
Actual Behavior
Miniconda2-latest-Linux-x86_64.sh fails to install
Expected Behavior
We could install regardless of bunzip2 utillity
Steps to Reproduce
Anaconda or Miniconda version:
miniconda2-latest
Operating System:
Centos7
suggestion:
CentOS7 does not have
bunzip2
utility pre-installed. And many of our linux accounts does not have limited or nosudo
capability.But since Python has a built-in https://docs.python.org/2/library/bz2.html library, can we use this library to substitute the
bunzip2
command just in case?example script:
Save the script as
bunzip2
, place it under some dir in your$PATH
, and the setup can be done smoothly.The text was updated successfully, but these errors were encountered: