When installing Virtualenv install I get locustio error 1
run in terminal xcode-select --install
this will install the xcode comand line tools (not xcode itself), you will be asked for a password and to agree to a license.
This happens because one (or more) of the packages include C extensions that need compilation, and to compile the xcode command line tools are needed.
A separate solution would be to install Anaconda python, miniconda if you don't need packages for scientific python, this python distribution includes a package manager (conda) that work much like pip but with the advantage of having precompiled packages
install bottleneck by pip error (macos) ERROR: Failed building wheel for bottleneck; error: command 'gcc' failed with exit status 1
The problem is that Xcode Command-line Tools needs to be updated.
Go back to your terminal:
xcode-select --install
You'll then receive:
xcode-select: note: install requested for command line developer tools
And be prompted in a window to update Xcode Command Line tools.
After the update is completed, open a new terminal window and your development tools should be returned.
Addition: With any major or semi-major update you'll need to update the command line tools in order to get them functioning properly again. Check Xcode with any update. This goes beyond Mojave...
After that restart your terminal
Getting Errors while installing airflow using pip install apache-airflow in macOS Catalina
Your issue is typically related to Xcode toolkit.
Type this command in your terminal
xcode-select --install
If that doesn't work, you can always try to update the toolkit first.
Related Topics
Efficient Numpy 2D Array Construction from 1D Array
Running a Process in Pythonw with Popen Without a Console
I Expect 'True' But Get 'None'
How Many Concurrent Requests Does a Single Flask Process Receive
Assignment Inside Lambda Expression in Python
How to Share Conda Environments Across Platforms
What Is the Most Efficient Way to Get First and Last Line of a Text File
How to Suppress the Newline After a Print Statement
Differencebetween Len() and Sys.Getsizeof() Methods in Python
How to Get the Nth Element of a Python List or a Default If Not Available
How to Read File N Lines at a Time
What Is a '"Python"' Layer in Caffe
Subprocess.Call() Arguments Ignored When Using Shell=True W/ List
Differencebetween Using Loc and Using Just Square Brackets to Filter for Columns in Pandas/Python
Str' Object Has No Attribute 'Decode'. Python 3 Error
How to Create a Read-Only Class Property in Python
2D List Has Weird Behavor When Trying to Modify a Single Value