Are you familiar with python virtual environments? Basically, what you want to do is create a new virtual environment using Python 3.10, then install your dependencies into that virtual environment. Here's a quick list to get you started: Install python3.10: dnf install python3.10 Move to where you are editing/creating code: cd "" Create a new virtual environment: python3.10 -m venv .venv Activate the virtual environment: . .venv/bin/activate Install your dependencies: pip install PyQt5 psutil Note: every time you open a new terminal to work on your project, you need to activate the virtual environment (step 4). As a tip, you can check which python you're using by typing which python, and it should give you "/.venv/bin/python". This question is generally related to python, not Fedora, so this can be used on other Linux systems (possibly even Windows and Mac). If you're unfamiliar with virtual environments, I'd suggest reading up on it as it's an important part of python development. Lots of good guides can be found with a google search. Answer from L346 on reddit.com
🌐
Fedora Developer Portal
developer.fedoraproject.org › tech › languages › python › python-installation.html
Python — Fedora Developer Portal
It will keep the dependencies you need in one place and you do not have to worry about different projects which need different versions of the same module. It also makes it easy to collaborate with people who don’t use Fedora yet. Let’s create a virtual environment called project_venv which will contain Python and pip. You can use pip to install a project’s dependencies.
🌐
The New Stack
thenewstack.io › home › set up python on fedora linux: 4 steps
Set up Python on Fedora Linux: 4 Steps - The New Stack
January 13, 2025 - Install Python (if it’s not installed by default). Add the Pip package manager and install libraries. Create a virtual environment. Install an IDE. Before starting, be sure to get the latest version of Fedora Linux. At the time of writing, that is Fedora 39.
🌐
GitHub
gist.github.com › zobayer1 › 8f1477af1d6152671824ca737143ea75
Install Python 3.6, 3.7, 3.8 in your Fedora system · GitHub
Install python development dependencies. sudo dnf groupinstall "Development Tools" sudo dnf install python3-devel openssl-devel zlib-devel bzip2-devel sqlite-devel libffi-devel
🌐
Fedora Project
fedoraproject.org › labs › python-classroom
Fedora Python Classroom Lab | The Fedora Project
March 10, 2026 - No files available for this version. Getting started with Fedora Linux is easier than ever. All you need is a 4GB USB flash drive and the Fedora Media Writer utility. After Fedora Media Writer is installed, you can use it to write a "Live" version of Fedora Linux to a flash drive.
🌐
Reddit
reddit.com › r/fedora › fedora 37: setup python 3.10 environment?
r/Fedora on Reddit: Fedora 37: Setup python 3.10 environment?
November 28, 2022 -

Hi,

I have a python 3 requirement for 3.10 but F37 ships with 3.11. I know I can install Python 3.1o with dnf:

dnf install python3.10

But I also need PyQt 5.6.0+ & psutil 5.0.0+ for 3.10, can this be done?

Top answer
1 of 3
13
Are you familiar with python virtual environments? Basically, what you want to do is create a new virtual environment using Python 3.10, then install your dependencies into that virtual environment. Here's a quick list to get you started: Install python3.10: dnf install python3.10 Move to where you are editing/creating code: cd "" Create a new virtual environment: python3.10 -m venv .venv Activate the virtual environment: . .venv/bin/activate Install your dependencies: pip install PyQt5 psutil Note: every time you open a new terminal to work on your project, you need to activate the virtual environment (step 4). As a tip, you can check which python you're using by typing which python, and it should give you "/.venv/bin/python". This question is generally related to python, not Fedora, so this can be used on other Linux systems (possibly even Windows and Mac). If you're unfamiliar with virtual environments, I'd suggest reading up on it as it's an important part of python development. Lots of good guides can be found with a google search.
2 of 3
3
Toolbox. You get into the toolbox, install whatever in it. What happens in the toolbox stays in the toolbox. sudo dnf install toolbox toolbox create theonewhereiinstallpython310 toolbox enter theonewhereiinstallpython310 command that installs whatever version of python install other stuff that you might need just for that project profit toolbox exit All the stuff you installed in the toolbox is gone! (It's not gone, it's in the toolbox. Do 3. again and it'll all be there)
Find elsewhere
🌐
Streamlit
docs.streamlit.io › get-started › installation
Install Streamlit - Streamlit Docs
Install Streamlit using the Anaconda Distribution graphical user interface. This is also the best approach if you're on Windows or don't have Python set up.
🌐
Fedora Project
fedoraproject.org
Fedora Linux | The Fedora Project
Here you will find the Minimal Fedora Linux image, Fedora's online installer, versions of Fedora Linux packaged as containers that can be run on other operating systems, BitTorrent links, and more.Learn more
🌐
Pygame
pygame.org › wiki › GettingStarted
GettingStarted - pygame wiki
Make sure you install python with the "Add python to PATH" option selected.
🌐
scikit-learn
scikit-learn.org › stable › install.html
Installing scikit-learn — scikit-learn 1.9.0 documentation
sudo apt-get install python3-sklearn python3-sklearn-lib python-sklearn-doc · The Fedora package is called python3-scikit-learn for the python 3 version, the only one available in Fedora.
🌐
Yarn
classic.yarnpkg.com › lang › en › docs › install
Installation | Yarn
On CentOS, Fedora and RHEL, you can install Yarn via our RPM package repository.
🌐
Poppler
poppler.freedesktop.org
Poppler
Fedora 44 (mingw and clazy) Android (via KDE Android docker images) There are a few non official CI too: FreeBSD and macOS (14, 15 and 26): https://github.com/tsdgeos/poppler_mirror/actions/workflows/cmake.yml · Windows: https://ci.appveyor.com/project/tsdgeos/poppler-mirror ·
🌐
Hacker News
news.ycombinator.com › item
I switched over to Nix about a year ago. I was a Windows user before that for 30... | Hacker News
March 23, 2026 - Basically, I want to be able to run completely unverified code off of the internet on my local machine, and know that the worst thing it can possibly due is trash its own container · I feel like NixOS, is one path toward getting to that future
🌐
Graphviz
graphviz.org › download
Download | Graphviz
sudo apt install graphviz · Fedora project*, Rocky Linux, Redhat Enterprise Linux, or CentOS* sudo dnf install graphviz · Stable Windows install packages, built with Microsoft Visual Studio 16 2019 (< Graphviz 12) or Microsoft Visual Studio 17 2022 (≥ Graphviz 12): graphviz-15.0.0 ·
🌐
Pandas
pandas.pydata.org › docs › getting_started › install.html
Installation — pandas 3.0.3 documentation
Additionally, it is recommended to install and run pandas from a virtual environment. conda create -c conda-forge -n name_of_my_env python pandas # On Linux or MacOS source activate name_of_my_env # On Windows activate name_of_my_env
🌐
Python
wiki.python.org › moin › BeginnersGuide › Download
BeginnersGuide/Download
You should download and run the installer from that page to get the latest version of Python for your system.
🌐
Fedoralovespython
fedoralovespython.org
Fedora Loves Python
Fedora repositories include many versions of Python: CPython in multiple 3.X and 2.X versions, PyPy 2 and 3 and even MicroPython. Testing Python code on different interpreters has never been easier. You can sudo dnf install the Python you need, or you can install a bunch of them with sudo dnf ...
🌐
Anaconda
anaconda.com › home › free download
Download Anaconda Distribution | Anaconda
April 8, 2025 - Install Python, Jupyter, and thousands of data science packages in one step.