Skip to content
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

Unable to install anaconda python distribution #50

Closed
spichardo opened this issue Apr 7, 2016 · 7 comments
Closed

Unable to install anaconda python distribution #50

spichardo opened this issue Apr 7, 2016 · 7 comments

Comments

@spichardo
Copy link

I just tried with the latest install file from https://www.continuum.io/downloads#_unix
Some of the symlinks generated during installation fails , I can't get a more verbose printout of the exact error, but it seems related to links stored in a tar file, this is output at moment of crashing.

PREFIX=/root/anaconda2
installing: _cache-0.0-py27_x0 ...
installing: python-2.7.11-0 ...
tar: bin/python: Cannot create symlink to ‘python2.7’: Invalid argument
tar: bin/python2: Cannot create symlink to ‘python2.7’: Invalid argument
tar: lib/libpython2.7.so: Cannot create symlink to ‘libpython2.7.so.1.0’: Invalid argument
tar: lib/pkgconfig/python.pc: Cannot create symlink to ‘python-2.7.pc’: Invalid argument
tar: lib/pkgconfig/python2.pc: Cannot create symlink to ‘python-2.7.pc’: Invalid argument
tar: share/man/man1/python.1: Cannot create symlink to ‘python2.7.1’: Invalid argument
tar: share/man/man1/python2.1: Cannot create symlink to ‘python2.7.1’: Invalid argument
tar: Exiting with failure status due to previous errors
root@localhost:~#

@spichardo spichardo mentioned this issue Apr 7, 2016
@dreyks
Copy link

dreyks commented Apr 13, 2016

same with rvm
\curl -sSL https://get.rvm.io | bash
tar: README.rdoc: Cannot create symlink to 'README': Invalid argument

@sunilmut
Copy link
Member

Looks related to #9

@russalex
Copy link
Contributor

russalex commented Apr 23, 2016

Playing with these after the 14328 build.

Anaconda: Install goes much farther. There are some errors that print when creating the default environment that look like:

ERROR:main:failed to link (src='/home/russ/anaconda3/pkgs/python-3.5.1-0/bin/2to3-3.5', dst='/home/russ/anaconda3/bin/2to3-3.5', type=3, error=OSError(22, 'Invalid argument'))

That said, I was able to at least try conda. I did not go any farther than this:

uss@DESKTOP-RP5HK0H:~$ conda --version
conda 4.0.5
russ@DESKTOP-RP5HK0H:~$ conda update conda
Using Anaconda Cloud api site https://api.anaconda.org
Fetching package metadata: ....
# All requested packages already installed.
# packages in environment at /home/russ/anaconda3:
#
conda                     4.0.5                    py35_0
russ@DESKTOP-RP5HK0H:~$

RVM is a different story. Install failed for me on 14328. For fun, I tried it on an internal build and seeing:

  • Install worked but with a non-critical error
  • rvm install 1.9.2 displayed more non-critical errors
  • rvm use 1.9.2 required me to launch bash with "bash -c "/bin/bash --login"

Punchline is: this build is much better than the last, but good things are still on the way.

@spichardo
Copy link
Author

Agree this is advancing very nicely, I managed to install Anaconda Python in 14328 without any issue!

But then, when compiling boost_1.59, all the symbolic linking of .so files fails, such as:

ln: failed to create symbolic link ‘stage/lib/libboost_graph.so’: Operation not permitted

ln -f -s 'libboost_graph.so.1.59.0' 'stage/lib/libboost_graph.so'

Thanks for making this happening, I can't truly wait for a complete CLI environment , for my own needs it is almost there

@russalex
Copy link
Contributor

Not certain what boost_1.59 is. That said, we have some symlink fixes heading down the pipe.

I am going to mark this one as fix inbound and put in the release notes when the symlink improvements hit. I'll also look to re-ping this thread (but could miss it for a few days).

@MadcowD
Copy link

MadcowD commented Apr 30, 2016

@russalex New error coming your way as of 14332. This happens while installing Anaconda (although we've gotten past the first error!)

ERROR:main:failed to link (src='/home/william/anaconda3/pkgs/python-3.5.1-0/bin/2to3-3.5', dst='/home/william/anaconda3/bin/2to3-3.5', type=3, error=OSError(38, 'Function not implemented'))

@russalex
Copy link
Contributor

Confirmed on build 14352 that Anaconda 4.0.5 just installed over Python 2.7.11 with no errors.

Looks like this one can be closed out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants