我一直在尝试在Heroku中部署一个使用库TA-lib的应用程序,然而,我仍然得到了一个ModuleNotFoundError,即使我已经将库TA-Lib放入了requirements.txt中,并且还试图将.whl文件放入requirements.txt中
TA_Lib-0.4.17-cp36-cp36m-win_amd64.whl #I am using Python 3.6.13 in Heroku server
streamlit==0.49.0
altair==3.2.0
sklearn
pandas
numpy
plotly
matplotlib
seaborn
IPython
tqdm
alpha_vantage
xgboost
yfinance
lxml是否有其他方法可以在服务器中安装.whl文件?
发布于 2021-09-29 19:36:59
正如truf在评论部分提到的-我的问题是首先安装TA-Lib。因此,在为Heroku中的构建包添加部分,我添加了https://github.com/aneesh-neelam/heroku-buildpack-python-talib。这样,我就可以正确地运行服务器。
https://stackoverflow.com/questions/67434606
复制相似问题