asdf-community / asdf-python

Python plugin for the asdf version manager
https://github.com/asdf-vm/asdf
MIT License
667 stars 58 forks source link

Anaconda Install error #13

Open rrevanth opened 7 years ago

rrevanth commented 7 years ago

installing anaconda raises this error

Last 10 log lines: /var/folders/60/24fdw4jx7vl02x0rw7f0m3lm0000gn/T/python-build.20170122172041.45403 ~/.asdf/plugins /var/folders/60/24fdw4jx7vl02x0rw7f0m3lm0000gn/T/python-build.20170122172041.45403/Anaconda2-4.2.1-MacOSX-x86_64 /var/folders/60/24fdw4jx7vl02x0rw7f0m3lm0000gn/T/python-build.20170122172041.45403 ~/.asdf/plugins ERROR: File or directory already exists: /Users/jinx/.asdf/installs/python/anaconda2-4.2.0 Cleaning up

Can be fixed by deleting the install path prior to installing python.

rm -rf "$install_path" && MAKE_OPTS="$MAKE_OPTS -j$ASDF_CONCURRENCY" TMP_DIR="$tmp_dir" $(python_build_path) $version $install_path