forked from lava-nc/lava
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed PYTHONPATH installation instructions after directory restructur…
…e of core lava repo (lava-nc#48) * Update README.md Updated installation instructions of README.md to match new repo structure. * Update tutorial01_installing_lava.ipynb Updating PYTHONPATH installation instructions to match new dir structure of core lava repo * Fixing PYTHONPATH in Installing Lava tutorial after directory restructure
- Loading branch information
1 parent
c9af522
commit b021600
Showing
2 changed files
with
12 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,9 +80,11 @@ $ git clone [email protected]:lava-nc/lava.git | |
$ cd lava | ||
$ pip install -r build-requirements.txt | ||
$ pip install -r requirements.txt | ||
$ export PYTHONPATH=~/lava | ||
$ export PYTHONPATH=$(pwd)/src | ||
$ pyb -E unit | ||
``` | ||
Note that you should install the core Lava repository (lava) before installing other Lava libraries such as lava-optimization or lava-dl. Test your PYTHONPATH using `echo $PYTHONPATH` and ensure 'lava/src' is the first entry that precedes any additional Lava library src paths. | ||
|
||
#### [Windows] | ||
```cmd | ||
cd %HOMEPATH% | ||
|
@@ -93,9 +95,10 @@ git clone [email protected]:lava-nc/lava.git | |
cd lava | ||
pip install -r build-requirements.txt | ||
pip install -r requirements.txt | ||
set PYTHONPATH=%HOMEPATH%\lava | ||
set PYTHONPATH=%cd%\src | ||
pyb -E unit | ||
``` | ||
Note that you should install the core Lava repository (lava) before installing other Lava libraries such as lava-optimization or lava-dl. Test your PYTHONPATH using `echo %PYTHONPATH%` and ensure 'lava\src' is the first entry that precedes any additional Lava library src paths. | ||
|
||
You should expect the following output after running the unit tests: | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters