So apparently the command is

./configure --prefix=/Users/(username)/path/to/wherever --enable-shared

I just made a new folder and stuck Python in there. After that I just had to change the PATH variable and it worked fine from the terminal as well.

Answer from Ryan A on Stack Exchange
Discussions

Can’t install python on my work computer due to IT lockdown and requiring admin credentials. Any suggestions for a newbie looking to learn?

Repl.it is a cloud based editor

More on reddit.com
🌐 r/learnpython
134
175
November 17, 2020
How to learn Python without admin rights
Google Colab is the way to go More on reddit.com
🌐 r/learnpython
50
7
November 24, 2025
python 3.x - How to install python3 without admin rights on Windows? - Stack Overflow
I want to install python3 on a computer that I do not have admin rights. Are there any ways to go around ? Thanks. More on stackoverflow.com
🌐 stackoverflow.com
numpy - How to install python packages without root privileges? - Stack Overflow
I am using numpy / scipy / pynest to do some research computing on Mac OS X. For performance, we rent a 400-node cluster (with Linux) from our university so that the tasks could be done parallel. The More on stackoverflow.com
🌐 stackoverflow.com
🌐
Travis Illig
paraesthesia.com › archive › 2023 › 09 › 28 › being-productive-with-zero-admin-on-macos
Being Productive with Zero Admin on MacOS
September 28, 2023 - However, if you have configuration settings you may need to set (for example, trusted-host), with Python being in your user folder, you may not have the rights to write to /Library/Application Support/pip to set a global config. However, sometimes these installers ignore user-level config. In this case, you may need to put your pip.conf in the folder with Python, for example ~/local/opt/python@3.12/Frameworks/Python.framework/Versions/3.12/pip.conf. Hopefully this gets you bootstrapped into a dev machine without requiring admin permissions.
🌐
eddieantonio/blog
eddieantonio.ca › blog › 2020 › 01 › 26 › installing-python-on-macos
Installing Python on macOS (without going insane) | eddieantonio/blog
January 26, 2020 - The problem with this is that Python installs itself in a place that is difficult to manage without using administrator (i.e., sudo) privileges. This is okay for beginners, or people who only touch Python every so often. However, for my use cases, where I’m testing my code in multiple versions of Python, and have multiple virtual environments, this becomes bad news. If you haven’t used Homebrew to install things on your Mac, go get it right now!
🌐
Medium
medium.com › @data2action › how-to-install-python-without-administrator-account-a9fd607fab08
How to install Python without Administrator Account? | Medium
November 4, 2021 - Have you tried to install Python in the workstation or you even tried to ask IT Department to install Python for you ? But you just can’t install or IT department can’t install for you. It took me a while to figure out. I found some comments online. The companies don’t install Python because there is no one knows how to use it or if you leave the current position, there is no one to maintain.
🌐
Medium
zeesh-ali.medium.com › how-to-install-python-package-libraries-without-admin-rights-386e581153e5
How to install Python package / libraries without Admin rights | by Zeeshan Ali | Medium
June 12, 2020 - One solution for this is to use executable method in sys package which will return the absolute path of the executable binary for Python against which we can run commands. We add !
Find elsewhere
🌐
Cornell Class Wiki
wiki.classe.cornell.edu › Computing › InstallingAnacondaPythonOnMac
Installing Anaconda Python On macOS
November 15, 2022 - You are here: CLASSE Wiki>Computing Web>MacSupport>InstallingAnacondaPythonOnMac (15 Nov 2022, AttilioDeFalco)Edit Attach · Anaconda Python can be installed by any CLASSE User, without Admin privileges, on any CLASSE Managed Mac.
🌐
GitHub
gist.github.com › roustem › ceb12b3a040424fbe90329aeb5454c24
How to install and use pip without sudo or admin on macOS · GitHub
How to install and use pip without ... Download the installation script; curl https://bootstrap.pypa.io/get-pip.py -o ~/Downloads/get-pip.py · Run the installation, appending the --user flag; python ~/Downloads/get-pip.py --user...
🌐
University of Colorado
oit.colorado.edu › services › web-content-applications › python-install-modules
Python - Install modules without root access | Office of Information Technology
This guide outlines several ways to install python modules on a remote host without root access. This is the recommended method, assuming user has access to pip. ... Anaconda is recommended if users do not have access to pip. If it is already installed, consult the Using Anaconda section below. 1. Check that anaconda isn't already installed with `which conda`. 2. Download the shell script from anaconda's website. To get the latest download url, go to Anaconda's website and right click the download button with the 'copy link' option.
🌐
YouTube
youtube.com › watch
Install Python on a locked down PC without local admin - YouTube
Learn how you can install Python on your PC even if you don't have local admin or if you are not able to run installers to install software on your PC.It is ...
Published: June 8, 2022
🌐
Reddit
reddit.com › r/learnpython › how to learn python without admin rights
r/learnpython on Reddit: How to learn Python without admin rights
November 24, 2025 -

Hi everyone, I want to learn Python during some free time at work and while commuting, but I can only use my work laptop. I don’t have admin rights and I can’t get IT to install Python for me. I tried the without admin versions and some other suggestions from older threads, but I couldn’t get pip or packages working properly I’m looking for a reliable way to get hands-on Python practice (running scripts, installing basic packages like requests/pandas, etc.) within my user account without coming into crosshairs of our IT team. Has anyone successfully set up a fully working Python environment (with pip) on a corporate locked-down Windows PC. Any working step-by-step solutions would be greatly appreciated!

🌐
Learn X in Y minutes
bcrf.biochem.wisc.edu › home › python › pycharm ide installation without admin
PyCharm IDE installation without Admin – Biochemistry Computational Research Facility (BCRF) – UW–Madison
April 8, 2026 - PyCharm is a popular Python Integrated development environment (IDE), a software application that helps manage writing computer code more efficiently. Until yesterday I did not know to install it on a Macintosh without Admin privileges. However, on a Mac is it very easy (Windows users see further below.) This post: Can I install programs on a Mac without admin rights?
🌐
Plain English
plainenglish.io › home › blog › python › install python on a locked-down pc without local admin
Install Python on a Locked-Down PC Without Local Admin
June 27, 2022 - When you run the installer you will see the option “Install launcher for all users (recommended)”. Make sure this option is not selected as this will require local admin access.
🌐
Computing
pages.github.nceas.ucsb.edu › NCEAS › Computing › local_install_python_on_a_server.html
Installation of Python in your home directory (without sudo rights) | Computing
Create a virtual environement using the local installation: virtualenv virtalenv_name -p /home/<username>/.localpython/bin/python2.7 · Use the virutal env.: source ~/virtualenv-1.9/virtalenv_name/bin/activate ... http://opensourcehacker.com/2012/09/16/recommended-way-for-sudo-free-installation-of-python-software-with-virtualenv/
🌐
Medium
medium.com › data-science › how-to-use-python-without-administrative-right-at-your-workplace-a50ee2ee2267
How to use Python without administrative right | by Suradech Kongkiatpaiboon | TDS Archive | Medium
February 20, 2020 - The first recommended software is to use Anaconda as it comes with the majority of useful handy packages, and it can be installed directly to your working machine in portable mode without requiring administrative right.
🌐
DEV Community
dev.to › davidkou › install-mac-apps-without-admin-rights-1g24
Install Mac Apps without admin rights - DEV Community
December 24, 2022 - If you are interested to know how ... without Admin rights. ... As usual, download the App installer to your local Mac computer, where you logged in as a user without admin rights....
Top answer
1 of 4
45

You don't need root privileges to install packages in your home directory. You can do that with a command such as

pip install --user numpy

or from source

python setup.py install --user

See https://stackoverflow.com/a/7143496/284795


The first alternative is much more convenient, so if the server doesn't have pip or easy_install, you should politely ask the admins to add it, explaining the benefit to them (they won't be bothered anymore by requests for individual packages).

2 of 4
12

You could create a virtual environment through the virtualenv package.

This creates a folder (say venv) with a new copy of the Python executable and a new site-packages directory, into which you can "install" any number of packages without needing any kind of administrative access at all. Thus, activating the environment through source venv/bin/activate will give Python an environment that's equivalent to having those packages installed.

I know this works for SGE clusters, although how the virtual environment is activated might depend on your cluster's configuration.

You can try installing virtualenv on your cluster within your own site-packages directory using the following steps:

  1. Download virtualenv from here, put it on your cluster

  2. Install it using setup.py to a specific, local directory to serve as your own site-packages:

    python setup.py build
    python setup.py install --install-base /path/to/local-site-packages
    
  3. Add that directory to your PYTHONPATH:

    export PYTHONPATH="/path/to/local-site-packages:${PYTHONPATH}"
    
  4. Create a virtualenv:

    virtualenv venv