@@ -9,7 +9,7 @@ This project focuses on understanding the language ecosystem, not getting into p
99
1010:sunrise_over_mountains : ** _ Python's Habitat_ **
1111
12- This topic describe how to set up the environment to Python developement .
12+ This topic describes how to set up the environment for Python development .
1313- [ Preparing the Environment for the Python] ( #preparing-the-environment-for-the-python )
1414- [ Check Python Configuration] ( #check-python-configuration )
1515- [ Advanced settings of Python] ( #advanced-settings-of-python )
@@ -19,7 +19,7 @@ This topic describe how to set up the environment to Python developement.
1919
2020:snake : ** _ Python's Taxonomy_ **
2121
22- This topic describe features of the pattern of Python projects.
22+ This topic describes features of the pattern of Python projects.
2323- [ Package manager] ( #package-manager )
2424- [ Requirements file] ( #requirements-file )
2525- [ Deterministic build] ( #deterministic-build )
@@ -29,7 +29,7 @@ This topic describe features of the pattern of Python projects.
2929
3030:anger : ** _ Python's Behavior_ **
3131
32- This topic describe how the language is designed and how it works.
32+ This topic describes how the language is designed and how it works.
3333- [ Compiler and interpreter] ( #compiler-and-interpreter )
3434- [ How Python runs a program] ( #how-python-runs-a-program )
3535- [ How Python search path module] ( #how-python-search-path-module )
@@ -105,7 +105,7 @@ Extra topics.
105105<details >
106106 <summary ><b > <a href =" #preparing-the-environment-for-the-python " ><img src =" images/icon_windows.png " /></a > Windows</b ></summary >
107107
108- On Windows, I recommend using the package manager [ chocolatey] ( https://chocolatey.org/ ) and set your Powershell to can work as admin. See [ this] ( devpos/infra-as-code ) tutorial.
108+ On Windows, I recommend using the package manager [ chocolatey] ( https://chocolatey.org/ ) and setting your Powershell to work as admin. See [ this] ( devpos/infra-as-code ) tutorial.
109109
110110 Now, install Python
111111 ``` powershell
@@ -172,25 +172,25 @@ sudo update-alternatives --list python
172172<details >
173173 <summary ><b > Install multiples Python versions</b ></summary >
174174 <!-- ### **Install multiples Python versions** -->
175- Sometimes you might work on different projects at the same time with different versions of Python. Normally I using Anaconda is the easiest solution, however, can there are restricted .
175+ Sometimes you might work on different projects simultaneously with different versions of Python. Normally using Anaconda is the easiest solution, however, there are restrictions .
176176
177177 1 . Add repository
178178 <details >
179179 <summary> Watch</summary>
180180 <img src='images/install_python.gif' height=auto width="100%">
181181 </details >
182-
182+
183183 This PPA contains more recent Python versions packaged for Ubuntu.
184184 ``` bash
185185 sudo add-apt-repository ppa:deadsnakes/ppa -y
186186 ```
187-
188- 2. Update packeages
187+
188+ 2. Update packages
189189 ` ` ` bash
190190 sudo apt update -y
191191 ` ` `
192192
193- 3. Check which python version is installed
193+ 3. Check which Python version is installed
194194 ` ` ` bash
195195 python --version
196196 ` ` `
@@ -201,12 +201,46 @@ sudo update-alternatives --list python
201201 ` ` `
202202 < br/>
203203< /details>
204-
204+
205+ < details>
206+ < summary><b> Install multiples Python versions Using Pyenv< /b></summary>
207+ < ! -- # ## **Install multiples Python versions** -->
208+
209+ 1. Add dependencies
210+ ` ` ` bash
211+ sudo apt install curl -y
212+ ` ` `
213+
214+ 2. Update packages
215+ ` ` ` bash
216+ sudo apt update -y
217+ ` ` `
218+
219+ 3. Install pyenv
220+ ` ` ` bash
221+ curl https://pyenv.run | bash
222+ ` ` `
223+
224+ 4. Add these three lines from .bashrc or .zhshrc
225+ ` ` ` bash
226+ export PATH=" $HOME /.pyenv/bin:$PATH "
227+ eval " $( pyenv init --path) "
228+ eval " $( pyenv virtualenv-init -) "
229+ ` ` `
230+
231+ 5. Open a new terminal and execute
232+ ` ` ` bash
233+ exec $SHELL
234+ pyenv --version
235+ ` ` `
236+
237+ < br/>
238+ < /details>
205239
206240< details>
207241 < summary><b> Change system' s Python</b></summary>
208242
209- Before installed other versions of Python it' s necessary set which system' s Python will be use .
243+ Before installing other versions of Python it' s necessary to set which system' s Python will be used .
210244
211245 1. Use `update-alternatives`
212246
0 commit comments