![]() It is now available on IBM’s machine learning and deep learning platforms. (anaconda) $ conda create -n p圓51-obspy python=3.5.1 obspy=1.0.IBM announced that it is working with Austin, Texas-based Continuum Analytics to offer the Anaconda open data science platform on on its cognitive systems.īoth Intel and Microsoft have also incorporated Anaconda into their machine learning and deep learning tools and, in fact, the Python-powered Anaconda platform counts more than 16 million downloads to date.Īnaconda is considered an important capability for developers building cognitive solutions, according to IBM executives. In This exemple I wan’t in a new VirtualEnv name ‘p圓51-obspy’ with packages python 3.5.1 and Obspy 1.0.2 : $ cd /localstorage/Anaconda/bin (/localstorage/Ana/Conda)$ conda create -n np1.6 anaconda numpy=1.6Īnd next, let’s create an environment for NumPy 1.7: (/localstorage/Ana/Conda)$ conda create -n np1.7 anaconda numpy=1.7 View all your Conda Envs (/localstorage/Ana/Conda)$ conda info -e Activate an environnement : (/localstorage/Ana/Conda)$ source activate myenv Full example Python 3.5.1 with Obspy 1.0.2 Let’s create an environment with NumPy 1.6. > Virtual Env Anaconda VirtualEnv creation You can check that it’s install with : $ conda list | grep evtk ![]() So inside the unzip pauloh-pyevtk-0e1a3d558c34 I just do : $ /localstorage/Ana/Conda/bin/python setup.py install I can’t find my package with ‘conda search’ : Exemple with evtj Python package : pyevtk $ conda search evtkįor exemple in my case I install it in : /localstorage/Ana/Conda If I want the 1.4.2 I’ve just to do from my Anaconda ENV : (/localstorage/Ana/Conda)$ conda install matplotlib=1.4.2 Hard way Here I can see that I’ve the 1.4.0 version of matplotlib already install for Python2.7. In first I search with conda: $ conda search matplotlib I want to install a new matplotlib version. To switch off Anaconda mode : $ conda_deactivateĪdd the conda-forge channel to your Anaconda configuration: $ conda config -add channels conda-forge Exemple install package Easy way Prepending /localstorage/Ana/Conda/bin to PATH To activate Anaconda mode : $ conda_activateĭiscarding /localstorage/Ana/Conda/bin from PATH ![]() $ cat ~/.bash_alias | grep 'alias conda'Īlias conda_activate='source /home/thomas/anaconda/bin/activate ~/anaconda'Īlias conda_deactivate='source /home/thomas/anaconda/bin/deactivate' bashrc to activate and deactivate anaconda ENV with a simple command. Without you will use the system one : $ which pythonīe carreful of what you want and when abou your $ENV and $PATH. With this env you will use Anaconda Python : $ which python bashrc or prepend the Anaconda install location: $ export PATH=/localstorage/Ana/Conda/bin:$PATH Please here change the path to something in your /localstorage > /localstorage/Ana/Conda user $PATH Static way Anaconda will now be installed into this location: I really recommand you to install Anaconda in the /localstorage of your host.Ī normal light installation is around 1,5G so you will use a big part of your Sismo’s quota juste for that. Note : You do NOT need root privileges to install Anaconda, if you select a user writable install location, such as /localstorage. You can read the official documentation here : įor the fast way to use, you just have to do : $ bash Anaconda-2.x.x-Linux-x86.sh You can download these installer inside /tmp or /localstorage. It includes over 195 of the most popular Python packages for science, math, engineering, data analysis. Full example Python 3.5.1 with Obspy 1.0.2Īnaconda is a completely free Python distribution (including for commercial use and redistribution).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |