... | @@ -36,40 +36,6 @@ To make jupyter-notebook work properly: |
... | @@ -36,40 +36,6 @@ To make jupyter-notebook work properly: |
|
Furthermore byobu is a really usefull tool with WSL (terminal with several tabs). You can launch it for once typing `byobu` or launch it each time typing once `byobu-enable`.
|
|
Furthermore byobu is a really usefull tool with WSL (terminal with several tabs). You can launch it for once typing `byobu` or launch it each time typing once `byobu-enable`.
|
|
|
|
|
|
|
|
|
|
## By using Python Anaconda environment manager ##
|
|
|
|
|
|
|
|
First, it is not already present, download and install Anaconda Python Distribution from here:
|
|
|
|
* [Anaconda](https://www.anaconda.com/distribution/) (download version 3.x and NOT 2.7)
|
|
|
|
|
|
|
|
If you have any doubt, follow the default installation recommendations (install only
|
|
|
|
for current user and do not change default PATH).
|
|
|
|
|
|
|
|
At time of writing, it is critical to not have any space in the path name of installation of Anaconda or you home directory. If that is not the case, you may not be able to install correctly or to create environment.
|
|
|
|
|
|
|
|
Once the installation is finished, you can then start _Anaconda Prompt_ which will give you a black window
|
|
|
|
in which you will be able to run command (like in any bash or powershell terminal).
|
|
|
|
If you the rights (administrator or installation only for you), you can start by updating to latest version by running:
|
|
|
|
```cmd
|
|
|
|
conda update -n base -c defaults anaconda
|
|
|
|
```
|
|
|
|
|
|
|
|
Then, create a new environment and install all the needed dependencies. The name *lmgc90* will be used for this new environment, but you can choose any other that fit your preferences :
|
|
|
|
```cmd
|
|
|
|
conda create -n lmgc90 python=3.7
|
|
|
|
conda activate lmgc90
|
|
|
|
conda install m2w64-gcc-fortran m2w64-make m2w64-openblas libpython
|
|
|
|
conda install swig cmake
|
|
|
|
conda install numpy scipy matplotlib h5py pandas
|
|
|
|
conda install -c conda-forge vtk
|
|
|
|
```
|
|
|
|
|
|
|
|
You will be able, from now on, to activate this environment either from a conda console or within the anaconda navigator by selecting it in the list button next to *Applications on* field.
|
|
|
|
|
|
|
|
Finally you need to make anaconda environment available to your powershell by running:
|
|
|
|
```cmd
|
|
|
|
conda init powershell
|
|
|
|
```
|
|
|
|
|
|
|
|
****
|
|
****
|
|
|
|
|
|
| [back](./Prerequisites) | [home](./Home) | [next](./download_and_install) |
|
|
| [back](./Prerequisites) | [home](./Home) | [next](./download_and_install) |
|
... | | ... | |