Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
silkaj
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clients
python
silkaj
Commits
4faff458
Commit
4faff458
authored
7 years ago
by
Vincent Texier
Browse files
Options
Downloads
Patches
Plain Diff
Add Pyenv Python installation to the pipenv documentation
parent
6f7e3044
No related branches found
No related tags found
1 merge request
!77
Merge of vincent to dev
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/install_pipenv.md
+37
-0
37 additions, 0 deletions
doc/install_pipenv.md
with
37 additions
and
0 deletions
doc/install_pipenv.md
+
37
−
0
View file @
4faff458
...
...
@@ -20,3 +20,40 @@ pipenv install
pipenv shell
./silkaj
```
## Manage Python versions with Pyenv
If you have trouble with the pipenv install, may be the Python version installed on your system is not up to date.
To install and manage easily multiple Python version, use Pyenv:
### Install pyenv on your home
```
bash
curl
-L
https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash
```
Add in
`~/.bash_profile`
, in
`~/.bashrc`
on Fedora or Ubuntu:
```
bash
export
PATH
=
"
$HOME
/.pyenv/bin:
$PATH
"
eval
"
$(
pyenv virtualenv-init -
)
"
eval
"
$(
pyenv init -
)
"
export
PYENV_ROOT
=
"
$HOME
/.pyenv"
```
Reload your bash config:
source ~/.bashrc
or
source ~/.bash_profile
### Install Python version required
pyenv install 3.6.0
### Select Python version for the current shell
pyenv shell 3.6.0
Pipenv will search the
`Pyenv`
Python version chosen before the system version.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment