@@ -50,28 +50,24 @@ It takes a minute to load the environment.
50
50
51
51
### Locally
52
52
53
- You can also run the tutorial locally with
54
- [ miniconda] ( https://docs.conda.io/en/latest/miniconda.html ) by following thes
55
- steps:
56
-
57
- 1 . Install [ miniconda] ( https://docs.conda.io/en/latest/miniconda.html ) .
58
-
59
- 1 . Clone the repository:
53
+ You can also run the tutorial locally in a virtual environment, i.e., ` venv ` or
54
+ [ miniconda] ( https://docs.conda.io/en/latest/miniconda.html ) .
60
55
56
+ 1 . Create and activate a new environment, e.g., on Mac/Linux terminal with ` venv ` :
61
57
```
62
- git clone https://github.com/NREL/PVDegradationTools.git
58
+ python -m venv pvdeg
59
+ . pvdeg/bin/activate
63
60
```
64
-
65
- 1 . Create the environment and install the requirements. The repository includes
66
- a ` requirements.txt ` file that contains a list the packages needed to run
67
- this tutorial. To install them using conda run:
68
-
61
+ or with ` conda ` :
69
62
```
70
- conda create -n pvdeg jupyter -c pvlib --file requirements.txt
63
+ conda create -n pvdeg
71
64
conda activate pvdeg
72
65
```
73
66
74
- or you can install it with ` pip install pvdeg ` as explained in the installation instructions into the environment.
67
+ 1 . Install ` pvdeg ` into the new environment with ` pip ` :
68
+ ```
69
+ python -m pip install pvdeg
70
+ ```
75
71
76
72
1 . Start a Jupyter session:
77
73
@@ -98,9 +94,9 @@ Install with:
98
94
99
95
pip install pvdeg
100
96
101
- For developer installation, download the repository, navigate to the folder location and install as:
97
+ For developer installation, clone the repository, navigate to the folder location and install as:
102
98
103
- pip install -e .
99
+ pip install -e .[all]
104
100
105
101
106
102
License
0 commit comments