0.0.27版をインストール時にエラー発生
tpglzu opened this issue · comments
penggui tang commented
CondaでGithubから最新版(0.0.27)インストールする際に、下記ようにエラーが発生してしまった。
0.0.26までは問題なくてうまくインストールできたんですが、この問題の解決方法が分かりますでしょうか。
#pip install git+https://github.com/tytansdk/tytan.git@0.0.27
Collecting git+https://github.com/tytansdk/tytan.git@0.0.27
Cloning https://github.com/tytansdk/tytan.git (to revision 0.0.27) to /tmp/pip-req-build-4r6ymtnk
Running command git clone --filter=blob:none --quiet https://github.com/tytansdk/tytan.git /tmp/pip-req-build-4r6ymtnk
Running command git checkout -q 3a805afc0fe3ff66670fb6d6513d6b0af1bf7077
Resolved https://github.com/tytansdk/tytan.git to commit 3a805afc0fe3ff66670fb6d6513d6b0af1bf7077
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: httpx in /home/noah-ai/miniconda3/envs/nqs-tytan/lib/python3.11/site-packages (from tytan==0.0.27) (0.27.0)
Requirement already satisfied: ulid-py in /home/noah-ai/miniconda3/envs/nqs-tytan/lib/python3.11/site-packages (from tytan==0.0.27) (1.1.0)
Requirement already satisfied: numpy<1.24,>=1.18 in /home/noah-ai/miniconda3/envs/nqs-tytan/lib/python3.11/site-packages (from tytan==0.0.27) (1.23.5)
Requirement already satisfied: pandas in /home/noah-ai/miniconda3/envs/nqs-tytan/lib/python3.11/site-packages (from tytan==0.0.27) (2.2.1)
Requirement already satisfied: sympy in /home/noah-ai/miniconda3/envs/nqs-tytan/lib/python3.11/site-packages (from tytan==0.0.27) (1.12)
Requirement already satisfied: scipy>=1.9.0 in /home/noah-ai/miniconda3/envs/nqs-tytan/lib/python3.11/site-packages (from tytan==0.0.27) (1.12.0)
Requirement already satisfied: symengine in /home/noah-ai/miniconda3/envs/nqs-tytan/lib/python3.11/site-packages (from tytan==0.0.27) (0.11.0)
Collecting requests (from tytan==0.0.27)
Using cached requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
Collecting importlib (from tytan==0.0.27)
Using cached importlib-1.0.4.zip (7.1 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
ERROR: Can not execute `setup.py` since setuptools is not available in the build environment.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
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.
参考情報:
・Condaバージョン:4.12.0
・Pythonバージョン:3.11
YasuD commented
遅くなり失礼いたしました!
原因はわからないのですが、pipを最新バージョンにアップグレードする、あるいはそもそもcondaコマンドからインストールするべきという可能性もあるかもしれません。
先ほど「requirements.txt」が更新されたこともありまして(0.0.28)、再度インストールをお試しいただけますでしょうか。
condaなので
conda install tytan==0.0.28
のような形でしょうか(?)。よろしくお願いしますm(_ _)m