... | ... | @@ -48,52 +48,6 @@ in the root directory of *pyOPALTools*. Make sure you have the virtual environme |
|
|
otherwise it will be installed to your default Python.
|
|
|
This will install all dependencies and the opal package.
|
|
|
|
|
|
Installation of a virtual Python environment
|
|
|
===========================
|
|
|
It is recommended to create a virtual Python environment. You might need to install [Python3](https://www.python.org/) first.
|
|
|
|
|
|
#### Installation using virtualenv
|
|
|
If you do not have ```virtualenv``` installed, type
|
|
|
```bash
|
|
|
pip install virtualenv
|
|
|
```
|
|
|
in your terminal.
|
|
|
The *pyOPALTools* environment is installed with following steps:
|
|
|
|
|
|
```bash
|
|
|
virtualenv -p `which python3` pyOPALTools.venv
|
|
|
source pyOPALTools.venv/bin/activate
|
|
|
```
|
|
|
The virtual environment can be deactivated with
|
|
|
|
|
|
```bash
|
|
|
deactivate
|
|
|
```
|
|
|
|
|
|
#### Installation using venv
|
|
|
```bash
|
|
|
python3 -m venv pyOPALTools.venv
|
|
|
source pyOPALTools.venv/bin/activate
|
|
|
```
|
|
|
The virtual environment can be deactivated with
|
|
|
|
|
|
```bash
|
|
|
deactivate
|
|
|
```
|
|
|
|
|
|
### Installation of dependent packages
|
|
|
|
|
|
Install Jupyter and additional software in the *activated* environment
|
|
|
|
|
|
```bash
|
|
|
pip install numpy
|
|
|
pip install scipy
|
|
|
pip install jupyter\[notebook\] matplotlib
|
|
|
pip install h5py
|
|
|
pip install pyQt5
|
|
|
pip install seaborn
|
|
|
```
|
|
|
|
|
|
<!--- `python testStat-1.py` --->
|
|
|
<!--- ![testStat-1](/uploads/e1f30e5b48e8e5da35252a46e9f5e045/testStat-1.png) --->
|
|
|
|
... | ... | |