Collecting fbprophet Downloading fbprophet-0.7.1.tar.gz (64 kB) || 64 kB 1.9 MB/s eta 0:00:011 Collecting Cython>=0.22 Downloading Cython-3.0.10-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.6 MB) || 3.6 MB 9.5 MB/s eta 0:00:01 Collecting LunarCalendar>=0.0.9 Downloading LunarCalendar-0.0.9-py2.py3-none-any.whl (18 kB) Collecting cmdstanpy==0.9.5 Downloading cmdstanpy-0.9.5-py3-none-any.whl (37 kB) Collecting convertdate>=2.1.2 Downloading convertdate-2.4.0-py3-none-any.whl (47 kB) || 47 kB 4.3 MB/s eta 0:00:011 Collecting holidays>=0.10.2 Downloading holidays-0.47-py3-none-any.whl (1.0 MB) || 1.0 MB 11.1 MB/s eta 0:00:01 Requirement already satisfied: matplotlib>=2.0.0 in ./venv/lib/python3.8/site-packages (from fbprophet) (3.7.5) Requirement already satisfied: numpy>=1.15.4 in ./venv/lib/python3.8/site-packages (from fbprophet) (1.24.3) Requirement already satisfied: pandas>=1.0.4 in ./venv/lib/python3.8/site-packages (from fbprophet) (2.0.3) Collecting pystan>=2.14 Downloading pystan-3.8.0-py3-none-any.whl (13 kB) Requirement already satisfied: python-dateutil>=2.8.0 in ./venv/lib/python3.8/site-packages (from fbprophet) (2.8.2) Collecting setuptools-git>=1.2 Downloading setuptools_git-1.2-py2.py3-none-any.whl (10 kB) Requirement already satisfied: tqdm>=4.36.1 in ./venv/lib/python3.8/site-packages (from fbprophet) (4.66.2) … TypeError: This is a python-holidays entity loader class. For entity inheritance purposes please import a class you want to derive from directly: e.g., `from holidays.countries import Entity` or `from holidays.financial import Entity`. —————————————- ERROR: Command errored out with exit status 1: /home/share/temp/venv/bin/python -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘”‘”‘/tmp/pip-install-mxw_32gk/fbprophet/setup.py'”‘”‘; __file__='”‘”‘/tmp/pip-install-mxw_32gk/fbprophet/setup.py'”‘”‘;f=getattr(tokenize, ‘”‘”‘open'”‘”‘, open)(__file__);code=f.read().replace(‘”‘”‘rn'”‘”‘, ‘”‘”‘n'”‘”‘);f.close();exec(compile(code, __file__, ‘”‘”‘exec'”‘”‘))’ install –record /tmp/pip-record-ft9mjns0/install-record.txt –single-version-externally-managed –compile –install-headers /home/share/temp/venv/include/site/python3.8/fbprophet Check the logs for full command output. Note: you may need to restart the kernel to use updated packages.

このエラーは、fbprophetのインストール中に発生した問題を示しています。特に、holidaysパッケージのインストール中に問題が発生しているようです。

いくつかの解決策を試すことができます:

  1. 依存関係のインストール: fbprophetには、さまざまな依存関係があります。それらの依存関係が適切にインストールされているか確認してください。特に、holidaysパッケージやそのバージョンに問題がある可能性があります。必要であれば、依存関係を手動でインストールしてみてください。

  2. fbprophetのバージョン: fbprophetのバージョンによっては、特定の依存関係のバージョンに依存している場合があります。fbprophetのバージョンを最新に更新するか、または特定のバージョンを指定してインストールしてみてください。

  3. 環境のリセット: 仮想環境をリセットし、再度fbprophetをインストールしてみてください。仮想環境をリセットすることで、古い依存関係や不要なパッケージが削除され、新しい環境が作成されます。

これらの手順を試しても問題が解決しない場合は、エラーメッセージに含まれる追加情報を提供していただければ、より具体的なアドバイスを提供できるかもしれません。

未分類

Posted by ぼっち