使用以下命令
pip install quandl
出现以下错误:
build/temp.linux-x86_64-2.7/_openssl.c:434:30: fatal error: openssl/opensslv.h: No such file or directory
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-i9EhxV/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-8wUBuY-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-i9EhxV/cryptography/
最佳答案
如上所述,您必须安装 ---libssl-dev--- 并且必须将 quandl 全部小写(而不是像您那样大写)...“import quandl”。
关于python - 无法安装 quandl,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42954849/