I'm trying to install Astropy on Ubuntu 16.06 following the instructions given in the website Installation - Astropy. I have run the following commands in the terminal:
sudo apt-get install python-dev
sudo apt-get install git
git clone git://github.com/astropy/astropy.git
But now it won't let me do anything else: if I type
python setup.py build
or
python setup.py install
it gives me the following error:
python: can't open file 'setup.py': [Errno 2] No such file or directory
I'm new to Ubuntu and Python, but I suppose this is happening because I'm not positioned where the git repository was stored. So, where is it and how can I install Astropy successfully?
git clone git://github.com/astropy/astropy.git
then by default it will have cloned intoastropy
in the current directory: to change to that directory, typecd astropy