无法安装quandl

使用以下命令

pip install quandl

出现以下错误:

build/temp.linux-x86_64-2.7/_openssl.c:434:30: 致命错误:openssl/opensslv.h:无此文件或目录编译终止。错误:命令 'x86_64-linux-gnu-gcc' 以退出状态 1 失败----------------------------------------命令 "/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=" 在 /tmp/pip-build-i9EhxV/cryptography/ 中以错误代码 1 失败

回答:

如上所述,您需要安装 —libssl-dev—,并且必须将 quandl 全部使用小写字母(而不是您使用的大写字母)…”import quandl”。

Related Posts

使用LSTM在Python中预测未来值

这段代码可以预测指定股票的当前日期之前的值,但不能预测…

如何在gensim的word2vec模型中查找双词组的相似性

我有一个word2vec模型,假设我使用的是googl…

dask_xgboost.predict 可以工作但无法显示 – 数据必须是一维的

我试图使用 XGBoost 创建模型。 看起来我成功地…

ML Tuning – Cross Validation in Spark

我在https://spark.apache.org/…

如何在React JS中使用fetch从REST API获取预测

我正在开发一个应用程序,其中Flask REST AP…

如何分析ML.NET中多类分类预测得分数组?

我在ML.NET中创建了一个多类分类项目。该项目可以对…

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注