File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -25,15 +25,16 @@ needed dependencies for a project.
2525### Set up a virtual environment with venv
2626
2727With venv to create environment associated with a project folder called ` science ` .
28+ First, navigate into the ` science ` project folder. Next, execute:
2829
2930``` shell
30- python -m venv science
31+ python -m venv
3132```
3233
3334Start using it by activating it as follows:
3435
3536``` shell
36- source science /bin/activate
37+ source .venv /bin/activate
3738```
3839
3940You are now ready to install Scientific Python packages using ` pip ` ! For example:
@@ -53,7 +54,8 @@ pip install -r <path/to/requirements.txt>
5354Remember to re-activate your environment every time you open a new terminal, using:
5455
5556``` shell
56- source science/bin/activate
57+ cd < path/to/science/>
58+ source .venv/bin/activate
5759```
5860
5961You can find more information on using venv for packaging
You can’t perform that action at this time.
0 commit comments