Skip to content

Commit 29c5db3

Browse files
Remove --no-site-packages flag from virtualenv command and update the supported python version. (#8551)
* Remove --no-site-packages flag from virtualenv. * change python version to least supported version. --------- Co-authored-by: Matthew Soulanille <msoulanille@google.com>
1 parent f2e5572 commit 29c5db3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tfjs-converter/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,22 @@ __0. Please make sure that you run in a Docker container or a virtual environmen
2626

2727
__Note__: *Check that [`tf-nightly-cpu-2.0-preview`](https://pypi.org/project/tf-nightly-cpu-2.0-preview/#files) is available for your platform.*
2828

29-
Most of the times, this means that you have to use Python 3.6.8 in your local
30-
environment. To force Python 3.6.8 in your local project, you can install
29+
Most of the times, this means that you have to use Python 3.7.10 in your local
30+
environment. To force Python 3.7.10 in your local project, you can install
3131
[`pyenv`](https://github.com/pyenv/pyenv) and proceed as follows in the target
3232
directory:
3333

3434
```bash
35-
pyenv install 3.6.8
36-
pyenv local 3.6.8
35+
pyenv install 3.7.10
36+
pyenv local 3.7.10
3737
```
3838

3939
Now, you can
4040
[create and activate](https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/)
4141
a `venv` virtual environment in your current folder:
4242

4343
```bash
44-
virtualenv --no-site-packages venv
44+
virtualenv venv
4545
. venv/bin/activate
4646
```
4747

0 commit comments

Comments
 (0)