我和一位同事有一个很大的 Docker 难题。
当我们运行以下命令时,我们会得到不同的结果。
docker run -it python:3.8.6 /bin/bash
pip install fbprophet
Run Code Online (Sandbox Code Playgroud)
对我来说,它安装得很好,而对他来说,它会产生错误并且无法安装。我认为 docker 的全部意义在于防止这种问题,所以我真的很困惑。
我在下面提供更多细节,但我的主要问题是:
我们都在 Catalina 上的具有相似规格的新 MacBook Pro 上运行 Docker。他的 Docker 引擎版本 20.xx 比我的 19.XX 略新 还有:
结果总是一样:他得到错误而我没有。
他得到的错误如下。
Error:
Installing collected packages: six, pytz, python-dateutil, pymeeus, numpy, pyparsing, pillow, pandas, korean-lunar-calendar, kiwisolver, ephem, Cython, cycler, convertdate, tqdm, setuptools-git, pystan, matplotlib, LunarCalendar, holidays, cmdstanpy, fbprophet
Running setup.py install for fbprophet ... error
ERROR: Command errored out …Run Code Online (Sandbox Code Playgroud) 我想在 Windows 10 上安装 fbprophet 而不必安装 Anaconda。我有 python 3.7。我已经尝试了在 Windows 10 上安装 fbprophet Python 的所有建议,但没有成功。
到目前为止,我已经安装了 pystan,因为在安装 fbprophet 之前需要它,但是当我运行时pip install fbprophet,我得到了很多红色输出,并出现以下错误:
Building wheels for collected packages: fbprophet
Building wheel for fbprophet (setup.py) ... error
...
...
...
ImportError: DLL load failed: Specified module not found.
----------------------------------------
ERROR: Failed building wheel for fbprophet
Run Code Online (Sandbox Code Playgroud)
任何帮助表示赞赏。