... | ... | @@ -21,21 +21,44 @@ cd sempy-recipe |
|
|
|
|
|
## 2. Build and install SEMpy package
|
|
|
|
|
|
### 2.1 Build SEMpy
|
|
|
|
|
|
Now that you entered the sempy-recipe folder, run:
|
|
|
```bash
|
|
|
conda build . -c conda-forge
|
|
|
```
|
|
|
|
|
|
Now that the package is built, you can install it locally on your machine.
|
|
|
## 2.2 Install SEMpy
|
|
|
|
|
|
Now that the package is built, you can install SEMpy on your machine.
|
|
|
|
|
|
Note: We recommand to create a new environment to install SEMpy, to avoid conflicts with already installed packages
|
|
|
### 2.2.1 Create a dedicated environment
|
|
|
|
|
|
In order to avoid any conflicts between already installed packages and the ones needed by SEMpy, we highly recommend to create a new environment for the installation.
|
|
|
|
|
|
```bash
|
|
|
conda create -n sempy_env
|
|
|
conda activate sempy_env
|
|
|
```
|
|
|
|
|
|
### 1.3.2 Install SEMpy
|
|
|
|
|
|
Once inside the sempy_env, install SEMpy :
|
|
|
|
|
|
Run :
|
|
|
```bash
|
|
|
conda install --use-local sempy
|
|
|
```
|
|
|
|
|
|
WARNING :
|
|
|
**WARNING:** If you end up with an error message like _Found conflicts! Looking for incompatible packages._, it probably means that conda-forge isn't in your default channels configuration.
|
|
|
You can add it this way:
|
|
|
|
|
|
```bash
|
|
|
conda config --add channels conda-forge
|
|
|
```
|
|
|
|
|
|
Then it should work fine.
|
|
|
|
|
|
**WARNING :**
|
|
|
If you are willing to use the Visualisation module or the Optimal Control module of SEmpy, you will need to download manually several dependencies. This will be needed for the next step, that is to say testing the package.
|
|
|
You can check the associated README.md or Wiki page for each of this modules to add these additional dependencies.
|
|
|
|
... | ... | |