Go to https://www.continuum.io/downloads and click on your OS distribution (Mac,Linux,Windows).
For MacOS:
Download the graphical installer for Python 2.7 and install anaconda.
For Linux:
Download the Python 2.7 installer.
Open a terminal and type
cd ~/path_of_downloaded_anaconda_file/
bash Anaconda (and press the tab key to get the full name)
The final command will run the installation and you're going to be asked a series of questions.
In general, Anaconda will be installed in /home/your_username/anaconda2.
If you want to install it somewhere else you will need to give a full path like: /home/your_username/Python_tools/anaconda2
For all other questions type yes (that is critical for smooth installation and easy use of Anaconda)
After you've installed Anaconda follow the instruction for PyMKS:
MacOS and Linux:
Open a terminal and type:
conda --add-channels pymks
pip install pymks
conda install vtk
pip install mayavi
With these 4 commands you have full functionality of Pymks in Jupyter-notebook using:
import pymks
If you want to run the jupyter notebook you can type in terminal jupyter-notebook, or anaconda-navigator and you can see the full set of tools installed with Anaconda.
MacOS users can open the the Anaconda Navigator in Applications and run Jupyter Notebook from there.
No comments:
Post a Comment