You want to upgrade your Python version in your current AWS Cloud9 environment.
Can you do this by running a few commands in the bash terminal using Pyenv?
--
AWS Cloud9 is a cloud-based integrated development environment (IDE) that lets you write, run, and debug your code with just a browser.
--
Tutorial Summary:
- The video is about upgrading Python in an AWS Cloud9 environment using p-env.
- Start by navigating to the Cloud9 service and creating an environment.
- In the Bash terminal, check the current Python version with "python --version" (Python 3.8 in this case).
- Clone the p-env git repository into the home directory.
- Update the .bashrc file to include p-env bin path in the PATH variable and initialize p-env.
- Update the YUM package manager and remove the old OpenSSL package.
- Install additional packages required for the Python upgrade.
- Run "p-env install" to install Python 3.12 and make it the default version using "p-env global."
- Update the .bash_profile file to include p-env shims path in the PATH variable.
- Create a new virtual environment using "python -m v-env" and activate it with "source."
- To exit the virtual environment, use the "deactivate" command.
--
P.S. Why did the developer always keep an AWS Cloud9 terminal handy? Because they knew it was the best way to "bash" their problems away!
Негізгі бет AWS Cloud9 👉 Upgrade Python Tutorial 🔥
No video
Пікірлер: 4