Skip to content

Commit 1dccd2d

Browse files
Update install instructions
1 parent 3478aed commit 1dccd2d

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,19 +70,22 @@ Install the protoc as per the link mentioned:
7070
Create a virtual environment by running the commands
7171

7272
```
73-
python3 -m venv <virtualenv_name>
73+
python -m venv <virtualenv_name>
7474
source <virtualenv_name>/bin/activate
75-
pip3 install setuptools wheel
7675
git clone https://github.com/tensorflow/model-analysis.git
7776
cd model-analysis
78-
python3 setup.py bdist_wheel
77+
pip install .
7978
```
80-
This will build the TFMA wheel in the dist directory. To install the wheel from
81-
dist directory run the commands
79+
If you are doing development on the repo, then replace
8280

8381
```
84-
cd dist
85-
pip3 install tensorflow_model_analysis-<version>-py3-none-any.whl
82+
pip install .
83+
```
84+
85+
with
86+
87+
```
88+
pip install -e .[all]
8689
```
8790

8891
### Jupyter Lab

0 commit comments

Comments
 (0)