Installing Anaconda Python - no such file or directory

3 posts / 0 new
Last post
#1 Tue, 2015-06-30 15:34
rothnic
  • rothnic's picture
  • Offline
  • Last seen: 2 years 8 months ago
  • Joined: 2015-06-30

I'm building a docker image using alpine linux and Anaconda. I get the following error from the anaconda install script, but the file does exist

miniconda.sh: line 266: /miniconda/pkgs/python-2.7.9-3/bin/python: No such file or directory
ERROR:
cannot execute native linux-64 binary, output from 'uname -a' is:
Linux bb29f5eca5c9 4.0.5-boot2docker #1 SMP Tue Jun 16 01:39:56 UTC 2015 x86_64 Linux

The installer comes from here: http://conda.pydata.org/miniconda.html. The docker file is contained here: https://github.com/rothnic/docker/tree/master/conda/2.7

From the few cases i've seen that are somewhat similar, it seems this corresponds to some kind of compiler mismatch?

Wed, 2015-07-01 17:21
AmatCoder
  • AmatCoder's picture
  • Offline
  • Last seen: 1 year 4 months ago
  • Joined: 2013-10-18

That installer has a header (bash script) and a tarball appended to it.
The tarball includes various pre-compilated packages (phyton, openssl, sqlite etc.)
Those packages contains binaries compiled against glibc so they don't work with musl.

Wed, 2015-07-08 18:15
rothnic
  • rothnic's picture
  • Offline
  • Last seen: 2 years 8 months ago
  • Joined: 2015-06-30

Yeah, I've realized now all minimal linux distros targeted at docker use musl now. I've now moved to using pyenv, virtualenv, and building wheels.

Log in or register to post comments