🌐
Reddit
reddit.com › r/learnpython › where is python installed on linux
r/learnpython on Reddit: Where is python installed on Linux
February 10, 2021 -

Hi, I have anaconda installed, so typing:

which python

just returns the anaconda path, however, I need to unearth the standard install location as a script is annoyingly asking for python2.7. Google unfortunately only tells you how to install it, and I know that, I've just forgotten where the binary is usually located on linux and google won't tell me that no matter what I type in.

UPDATE: Thanks guys, I found it looking in /usr/bin/ and /usr/local/bin/ and to my delight, it's not there, Just upgraded to Linux Mint 20 and there is python3.8. lovely.

Discussions

Python Installation
Hello, I recently got python downloaded in my system. able to open all terminals, Idle windows able to access Pycharm. but really not sure where is the exact location of Python installed when i try to check from Command prompt. I wanted to add Environmental Variables. Please help. More on discuss.python.org
🌐 discuss.python.org
0
0
December 7, 2023
Python 3 install location - Stack Overflow
I am using Ubuntu 16.04 . Where is the python 3 installation directory ? Running "whereis python3" in terminal gives me: python3: /usr/bin/python3.5m-config /usr/bin/python3 /usr/bin/python3.... More on stackoverflow.com
🌐 stackoverflow.com
python installed but I can't find it
I have OpenSuse11.2 and I’m a bit of a Linux newbie. I know that Python is installed but I can’t find it. I’m using the KDE desktop, and I go to the Application launcher, Applications, and the first item should be Development or something like that, but my first item is Edutainment. More on forums.opensuse.org
🌐 forums.opensuse.org
0
0
January 4, 2010
How do I know python path on linux ubuntu? - Stack Overflow
In ubuntu linux if we want to set up python path we do something like this: export PYTHONPATH=/etc ... Now, how I would know what the current path I have? More on stackoverflow.com
🌐 stackoverflow.com
🌐
Quora
quora.com › How-can-I-find-where-Python-is-installed-on-Linux
How to find where Python is installed on Linux - Quora
Answer (1 of 19): It depends on what you mean by “installed.” The binary can be located with the which command, but you might also care where components of the python library are. You can run your version of python and type: [code]import sys sys.path [/code]On my system, I get: [code]['', ...
🌐
Python.org
discuss.python.org › python help
Python Installation - Python Help - Discussions on Python.org
December 7, 2023 - Hello, I recently got python downloaded in my system. able to open all terminals, Idle windows able to access Pycharm. but really not sure where is the exact location of Python installed when i try to check from Command…
🌐
GeeksforGeeks
geeksforgeeks.org › python › how-to-install-python-on-linux
How to Install Python on Linux - GeeksforGeeks
July 12, 2025 - Note: If Python is installed, the terminal will display its version number. If not, the terminal will return a "command not found" error, indicating that Python needs to be installed. Open your terminal window using the shortcut key Ctrl + Alt + T · Use the following command to verify the Pre-Installed Python 3 Version in your Linux Laptiop.
Find elsewhere
🌐
openSUSE Forums
forums.opensuse.org › english › applications
python installed but I can't find it - Applications - openSUSE Forums
January 4, 2010 - I have OpenSuse11.2 and I’m a bit of a Linux newbie. I know that Python is installed but I can’t find it. I’m using the KDE desktop, and I go to the Application launcher, Applications, and the first item should be Devel…
🌐
AskPython
askpython.com › home › finding where python is installed (when it isn’t the default dir)
Finding Where Python Is Installed (when it isn't the default dir) - AskPython
April 10, 2025 - Most Linux/Unix systems have Python pre-installed and available globally via the shell. You can find where it’s located by using which python: ... This returns the path to the global Python executable in use.
🌐
Linux Mint Forums
forums.linuxmint.com › board index › main edition support › beginner questions
Is Python installed by default with Linux Mint? - Linux Mint Forums
April 15, 2021 - Fran_3 wrote: ⤴Thu Apr 15, 2021 7:29 pm So to launch Python from the prompt I enter... python3.8 right? In Linux Mint 20.x /usr/bin/python is a symbolic links to /usr/bin/python3 So to start python 3.8.x just enter python at command promt.
🌐
Python Packaging
packaging.python.org › tutorials › installing-packages
Installing Packages — Python Packaging User Guide
It’s recommended to write {sys.executable} rather than plain python in order to ensure that commands are run in the Python installation matching the currently running notebook (which may not be the same Python installation that the python command refers to). ... Due to the way most Linux distributions are handling the Python 3 migration, Linux users using the system Python without creating a virtual environment first should replace the python command in this tutorial with python3 and the python -m pip command with python3 -m pip --user.
🌐
Raspberry Pi Forums
forums.raspberrypi.com › board index › programming › python
Where are python libraries installed to? - Raspberry Pi Forums
Raspberry Pi 3 B and B+ PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" ... Mon May 14, 2018 10:55 pm When I use pip to install python libraries, where in the folder hierarchy do they go? For a single user (i.e. not using sudo), usually in ... /usr/lib/python2.7 Normally Python then uses the sub-directory site-packages but Debian based installs (of which Raspbian is) use the sub-directory dist-packages.
🌐
pip
pip.pypa.io › en › stable › installation
Installation - pip documentation v26.0.1
Depending on how you installed Python, there might be other mechanisms available to you for installing pip such as using Linux package managers. These mechanisms are provided by redistributors of pip, who may have modified pip to change its behaviour. This has been a frequent source of user confusion, since it causes a mismatch between documented behaviour in this documentation and how pip works after those modifications. If you face issues ...
🌐
Kinsta®
kinsta.com › home › resource center › blog › python › how to install python on windows, macos, and linux
How To Install Python on Windows, macOS, and Linux - Kinsta®
November 17, 2025 - To install or update Python on your Linux machine, follow these steps: ... Open a terminal window and type the following command to check if Python is already installed on your system:
🌐
nixCraft
cyberciti.biz › nixcraft › howto › python › how to find python version on linux or unix
How To Find Python Version on Linux or Unix - nixCraft
March 27, 2023 - To find out which version of Python programming language you have installed on your Linux or Unix-like system, you can use the following command in your Linux/Unix terminal or shell prompt: $ python --version $ python2 --version ... If you get python: command not found, error means either the Python is not your $PATH setting or it is not installed at all.
🌐
Oracle
docs.oracle.com › en › database › oracle › machine-learning › oml4py › 2 › mlpug › build-and-install-python-linux-premises-databases.html
Build and Install Python for Linux for On-Premises Databases
April 15, 2025 - Be sure to invoke make altinstall instead of make install to avoid overwriting the system Python. Make Python libraries available and add Python3.12 bin folder to the path. export LD_LIBRARY_PATH=$PYTHONHOME/lib:$LD_LIBRARY_PATH export PATH=$PYTHONHOME/bin:$PATH · Verify that Python was compiled correctly. ... Python 3.12.0 (main, Apr 5 2024, 18:58:17) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44.0.3)] on linux Type "help", "copyright", "credits" or "license" for more information.
🌐
Zomro
zomro.com › blog › articles › 507-installing-python-on-linux-several-ways
Installing Python on Linux. Several ways | Zomro
September 16, 2024 - We have considered 3 different ways to install Python versions on Linux. The most convenient method is installation via the system package manager, as the installation takes 2-3 commands, however, when various applications with different versions may be hosted on the server - it is better to choose installation via Pyenv.