Closed carlok closed 1 year ago
Hi. This works for me.
FROM python:3.9.15
WORKDIR /app
RUN MINIMAL_KATS=1 pip install kats==0.2.0
Hi. This works for me.
FROM python:3.9.15 WORKDIR /app RUN MINIMAL_KATS=1 pip install kats==0.2.0
Thank you but even using your Dockerfile
, it still fails here with a log error like
#6 289.1 × python setup.py bdist_wheel did not run successfully.
#6 289.1 │ exit code: 1
#6 289.1 ╰─> [1 lines of output]
#6 289.1 Cython>=0.22 and NumPy are required.
#6 289.1 [end of output]
#6 289.1
#6 289.1 note: This error originates from a subprocess, and is likely not a problem with pip.
#6 289.1 ERROR: Failed building wheel for pystan
#6 289.1 Running setup.py clean for pystan
#6 289.6 Building wheel for pymeeus (setup.py): started
#6 290.2 Building wheel for pymeeus (setup.py): finished with status 'done'
As stated in the log (and according to dependencies of requirements.txt
) it should be something not related to pip
.
Here is the full log which I get
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for fbprophet
Running setup.py clean for fbprophet
Building wheel for pystan (setup.py): started
Building wheel for pystan (setup.py): finished with status 'error'
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
Cython>=0.22 and NumPy are required.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pystan
Running setup.py clean for pystan
Building wheel for pymeeus (setup.py): started
Building wheel for pymeeus (setup.py): finished with status 'done'
Created wheel for pymeeus: filename=PyMeeus-0.5.11-py3-none-any.whl size=730985 sha256=471f163d12e1548bf957beebe4110b7ea9de1ba3b803d7f5098f250ce897aa11
Stored in directory: /root/.cache/pip/wheels/33/3d/82/4579e9cca41ff991140b2e050bc6df3a38292f26e4fa06b15d
Successfully built pymeeus
Failed to build fbprophet pystan
Installing collected packages: setuptools-git, pytz, pymeeus, parameterized, korean-lunar-calendar, iniconfig, ephem, wrapt, typing-extensions, typeguard, tqdm, tomli, threadpoolctl, tenacity, six, pyparsing, pluggy, pillow, numpy, MarkupSafe, llvmlite, kiwisolver, joblib, hijri-converter, fonttools, exceptiongroup, Cython, cycler, convertdate, attrs, torch, scipy, python-dateutil, pystan, plotly, patsy, packaging, numba, multipledispatch, jinja2, deprecated, contourpy, scikit-learn, pytest, pymannkendall, pandas, matplotlib, LunarCalendar, linear-operator, holidays, statsmodels, seaborn, pytest-mpl, gpytorch, cmdstanpy, fbprophet, botorch, ax-platform, kats
Running setup.py install for pystan: started
Running setup.py install for pystan: still running...
Running setup.py install for pystan: finished with status 'done'
DEPRECATION: pystan was installed using the legacy 'setup.py install' method, because a wheel could not be built for it. A possible replacement is to fix the wheel build issue reported above. Discussion can be found at https://github.com/pypa/pip/issues/8368
Running setup.py install for fbprophet: started
Running setup.py install for fbprophet: finished with status 'done'
DEPRECATION: fbprophet was installed using the legacy 'setup.py install' method, because a wheel could not be built for it. A possible replacement is to fix the wheel build issue reported above. Discussion can be found at https://github.com/pypa/pip/issues/8368
Successfully installed Cython-0.29.32 LunarCalendar-0.0.9 MarkupSafe-2.1.1 attrs-22.1.0 ax-platform-0.2.4 botorch-0.6.2 cmdstanpy-0.9.5 contourpy-1.0.5 convertdate-2.4.0 cycler-0.11.0 deprecated-1.2.13 ephem-4.1.3 exceptiongroup-1.0.0 fbprophet-0.7.1 fonttools-4.38.0 gpytorch-1.9.0 hijri-converter-2.2.4 holidays-0.16 iniconfig-1.1.1 jinja2-3.1.2 joblib-1.2.0 kats-0.2.0 kiwisolver-1.4.4 korean-lunar-calendar-0.3.1 linear-operator-0.1.1 llvmlite-0.39.1 matplotlib-3.6.0 multipledispatch-0.6.0 numba-0.56.3 numpy-1.21.6 packaging-21.3 pandas-1.3.5 parameterized-0.8.1 patsy-0.5.3 pillow-9.2.0 plotly-5.11.0 pluggy-1.0.0 pymannkendall-1.4.2 pymeeus-0.5.11 pyparsing-3.0.9 pystan-2.19.1.1 pytest-7.2.0 pytest-mpl-0.16.1 python-dateutil-2.8.2 pytz-2022.5 scikit-learn-1.1.3 scipy-1.7.3 seaborn-0.12.1 setuptools-git-1.2 six-1.16.0 statsmodels-0.12.2 tenacity-8.1.0 threadpoolctl-3.1.0 tomli-2.0.1 torch-1.12.1 tqdm-4.64.1 typeguard-2.13.3 typing-extensions-4.4.0 wrapt-1.14.1
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
WARNING: You are using pip version 22.0.4; however, version 22.3 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
Removing intermediate container 30edb121f7ac
---> ea559a6d281f
Successfully built ea559a6d281f
Unfortunately, my last line is different:
executor failed running [/bin/sh -c MINIMAL_KATS=1 pip install kats==0.2.0]: exit code: 1
Could it be something related to docker environment?
Not sure
I don't have an idea at the moment. Could you upload your image somewhere? Thank you anyhow.
Sure
Thank you @neelabalan. Let me know.
@neelabalan thanks, I'll let you know.
Hi @neelabalan it works, thanks.
This appears to be an error with the pystan-2.19.1.1
install. If you're still blocked, recommend follow-up with the pystan project.
Hi, I tried to install the latest version – both minimal and not minimal version – but it ends up with errors.
This is a minimal
Dockerfile
to try to reproduce the errors.Thank you.