我需要
talos
进行超参数网格搜索,我正在 google colab 工作。
当我在 colab 中运行
pip install talos
时,出现此错误:
Collecting talos
Downloading talos-1.3-py3-none-any.whl (56 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.4/56.4 kB 1.7 MB/s eta 0:00:00
Requirement already satisfied: tensorflow>=2.0.0 in /usr/local/lib/python3.10/dist-packages (from talos) (2.15.0)
Requirement already satisfied: statsmodels>=0.11.0 in /usr/local/lib/python3.10/dist-packages (from talos) (0.14.1)
Requirement already satisfied: wrangle in /usr/local/lib/python3.10/dist-packages (from talos) (0.7.3)
Requirement already satisfied: numpy in /usr/local/lib/python3.10/dist-packages (from talos) (1.25.2)
Requirement already satisfied: pandas in /usr/local/lib/python3.10/dist-packages (from talos) (2.0.3)
Collecting astetik (from talos)
Using cached astetik-1.13-py3-none-any.whl (5.4 MB)
Collecting sklearn (from talos)
Using cached sklearn-0.0.post12.tar.gz (2.6 kB)
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Preparing metadata (setup.py) ... error
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
我已卸载
scikit-learn
并重新安装。 numpy
、scipy
和 wrangle
均已安装且是最新的。
我已经下载了主
talos
文件并尝试从本地目录安装。
我继续收到此错误,并且不确定接下来要排除什么问题。
此问题已在 Talos 1.4 版本中得到解决,该版本目前为当前版本。