所以,我一直在尝试使用this site上的说明为python pip install gutenberg安装gutenberg模块(使用brew而不是pip,因为我在mac上)。每次我尝试这么做,它都会返回以下信息:pip install gutenberg
Collecting gutenberg
Using cached Gutenberg-0.4.2.tar.gz
Collecting bsddb3>=6.1.0 (from gutenberg)
Using cached bsddb3-6.2.1.tar.gz
Complete output from command python setup.py egg_info:
Can't find a local Berkeley DB installation.
(suggestion: try the --berkeley-db=/path/to/bsddb option)
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/53/zsh0zhwx635d_rss6hkgrknr0000gn/T/pip-build-Mn4wGp/bsddb3/
因此,我使用brew(brew install berkeley-db)安装了berkeley数据库,错误发生了变化:
^{pr2}$
我尝试过简单的安装,重新安装安装工具,以及其他一些东西。以下是我尝试过的所有方法的链接:
当我说我已经试过所有的建议时,我真的是指上面链接中的所有建议,所以也许我在这个过程中弄错了什么。我不太清楚到底发生了什么,我已经花了好几个小时研究它,但还没有找到任何成功的解决方案。我不确定我是否遗漏了一些东西,但如果有人有任何建议,这将是真正的帮助。在
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)