learnables / learn2learn

A PyTorch Library for Meta-learning Research
http://learn2learn.net
MIT License
2.59k stars 348 forks source link

install learn2learn report error #395

Closed montensorrt closed 1 year ago

montensorrt commented 1 year ago

when i install this pack,such as: pip install learn2learn and report error,such as: Collecting qpth>=0.0.15 (from learn2learn) Using cached qpth-0.0.15.tar.gz (11 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [3 lines of output] error in qpth setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected end or semicolon (after version specifier) numpy>=1<2


      [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 pac

when install qpth ,it's error,i Tried multiple environments,this error Still exist;
Please help answer questions,
pip list,such as:
Bottleneck         1.3.7
certifi            2022.12.7
charset-normalizer 2.1.1
colorama           0.4.6
filelock           3.9.0
idna               3.4
Jinja2             3.1.2
llvmlite           0.38.1
MarkupSafe         2.1.2
mpmath             1.2.1
networkx           3.0
numba              0.55.0
numexpr            2.7.3
numpy              1.21.2
pandas             1.3.5
Pillow             9.3.0
pip                23.1.2
python-dateutil    2.8.2
pytz               2023.3
requests           2.28.1
setuptools         67.7.2
six                1.16.0
sympy              1.11.1
torch              2.0.0+cu117
torchaudio         2.0.1+cu117
torchvision        0.15.1+cu117
tqdm               4.65.0
typing_extensions  4.4.0
urllib3            1.26.13
wheel              0.40.0
Ssojux2 commented 1 year ago

same in colab...

montensorrt commented 1 year ago

it‘s install qpth lib report error ,when i download source code ,local install qpth,this question was done!