AI4Bharat / IndicConformerASR

MIT License
10 stars 1 forks source link

Unable to install AI4Bharat Nemo #5

Open monali-2210 opened 5 days ago

monali-2210 commented 5 days ago

I am trying to do the first step (using SageMaker Jupyter Notebook) which is: git clone https://github.com/AI4Bharat/NeMo.git && cd NeMo && git checkout nemo-v2 && bash reinstall.sh

This command gives this below error:

Collecting wget (from nemo_toolkit->nemo_toolkit[all]) Using cached wget-3.2.zip (10 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [30 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "/tmp/pip-install-imkdcqra/wget_8201a2e174de455884bfc9dc54556ba8/setup.py", line 15, in setup( File "/home/ec2-user/anaconda3/envs/python3/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 183, in setup return run_commands(dist) File "/home/ec2-user/anaconda3/envs/python3/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 199, in run_commands dist.run_commands() File "/home/ec2-user/anaconda3/envs/python3/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 954, in run_commands self.run_command(cmd) File "/home/ec2-user/anaconda3/envs/python3/lib/python3.10/site-packages/setuptools/dist.py", line 950, in run_command super().run_command(command) File "/home/ec2-user/anaconda3/envs/python3/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 973, in run_command cmd_obj.run() File "/home/ec2-user/anaconda3/envs/python3/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 311, in run self.find_sources() File "/home/ec2-user/anaconda3/envs/python3/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 319, in find_sources mm.run() File "/home/ec2-user/anaconda3/envs/python3/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 545, in run self.prune_file_list() File "/home/ec2-user/anaconda3/envs/python3/lib/python3.10/site-packages/setuptools/command/sdist.py", line 161, in prune_file_list super().prune_file_list() File "/home/ec2-user/anaconda3/envs/python3/lib/python3.10/site-packages/setuptools/_distutils/command/sdist.py", line 380, in prune_file_list base_dir = self.distribution.get_fullname() File "/home/ec2-user/anaconda3/envs/python3/lib/python3.10/site-packages/setuptools/_core_metadata.py", line 267, in get_fullname return _distribution_fullname(self.get_name(), self.get_version()) File "/home/ec2-user/anaconda3/envs/python3/lib/python3.10/site-packages/setuptools/_core_metadata.py", line 285, in _distribution_fullname canonicalize_version(version, strip_trailing_zero=False), TypeError: canonicalize_version() got an unexpected keyword argument 'strip_trailing_zero' [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.

monali-2210 commented 5 days ago

@ryback123 please help me with this

Aniruddh-J commented 1 day ago

What's your packaging version?