Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 2a91a4c4 authored by hhakim's avatar hhakim
Browse files

Update the guide for pyfaust install in virtual environments.

Thanks to Ewen Camberlein for his remarks.
parent 5c2b61d7
No related branches found
No related tags found
No related merge requests found
......@@ -16,17 +16,20 @@ Second, you need to enable the virtual environment:
C:\> call .\test_pyfaust-3.6\Scripts\activate
Then, if all worked correctly you must see the test_pyfaut-3.6 prompt of your virtual environment.
It remains now to install pyfaust in this environment.
$ pip install pyfaust-*.whl
All the dependencies will be downloaded and installed by the command above.
You can launch a test python command to validate the installation:
You can launch this python command to validate the installation:
$ python -c 'from pyfaust import version; print(version())'
As as result, you should see the version of pyfaust installed if all went properly.
As a result, you should see the version of pyfaust installed if all went properly.
\note In the virtual environment python is necessarily python version 3 (because the creation was made through python3 above).
Python 2.7.15+
=============
......@@ -35,13 +38,13 @@ You need at first to install virtualenv:
$ pip install virtualenv
NOTE: take care to use the good version of pip (corresponding to the python 2.7 version you want use).
\note Take care to use the good version of pip (corresponding to the python 2.7 version you want to use).
Then you can create your python 2.7 virtual environment:
$ virtualenv test_pyfaust-2.7
The next is all the same as for python 3, you enter your virtual env.:
The next is all the same as for python 3, you enter the virtual env.:
$ source ./test_pyfaust-2.7/bin/activate
......@@ -61,8 +64,8 @@ And finally launch the version test command to check the whole process:
Anaconda
========
Within Anaconda you can also create virtual environments and use pyfaust into it. It's quite similar to the Python way described previous sections. For that purpose you'll use the command conda create.
Within Anaconda you can also create virtual environments and use pyfaust into it. It's quite similar to the Python way described in previous sections. For that purpose you'll use the command conda create.
Please rely on the documentation here: https://conda.readthedocs.io/en/latest/
or for more details here: https://conda.io/docs/commands/conda-create.html
Or for more details about this specific command please look here: [conda-create](https://conda.io/projects/conda/en/latest/commands/create.html)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment