Skip to content

Commit a19425f

Browse files
lgarithmluomai
authored andcommitted
update install instruction (dup of #858) (#859)
* Update README.md * update README.rst
1 parent 8a4cf10 commit a19425f

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,12 @@ pip install --upgrade tensorlayer[extra] # only the `extra` dependenc
8989
pip install --upgrade tensorlayer[contrib_loggers] # only the `contrib_loggers` dependencies
9090
```
9191

92-
Alternatively, you can install the development version by directly pulling from github:
93-
92+
Alternatively, you can install the latest or development version by directly pulling from github:
9493

9594
```bash
96-
pip install git+https://github.com/tensorlayer/tensorlayer.git
95+
pip install https://github.com/tensorlayer/tensorlayer/archive/master.zip
96+
# or
97+
# pip install https://github.com/tensorlayer/tensorlayer/archive/<branch-name>.zip
9798
```
9899

99100
## Using Docker - a ready-to-use environment

README.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,13 @@ The simplest way to install TensorLayer is to use the Python Package Index (PyPI
8383
pip install --upgrade tensorlayer[extra] # only the `extra` dependencies
8484
pip install --upgrade tensorlayer[contrib_loggers] # only the `contrib_loggers` dependencies
8585
86-
Alternatively, you can install the development version by directly
87-
pulling from github:
86+
Alternatively, you can install the latest or development version by directly pulling from github:
8887

8988
.. code:: bash
9089
91-
pip install git+https://github.com/tensorlayer/tensorlayer.git
90+
pip install https://github.com/tensorlayer/tensorlayer/archive/master.zip
91+
# or
92+
# pip install https://github.com/tensorlayer/tensorlayer/archive/<branch-name>.zip
9293
9394
Using Docker - a ready-to-use environment
9495
-----------------------------------------

0 commit comments

Comments
 (0)