First download and install macports and then issue the following command in a terminal: sudo port install py27-scipy +gcc47 You can try installing everything using MacPorts. ![]() If the above two methods do not work for OS X The MacPorts way Note that you need the academic license in order to install the 64-bit (recommended) version. The installation instructions are available here, which has installers for Mac OS X and Windows. Enthought includes all the packages we will use during the course. Then the easiest way to install Python and the other packages is to request an academic license and download the Enthought Canopy Python distribution. If you are affiliated with an academic institution The installations instructions are available here.Īnaconda includes most of the packages we will use and it is pretty easy to install additional packages if required. In this case, we recommend downloading and installing the Anaconda Python distribution. This is the case for example for GSFC employees and many GSFC postdocs. If you are not affiliated with an university Mac OS X If you are a GSFC employeeĪnaconda includes most of the packages we will use and it is pretty easy to install additional packages if required. Just download the installer and execute it.Īnaconda includes most of the packages we will use and it is pretty easy to install additional packages if required. The installations instructions are available here. Assuming that you are running Debian or Ubuntu, you just need to execute the following command in the terminal: sudo apt-get install python-numpy python-scipy python-matplotlib ipython-notebookįor Fedora users, you can use the yum tool. In Linux, the installation instructions are pretty straightforward. git folder) don't contain the necessary metadata and will not work.įor example, if you're using pip, instead of use git+ĮRROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.This page describes how to install Python and the other packages (Numpy, Scipy, IPython, Matplotlib) required for the course for Mac OS X, Linux and Windows. ![]() Most other sources (such as GitHub's tarballs, a git checkout without the. Make sure you're either building from a fully intact git repository or PyPI tarballs. LookupError: setuptools-scm was unable to detect version for '/tmp'. _setup_distribution = dist = klass(attrs)įile "/home/radu/bin/anaconda3/envs/aimtest/lib/python3.6/site-packages/setuptools/dist.py", line 446, in _init_įile "/home/radu/bin/anaconda3/envs/aimtest/lib/python3.6/distutils/dist.py", line 281, in _init_įile "/home/radu/bin/anaconda3/envs/aimtest/lib/python3.6/site-packages/setuptools/dist.py", line 734, in finalize_optionsįile "/home/radu/bin/anaconda3/envs/aimtest/lib/python3.6/site-packages/setuptools_scm/integration.py", line 17, in version_keywordĭ = get_version(**value)įile "/home/radu/bin/anaconda3/envs/aimtest/lib/python3.6/site-packages/setuptools_scm/_init_.py", line 150, in get_versionįile "/home/radu/bin/anaconda3/envs/aimtest/lib/python3.6/site-packages/setuptools_scm/_init_.py", line 113, in _do_parse ![]() Packages=find_namespace_packages(include=, exclude=),įile "/home/radu/bin/anaconda3/envs/aimtest/lib/python3.6/site-packages/setuptools/_init_.py", line 145, in setupįile "/home/radu/bin/anaconda3/envs/aimtest/lib/python3.6/distutils/core.py", line 108, in setup
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |