我已经下载从GitHub死简单的Windows程序(这个如果是相关的)。我将它下载为 ZIP 文件,但我不知道如何安装它。我认为它是用 C 编写的。我需要编译器吗?(Visual Studio?)有什么我遗漏的简单东西吗?
我想在 Docker 容器中安装fbprophet 。我的 Dockerfile 如下所示:
FROM python:3.7
RUN pip install --upgrade pip
RUN pip install fbprophet
Run Code Online (Sandbox Code Playgroud)
使用以下堆栈跟踪在“pip install fbprophet”步骤中构建图像错误:
Running setup.py install for fbprophet ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-7ei5jssc/fbprophet_9a3a667ec353402389a02258feccfe51/setup.py'"'"'; __file__='"'"'/tmp/pip-install-7ei5jssc/fbprophet_9a3a667ec353402389a02258feccfe51/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-741oj2zp/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.7m/fbprophet
cwd: /tmp/pip-install-7ei5jssc/fbprophet_9a3a667ec353402389a02258feccfe51/
Complete output (10 lines):
running install
running build
running build_py
creating build
creating build/lib
creating build/lib/fbprophet
creating …Run Code Online (Sandbox Code Playgroud)