kyegomez / RT-2

Democratization of RT-2 "RT-2: New model translates vision and language into action"
https://discord.gg/qUtxnK2NMf
MIT License
367 stars 50 forks source link

can't find Rust compiler #15

Closed alexfilothodoros closed 1 year ago

alexfilothodoros commented 1 year ago

Hi.

pip install rt2

is producing this output.

Collecting six Using cached six-1.16.0-py2.py3-none-any.whl (11 kB) Building wheels for collected packages: tokenizers Building wheel for tokenizers (pyproject.toml): started Building wheel for tokenizers (pyproject.toml): finished with status 'error' Failed to build tokenizers ERROR: Command errored out with exit status 1: command: 'C:\Users\...' 'C:\Users\...\envs\rt2\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' build_wheel 'C:\Users...' cwd: C:\Users\... Complete output (51 lines): running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-3.6 creating build\lib.win-amd64-3.6\tokenizers copying py_src\tokenizers\__init__.py -> build\lib.win-amd64-3.6\tokenizers creating build\lib.win-amd64-3.6\tokenizers\models copying py_src\tokenizers\models\__init__.py -> build\lib.win-amd64-3.6\tokenizers\models creating build\lib.win-amd64-3.6\tokenizers\decoders copying py_src\tokenizers\decoders\__init__.py -> build\lib.win-amd64-3.6\tokenizers\decoders creating build\lib.win-amd64-3.6\tokenizers\normalizers copying py_src\tokenizers\normalizers\__init__.py -> build\lib.win-amd64-3.6\tokenizers\normalizers creating build\lib.win-amd64-3.6\tokenizers\pre_tokenizers copying py_src\tokenizers\pre_tokenizers\__init__.py -> build\lib.win-amd64-3.6\tokenizers\pre_tokenizers creating build\lib.win-amd64-3.6\tokenizers\processors copying py_src\tokenizers\processors\__init__.py -> build\lib.win-amd64-3.6\tokenizers\processors creating build\lib.win-amd64-3.6\tokenizers\trainers copying py_src\tokenizers\trainers\__init__.py -> build\lib.win-amd64-3.6\tokenizers\trainers creating build\lib.win-amd64-3.6\tokenizers\implementations copying py_src\tokenizers\implementations\base_tokenizer.py -> build\lib.win-amd64-3.6\tokenizers\implementations copying py_src\tokenizers\implementations\bert_wordpiece.py -> build\lib.win-amd64-3.6\tokenizers\implementations copying py_src\tokenizers\implementations\byte_level_bpe.py -> build\lib.win-amd64-3.6\tokenizers\implementations copying py_src\tokenizers\implementations\char_level_bpe.py -> build\lib.win-amd64-3.6\tokenizers\implementations copying py_src\tokenizers\implementations\sentencepiece_bpe.py -> build\lib.win-amd64-3.6\tokenizers\implementations copying py_src\tokenizers\implementations\sentencepiece_unigram.py -> build\lib.win-amd64-3.6\tokenizers\implementations copying py_src\tokenizers\implementations\__init__.py -> build\lib.win-amd64-3.6\tokenizers\implementations creating build\lib.win-amd64-3.6\tokenizers\tools copying py_src\tokenizers\tools\visualizer.py -> build\lib.win-amd64-3.6\tokenizers\tools copying py_src\tokenizers\tools\__init__.py -> build\lib.win-amd64-3.6\tokenizers\tools copying py_src\tokenizers\__init__.pyi -> build\lib.win-amd64-3.6\tokenizers copying py_src\tokenizers\models\__init__.pyi -> build\lib.win-amd64-3.6\tokenizers\models copying py_src\tokenizers\decoders\__init__.pyi -> build\lib.win-amd64-3.6\tokenizers\decoders copying py_src\tokenizers\normalizers\__init__.pyi -> build\lib.win-amd64-3.6\tokenizers\normalizers copying py_src\tokenizers\pre_tokenizers\__init__.pyi -> build\lib.win-amd64-3.6\tokenizers\pre_tokenizers copying py_src\tokenizers\processors\__init__.pyi -> build\lib.win-amd64-3.6\tokenizers\processors copying py_src\tokenizers\trainers\__init__.pyi -> build\lib.win-amd64-3.6\tokenizers\trainers copying py_src\tokenizers\tools\visualizer-styles.css -> build\lib.win-amd64-3.6\tokenizers\tools running build_ext running build_rust error: can't find Rust compiler

Are the requirements kept up to date? There is nothing mentioned about rust.

I am using win10.

kyegomez commented 1 year ago

@alexfilothodoros This is strange, we do not use rust at all here. Perhaps try again

alexfilothodoros commented 1 year ago

Nevermind. It is fine in wsl! Thanks for the comment :)