All Questions
Tagged with python-2.7 macos
983
questions
0
votes
1
answer
604
views
How to use Anaconda to create an environment on Mac M1 using python 2.7?
I am trying to create an environment on my mac m1 using Anaconda using python 2.7. So I use : conda create -n py27 python=2.7
But it gives error:
Collecting package metadata (current_repodata.json): ...
-1
votes
1
answer
32
views
Unable to run python
Error: Can't find Python executable "python", you can set the PYTHON env variable.
Unable to run python while running service in Intellij.
Running python should work on my mac.
1
vote
0
answers
94
views
MacOS Big Sur: Python Quit Unexpectedly
I just upgraded from Mojave to Big Sur 11.7.1 and I'm trying to run an open source program through Python 2.7. I had no problem running the file with Python prior to updating, but now I'm unable to ...
1
vote
2
answers
974
views
ERROR: The Python zlib extension was not compiled. Missing the zlib?
I'm trying to install Python 2.7.7 using Homebrew AND pyenv on my Mac (MacBook Air, OSX 12.5 Monterrey, 1.6 GHz Dual-Core Intel Core i5) but keep getting this “Missing zlib” error.
Just for ...
1
vote
0
answers
2k
views
How do you install the 'python' command on MacOS v12 Monterey?
I want the python command to work in the zsh terminal and launch python 2.7.
Please Note
Python 2 is NOT pre-installed in MacOS. That ended with v12 MacOS Monterey.
I am NOT looking for Python 3. I ...
3
votes
0
answers
724
views
pyenv unable to install python2.7.7 - fails at final step trying to install pip
I'm trying to install python2.7 on my MacBook with OS Monterey 12.3.1 with the following command:
$ export LDFLAGS="-L/usr/local/opt/zlib/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/sqlite/...
0
votes
1
answer
1k
views
Python 2 and pyenv: build with shared libraries on macOS
I'm trying to install Python 2 with pyenv and shared libraries on macOS 12.3.1 with the command:
export PYTHON_CONFIGURE_OPTS="--enable-shared" && pyenv install 2.7.18
But I get the ...
42
votes
3
answers
80k
views
How to install Python 2 on macOS 12.3+
macOS 12.3 update drops Python 2 and replaces it with version 3:
https://developer.apple.com/documentation/macos-release-notes/macos-12_3-release-notes
Python
Deprecations
Python 2.7 was removed from ...
0
votes
2
answers
897
views
Adding Python 2.7 to an app packet after macOS 12.3 does no longer include Python
Last year I got a PortJump packet from Codeweavers for an open source Windows software, not knowing that it uses Python 2.7 supplied by macOS < 12.3 only (Python 2.7 was marked deprecated by 2020 ...
0
votes
1
answer
1k
views
virtualenv: OSError: [Errno 62] Too many levels of symbolic links:
OSError: [Errno 62] Too many levels of symbolic links: '/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config/Makefile'
I get this error when running virtualenv env in any folder. ...
0
votes
1
answer
2k
views
Simple reverse shell Python 2.7
So I'm doing some work with my Maldiono, and I'm testing how this works on OSX.
Now using this code as a one liner in python2.7 works fine.
from os import dup2
from subprocess import call
import ...
1
vote
0
answers
691
views
How to set MacOS Screen Time Passcode using terminal?
As an exercise in terminal (and perhaps other programming languages such as Python), I am trying to accomplish the following task. (My machine is MacOS Version 10.15.7, if that matters.)
Task. Create ...
49
votes
4
answers
65k
views
Install python@2 on Mac with M1 chip
Long story short, I want to install Apache Cassandra on a MacBook Pro with M1 chipset.
In order to install it, one must install other softwares before, one of them being python which must be updated ...
1
vote
1
answer
1k
views
Mac with two Python version (2.7 and 3.9) but pointing to 2.7
I'm trying to install AWS cli (https://docs.aws.amazon.com/cli/latest/userguide/install-macos.html) in my mac (Big Sur 11.5.2).
When I try I got an error saying python 2.7 is old and I need at least ...
0
votes
1
answer
801
views
getattr(sys, 'frozen', False) problem in 2 different packaged executables
I am new to converting python scripts into executables and chanced upon Pyinstaller.
I have a script (Script #1) that using Python2.7 and managed to package the script using the codes pyinstaller test....