Skip to content

Instantly share code, notes, and snippets.

@mGalarnyk
Last active August 29, 2022 03:34
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mGalarnyk/4e48b0dc307a2d50f4b7701dbc54573d to your computer and use it in GitHub Desktop.
Save mGalarnyk/4e48b0dc307a2d50f4b7701dbc54573d to your computer and use it in GitHub Desktop.
# Go to home directory
cd ~
# You can change what anaconda version you want at
# https://repo.continuum.io/archive/
wget https://repo.continuum.io/archive/Anaconda2-4.2.0-Linux-x86_64.sh
bash Anaconda2-4.2.0-Linux-x86_64.sh -b -p ~/anaconda
rm Anaconda2-4.2.0-Linux-x86_64.sh
echo 'export PATH="~/anaconda/bin:$PATH"' >> ~/.bashrc
# Refresh basically
source .bashrc
conda update conda
@AlizaminJ
Copy link

Thank you! Feel so lucky to come across you

@ROSDevoloper
Copy link

Thanks for your effort
but i have a question
when i type python -V
it shows Python 2.7.12 :: Continuum Analytics, Inc.
not :: Anaconda, Inc.

is this still same anaconda :: Anaconda, Inc. or not

@leblancfg
Copy link

Yes, Anaconda Inc used to be called Continuum Analytics Inc.

@basit26374
Copy link

Thank you for installations steps

@JaelRM
Copy link

JaelRM commented May 4, 2022

Hi, I have a problem, I follow the steps to install anaconda in ubuntu14.04, when I type python not open and show this:
python
Traceback (most recent call last):
File "/usr/lib/python2.7/site.py", line 563, in
main()
File "/usr/lib/python2.7/site.py", line 545, in main
known_paths = addusersitepackages(known_paths)
File "/usr/lib/python2.7/site.py", line 272, in addusersitepackages
user_site = getusersitepackages()
File "/usr/lib/python2.7/site.py", line 247, in getusersitepackages
user_base = getuserbase() # this will also set USER_BASE
File "/usr/lib/python2.7/site.py", line 237, in getuserbase
USER_BASE = get_config_var('userbase')
File "/usr/lib/python2.7/sysconfig.py", line 578, in get_config_var
return get_config_vars().get(name)
File "/usr/lib/python2.7/sysconfig.py", line 524, in get_config_vars
_init_posix(_CONFIG_VARS)
File "/usr/lib/python2.7/sysconfig.py", line 408, in _init_posix
from _sysconfigdata import build_time_vars
File "/usr/lib/python2.7/_sysconfigdata.py", line 6, in
from _sysconfigdata_nd import *
ImportError: No module named _sysconfigdata_nd

what could be the problem ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment