You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when you run pip install -e ".[dev]" you will see the following error
ERROR: Could not find a version that satisfies the requirement ray[tune]; extra == "dev" (from transformers[dev]) (from versions: none)
ERROR: No matching distribution found for ray[tune]; extra == "dev"
the full traceback:
Obtaining file:///C:/Projects/transformers
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Requirement already satisfied: filelock in c:\projects\transformers\env\lib\site-packages (from transformers==4.21.0.dev0) (3.7.1)
Requirement already satisfied: packaging>=20.0 in c:\projects\transformers\env\lib\site-packages (from transformers==4.21.0.dev0) (21.3)
Requirement already satisfied: pyyaml>=5.1 in c:\projects\transformers\env\lib\site-packages (from transformers==4.21.0.dev0) (6.0)
Collecting regex!=2019.12.17
Using cached regex-2022.7.9-cp310-cp310-win_amd64.whl (262 kB)
Requirement already satisfied: tqdm>=4.27 in c:\projects\transformers\env\lib\site-packages (from transformers==4.21.0.dev0) (4.64.0)
Requirement already satisfied: numpy>=1.17 in c:\projects\transformers\env\lib\site-packages (from transformers==4.21.0.dev0) (1.23.1)
Requirement already satisfied: huggingface-hub<1.0,>=0.1.0 in c:\projects\transformers\env\lib\site-packages
(from transformers==4.21.0.dev0) (0.8.1)
Requirement already satisfied: requests in c:\projects\transformers\env\lib\site-packages (from transformers==4.21.0.dev0) (2.28.1)
Collecting tokenizers!=0.11.3,<0.13,>=0.11.1
Using cached tokenizers-0.12.1-cp310-cp310-win_amd64.whl (3.3 MB)
Collecting phonemizer
Using cached phonemizer-3.2.1-py3-none-any.whl (90 kB)
Collecting tensorflow>=2.3
Using cached tensorflow-2.9.1-cp310-cp310-win_amd64.whl (444.1 MB)
Collecting dill<0.3.5
Using cached dill-0.3.4-py2.py3-none-any.whl (86 kB)
Collecting sentencepiece!=0.1.92,>=0.1.91
Using cached sentencepiece-0.1.96-cp310-cp310-win_amd64.whl (1.1 MB)
Collecting onnxconverter-common
Using cached onnxconverter_common-1.9.0-py2.py3-none-any.whl (78 kB)
Collecting pyctcdecode>=0.3.0
Using cached pyctcdecode-0.3.0-py2.py3-none-any.whl (43 kB)
Collecting ipadic<2.0,>=1.0.0
Using cached ipadic-1.0.0.tar.gz (13.4 MB)
Collecting torchaudio
Using cached torchaudio-0.12.0-cp310-cp310-win_amd64.whl (969 kB)
Collecting unidic-lite>=1.0.7
Using cached unidic-lite-1.0.8.tar.gz (47.4 MB)
Collecting sigopt
Using cached sigopt-8.5.0-py2.py3-none-any.whl (182 kB)
Collecting timeout-decorator
Using cached timeout-decorator-0.5.0.tar.gz (4.8 kB)
Collecting fugashi>=1.0
Using cached fugashi-1.1.2-cp310-cp310-win_amd64.whl (497 kB)
Collecting protobuf<=3.20.1
Using cached protobuf-3.20.1-cp310-cp310-win_amd64.whl (903 kB)
Collecting hf-doc-builder>=0.3.0
Using cached hf_doc_builder-0.3.0-py3-none-any.whl (56 kB)
Collecting flake8>=3.8.3
Using cached flake8-4.0.1-py2.py3-none-any.whl (64 kB)
Collecting cookiecutter==1.7.3
Using cached cookiecutter-1.7.3-py2.py3-none-any.whl (34 kB)
Collecting tf2onnx
Using cached tf2onnx-1.11.1-py3-none-any.whl (440 kB)
Collecting parameterized
Using cached parameterized-0.8.1-py2.py3-none-any.whl (26 kB)
Collecting pytest-xdist
Using cached pytest_xdist-2.5.0-py3-none-any.whl (41 kB)
Collecting unidic>=1.0.2
Using cached unidic-1.1.0.tar.gz (7.7 kB)
Collecting sacrebleu<2.0.0,>=1.4.12
Using cached sacrebleu-1.5.1-py3-none-any.whl (54 kB)
ERROR: Could not find a version that satisfies the requirement ray[tune]; extra == "dev" (from transformers[dev]) (from versions: none)
ERROR: No matching distribution found for ray[tune]; extra == "dev"
WARNING: You are using pip version 21.2.4; however, version 22.1.2 is available.
You should consider upgrading via the 'C:\Projects\transformers\env\Scripts\python.exe -m pip install --upgrade pip' command.
(this error stems the process significantly to the extent that I couldn't run tests as a result)
Expected behavior
When running this command in Python 10 the whole development process run without errors like it does with Python 3.8.8.
The text was updated successfully, but these errors were encountered:
@sgugger yeah i forgot to mention that to resolve it you need to downgrade as mentioned in this issue ray-project/tune-sklearn#169 but I figured idealy you would want development to work on any python distribution
Exactly my point. Just because someone did something 3 years ago doesn't mean you can ping them. If I want to contribute to Hugging Face Transformers for free, I'll follow the repo!
System Info
transformers
version: 4.20.1Who can help?
@aaugustin @sgugger
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
pip install -e ".[dev]"
you will see the following errorthe full traceback:
(this error stems the process significantly to the extent that I couldn't run tests as a result)
Expected behavior
When running this command in Python 10 the whole development process run without errors like it does with
Python 3.8.8
.The text was updated successfully, but these errors were encountered: