Tag Archives: Mac Install uwsgi Error

[Solved] Mac Install uwsgi Error: clang: error: no such file or directory: ‘/Users/steven/PycharmProjects/pythonProject/venv/lib/python3.8/config-3.8/libpython3.8.a’

I just changed the mac, install uwsgi and report an error:

1
clang: error: no such file or directory: '/Users/steven/PycharmProjects/pythonProject/venv/lib/python3.8/config-3.8/libpython3.8.a'

 

Solutions:

Global search libpython3.8.a

search results:

1
/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/config-3.8-darwin/libpython3.8.a

 

Solution:

1
2
3
4
5
6
cp -rf /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/config-3.8-darwin
 /Users/steven/PycharmProjects/pythonProject/venv/lib/python3.8
mv config-3.8-darwin  config-3.8

 

Perform the installation again:

1
pip install uwsgi