Commit Graph

9 Commits

Author SHA1 Message Date
Xiang Ji 19a5ef1c58 Fix venv command examples (#2560) [ci skip]
* Fix venv command examples

The documentation refers to `venv`, which is native to Python3.
However, the command examples are as if they were still `virtualenv`,
which is a package independent of `venv`:

- It doesn't need to be installed via `pip`. In fact `pip install venv` would
return an error.
- The correct way to invoke `venv` is `python3 -m venv`, not `venv`, which would
return command not found.

See https://docs.python.org/3/library/venv.html

I suspect the documentation simply replaced all occurrences of `virtualenv` with
`venv`. However they are different modules and are used differently.

* Update comment [ci skip]
2018-07-18 10:31:24 +02:00
ines 8adb967e0c Fix from source quickstart instructions for Windows
See: https://stackoverflow.com/a/50478036/6400719
2018-05-24 12:42:16 +02:00
ines ceb2c596f1 Update conda details 2017-11-11 13:07:00 +01:00
ines 4c5d2c80d5 Re-add python -m to commands, too brittle :( (see #1536) 2017-11-10 02:30:55 +01:00
ines 2229aba71c Update website 2017-11-08 01:06:30 +01:00
ines ddff7dc474 Update GPU install docs 2017-11-06 19:35:36 +01:00
ines 4793d56a3e Update commands for building from source 2017-11-04 14:24:14 +01:00
ines 3b7ec64caa Add PYTHONPATH to build from source quickstart 2017-11-01 01:52:45 +01:00
ines 3f4fd2c5d5 Update usage documentation 2017-10-03 14:26:20 +02:00