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 |
Similar Posts:
- [Solved] Python 3.9 Start Ride error: Attributeerror: ‘MenuItem’ object has no attribute ‘getlabel’
- Go build error after MacOS Monterey system upgrade [How to Solve]
- [Solved] Runtime Warning: Font Glyph 20108 is missing. Font.set Fu text (s,0.0,flags=flags), RuntimeWarningGlyph20108missingfromcurrentfontfontsettexts00flagsflags
- Mac OS uses pip to install pandas prompt cannot install ‘numpy’ solution
- Symbol not found: __PyCodecInfo_GetIncrementalDecoder
- You-get Warning urllib.error.URLError:
- xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
- [Solved] Windows installation uwsgi error: AttributeError: module’os’ has no attribute’uname’
- Error in python2.7 installation of pycrypto Library [How to Solve]
- Super detail: command not found: the scratch solution (add the scratch environment variable to Zsh under MAC)