![]() To exit from the Python virtual environment, run the following command: deactivate Conclusion If you want to remove this package, run the command below: pip3.10 uninstall apache-airflow Now, you can use the PIP package manager to install any package and dependencies inside your virtual environment.įor example, run the following command to install apache-airflow: pip3.10 install apache-airflow You will get the following shell: (app_env) ~]# Next, activate the virtual environment using the following command: source app_env/bin/activate To create a virtual environment named app_env, run the following command: python3.10 -m venv app_env Python provides a venv module that allows you to create a virtual environment and deploy your application in an isolated environment. Step 4 – Create a Virtual Environment in Python You will get the following output: Python 3.10.0 Next, start the build process using the following command: make -j 2įinally, install Python 3.10 by running the following command: make altinstallĪfter the successful installation, verify the Python installation using the following command: python3.10 -version Next, change the directory to the extracted directory and configure Python using the following command: cd Python-3.10.0 Once the download is completed, extract the downloaded file using the following command: tar -xf Python-3.10.0.tar.xz Step 3 – Install Python 3.10 on Rocky Linux 8įirst, go to the Python official download page and download the latest version of Python using the following command: wget Once all the dependencies are installed, you can proceed to the next step. You can install all of them by running the following command: dnf install curl gcc openssl-devel bzip2-devel libffi-devel zlib-devel wget make -y dnf update -y Step 2 – Install Required Dependenciesįirst, you will need to install some dependencies required to compile Python 3.10. Once you are logged in to your server, run the following command to update your base system with the latest available packages. Connect to your Cloud Server via SSH and log in using the credentials highlighted at the top of the page. Create a new server, choosing Rocky Linux 8 as the operating system with at least 2GB RAM. ![]() Step 1 – Create Atlantic.Net Cloud Serverįirst, log in to your Atlantic.Net Cloud Server.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |