安装simhash-py 报错( ERROR: Command errored out with exit status 1)
通过 pip install simhash-py
的时候报错了
ERROR: Command errored out with exit status 1: /Users/bot/.local/share/virtualenvs/lsh-a35X0J2L/bin/python -u -c 'import io, os, sys, setuptools, tokenize;
sys.argv[0] = '"'"'/private/var/folders/3r/fkd7zds92j16b43nby2yv8s80000gn/T/pip-install-qmuxdbky/simhash-py_5d2cb37fa97c47b4a75e29b240ddaa1f/setup.py'"'"';
__file__='"'"'/private/var/folders/3r/fkd7zds92j16b43nby2yv8s80000gn/T/pip-install-qmuxdbky/simhash-py_5d2cb37fa97c47b4a75e29b240ddaa1f/setup.py'"'"';
f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup;
setup()'"'"');
code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');
f.close();
exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/3r/fkd7zds92j16b43nby2yv8s80000gn/T/pip-record-t30wwojq/install-record.txt --single-version-externally-managed --compile --install-headers /Users/bot/.local/share/virtualenvs/lsh-a35X0J2L/include/site/python3.9/simhash-py Check the logs for full command output.
【安装simhash-py 报错( ERROR: Command errored out with exit status 1)】原因是因为 simhash-py 不支持 python3.9(改库已经废弃,最高支持到 3.8) ,需要使用simhash 功能的话,安装 simhash 库就好了,使用一下命令:
pip install simhash
推荐阅读
- Mac安装Chromedriver
- MongoDB,Wondows下免安装版|MongoDB,Wondows下免安装版 (简化版操作)
- MAC安装Mongo
- 【Hadoop踩雷】Mac下安装Hadoop3以及Java版本问题
- react|react 安装
- VueX--VUE核心插件
- python-安装sublime遇到异常
- typeScript入门基础介绍
- 接口|axios接口报错-参数类型错误解决
- 监控nginx