Skip to content

Commit 48ab42a

Browse files
Add steps to install instructions for python prerequisites.
1 parent 5943c67 commit 48ab42a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,11 @@ Note: Windows MSVC 2019 runs as C\+\+17 by default so boost is not needed. On l
103103

104104
#### Simple Python build (any platform)
105105

106-
1) At a command prompt, `cd` to the root directory of this repository.
106+
1) Prerequisites: install the following python packages: `pip install setuptools packaging`
107107

108-
2) Run: `python setup.py install --user --force`
108+
2) At a command prompt, `cd` to the root directory of this repository.
109+
110+
3) Run: `python setup.py install --user --force`
109111

110112
This will build and install a release version of htm.core. The `--user` option prevents the system installed site-packages folder from being changed and avoids the need for admin privileges. The `--force` option forces the package to be replaced if it already exists from a previous build. Alternatively you can type `pip uninstall htm.core` to remove a previous package before performing a build.
111113

@@ -115,7 +117,7 @@ Note: Windows MSVC 2019 runs as C\+\+17 by default so boost is not needed. On l
115117
* If you run into problems due to caching of arguments in CMake, delete the
116118
folder `<path-to-repo>/build` and try again. This may be only an issue when you restart a build after a failure.
117119

118-
3) After that completes you are ready to import the library:
120+
4) After that completes you are ready to import the library:
119121
```python
120122
python.exe
121123
>>> import htm # Python Library

0 commit comments

Comments
 (0)