mac pip install plyvel报错
程序员文章站
2024-03-21 14:36:16
...
mac安装plyvel报错
pip install plyvel报错信息
g++ -bundle -undefined dynamic_lookup -L/Users/lee/anaconda3/lib -arch x86_64 -L/Users/lee/anaconda3/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.7-x86_64-3.7/plyvel/_plyvel.o build/temp.macosx-10.7-x86_64-3.7/plyvel/comparator.o -lleveldb -o build/lib.macosx-10.7-x86_64-3.7/plyvel/_plyvel.cpython-37m-darwin.so
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated]
ld: library not found for -lstdc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'g++' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for plyvel
解决方式
sudo CFLAGS=-stdlib=libc++ pip install plyvel
Reference
推荐阅读
-
mac pip install plyvel报错
-
mac下brew install 报错
-
pip install browsercookie报错问题
-
Pycharm下载pyinstaller报错:You should consider upgrading via the 'python -m pip install --upgrade pip' command的解决方法
-
Pycharm下载pyinstaller报错:You should consider upgrading via the 'python -m pip install --upgrade pip' command的解决方法
-
解决pip install的时候报错timed out的问题
-
Python-pip3 install turtle报错ERROR: Command errored out with exit status 和setup.py-except ValueErro
-
windows终端输入pip install requests报错:Fatal error in launcher
-
python搭建环境:pip install -r requirements/base.txt时安装mysqlclient报错
-
pip install mysqlclient 报错 OSError: mysql_config not found