Skip to content
Snippets Groups Projects

[enh] #23: doc: provide virtual env installation process.

Merged [enh] #23: doc: provide virtual env installation process.
Merged Moul requested to merge pyenv_doc into master

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
16 pyenv install 3.6.0
17 pyenv shell 3.6.0
18 pyenv virtualenv silkaj-env
19 ```
20
21 ## Install Silkaj
22
23 ### Retrieve silkaj sources
24 ```bash
25 git clone https://github.com/duniter/silkaj.git
26 cd silkaj
27 ```
28
29 ### Install dependencies and store them on pyenv environement
30 ```bash
31 pip install -r requirements.txt --upgrade
  • Author Owner

    Created by: jytou

    In my environment, 'pip' installs for python2. The install for python3 (which is used by silkaj) works with pip3. I didn't use a virtualenv, though, so that may work (not sure about that, I never used a virtualenv so I'll trust you on that one).

  • Moul
    Moul @moul started a thread on commit 9bf26c4c
  • 16 pyenv install 3.6.0
    17 pyenv shell 3.6.0
    18 pyenv virtualenv silkaj-env
    19 ```
    20
    21 ## Install Silkaj
    22
    23 ### Retrieve silkaj sources
    24 ```bash
    25 git clone https://github.com/duniter/silkaj.git
    26 cd silkaj
    27 ```
    28
    29 ### Install dependencies and store them on pyenv environement
    30 ```bash
    31 pip install -r requirements.txt --upgrade
    • Author Owner

      On the virtual env, there is only one python version. The one installed, so pip is for python3:

      pyenv activate silkaj-env 
      pyenv-virtualenv: prompt changing not working for fish.
      
      pip --version
      pip 9.0.1 from /home/moul/.pyenv/versions/3.6.0/envs/silkaj-env/lib/python3.6/site-packages (python 3.6)
  • Moul
    Moul @moul started a thread on commit 9bf26c4c
  • 16 pyenv install 3.6.0
    17 pyenv shell 3.6.0
    18 pyenv virtualenv silkaj-env
    19 ```
    20
    21 ## Install Silkaj
    22
    23 ### Retrieve silkaj sources
    24 ```bash
    25 git clone https://github.com/duniter/silkaj.git
    26 cd silkaj
    27 ```
    28
    29 ### Install dependencies and store them on pyenv environement
    30 ```bash
    31 pip install -r requirements.txt --upgrade
  • Moul added Dev Env Doc/Website labels and removed enhancement label

    added Dev Env Doc/Website labels and removed enhancement label

  • Please register or sign in to reply
    Loading