python setup.py install fails on my OS X machine
See original GitHub issueRelatively fresh machine:
janjon01:~/repos/mbed-cli (master) $ python setup.py install
running install
error: can't create or remove files in install directory
The following error occurred while trying to add or remove files in the
installation directory:
[Errno 2] No such file or directory: '/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/test-easy-install-70456.write-test'
The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/
This directory does not currently exist. Please create it and try again, or
choose a different installation directory (using the -d or --install-dir
option).
Issue Analytics
- State:
- Created 7 years ago
- Comments:14 (13 by maintainers)
Top Results From Across the Web
Installation using setup.py is now impossible on macOS Big Sur
I have 2 of my projects that install perfectly fine on ubuntu, both require python3.8, both are installable using python setup.py install ......
Read more >How to fix 'setup.py –no-user-cfg install' error for pip on macOS
In order to fix the 'setup.py –no-user-cfg install' error, and install pip on macOS, you need to use a different command. Open Terminal,...
Read more >How to set up Setuptools for Python on MacOS?
Method 1: Using pip to install Setuptools Package ; Step 1: Install the current version of Python3 in macOS. ; Step 2: Check...
Read more >2. Writing the Setup Script — Python 3.11.1 documentation
The Distutils ' own setup script, shown here, is used to install the package ... a file foo/__init__.py (which might be spelled differently...
Read more >Install spaCy · spaCy Usage Documentation
How to do that depends on your system. See notes on Ubuntu, macOS / OS X and Windows for details. python -m pip...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Have you tried
sudo python setup.py install
?fixes it