Closed makwadajp closed 2 years ago
I reinstalled Ubuntu from scratch on WSL (On Windows Command Prompt: wsl -l -v → VERSION 1). THIS WORKED.
EDIT: So now, I do not know what was wrong originally. But if it helps anybody then here is what I did:
I also figured out what will result in This recipe needs the package speechcolab installed.
error message.
Please see here for what the cause was.
sudo apt update && sudo apt -y upgrade
sudo apt install python3-pip
wget https://repo.anaconda.com/archive/Anaconda3-2021.11-Linux-x86_64.sh
)bash ./Anaconda3-2021.11-Linux-x86_64.sh
Do you wish the installer to initialize Anaconda3 by running conda init? [yes|no]
during the installation of Anaconda at step 5 and exit WSL. Otherwise you will encounter conda: command not found
at step 7)conda create --name GigaSpeech
conda activate GigaSpeech
pip install speechcolab
sudo pip install speechcolab
sudo mkdir /mnt/z
(create a directory for mounting a network drive to copy 1.2TB of data)sudo mount -t drvfs z: /mnt/z
(this step needs to be called everytime the computer is restarted or even possibly when WSL is restarted)gigaspeech@speechcolab.org
...
sudo bash utils/download_gigaspeech.sh /mnt/z/GigaSpeech
For people installing GigaSpeech using WSL, here are other information:
gigaspeech@speechcolab.org
(sudo git clone https://github.com/SpeechColab/GigaSpeech.git
) then execute from a locally mounted drive (e.g. /mnt/c/) instead of a network drive (in my case /mnt/z/).fatal: Unable to create temporary file '/mnt/z/GigaSpeech/.git/objects/pack/tmp_pack_XXXXXX': Permission denied
I re-encountered the same This recipe needs the package speechcolab installed.
problem on my cleanly installed setup. However this stackoverflow: Unable to import a module that is definitely installed gave me a hint for the solution of the problem.
It works when both of the following commands were executed with `sudo':
sudo pip install speechcolab
sudo bash utils/download_gigaspeech.sh /mnt/z/GigaSpeech
As an error you will encounter if both are not called with sudo
:
bash utils/download_gigaspeech.sh /mnt/z/GigaSpeech
without sudo
will result in the following error:PermissionError: [Errno 13] Permission denied: '/mnt/z/GigaSpeech/TERMS_OF_ACCESS'
sudo bash utils/download_gigaspeech.sh /mnt/z/GigaSpeech
is called,
calling pip install speechcolab
without sudo
will result in the following error
(the error which frustrated me in the first place):This recipe needs the package speechcolab installed.
I ran the following command:
sudo bash utils/download_gigaspeech.sh /mnt/z/GigaSpeech
However I ran into the following error when executing:
So I have pip installed the speechcolab package. When I reran the above command, I still get the same error message. I have checked that
pip list
showsspeechcolab 0.0.6a0
, so how should I proceed from here?