Request help to resolve the issue of ""bash: from: command not found"
Dear Huggingface experts,I have been running into the same issue after I created two new spaces. First, I can successfully run two following commands.(1) pip install torch(2) pip install transformersHowever, when I try to run the following command, I always run into the same error message, “bash: from: command not found”.from transformers import AutoToennizerI have checked and tested to run same command  in three following paths and tried to run a new command (i.e. import pandas ). I run into the same command error message./home/user/home/user/app/home/user/minicondaPlease advise how I can get rid of this error message.Thanks in advance,Frankser@r-jxc518-l01-learn-llm-xkqru7y0-d647e-wofc2:~/app$ from transformers import AutoToennizerbash: from: command not founduser@r-jxc518-l01-learn-llm-xkqru7y0-d647e-wofc2:~/app$ pwd/home/user/appuser@r-jxc518-l01-learn-llm-xkqru7y0-d647e-wofc2:~/app$user@r-jxc518-l01-learn-llm-xkqru7y0-d647e-wofc2:~/miniconda$user@r-jxc518-l01-learn-llm-xkqru7y0-d647e-wofc2:~/miniconda$ ls -ltrtotal 24-rw-r–r--  1 user user 10201 Jul 15  2021 LICENSE.txtdrwxr-xr-x  3 user user    17 Dec 31 05:49 x86_64-conda_cos6-linux-gnudrwxr-xr-x  3 user user    17 Dec 31 05:49 x86_64-conda-linux-gnudrwxr-xr-x  3 user user   146 Dec 31 05:49 ssldrwxr-xr-x  3 user user    22 Dec 31 05:49 shelldrwxr-xr-x  1 user user    23 Dec 31 05:49 libdrwxr-xr-x  8 user user  4096 Dec 31 05:49 includedrwxr-xr-x  2 user user    19 Dec 31 05:49 condabindrwxr-xr-x  2 user user    30 Dec 31 05:49 compiler_compatdrwxr-xr-x 39 user user  4096 Dec 31 05:49 pkgsdrwxr-xr-x  2 user user     6 Dec 31 05:49 envsdrwxr-xr-x  2 user user  4096 Dec 31 05:49 conda-metadrwxr-xr-x  1 user user    21 Dec 31 05:50 etcdrwxr-xr-x  1 user user    17 Dec 31 05:50 sharedrwxr-xr-x  1 user user   230 Jan  1 21:14 binuser@r-jxc518-l01-learn-llm-xkqru7y0-d647e-wofc2:~/miniconda$user@r-jxc518-l01-learn-llm-xkqru7y0-d647e-wofc2:~/miniconda$
2025-01-01T22:48:47Z
This may be the problem in the case of bash.stackoverflow.comConda command not foundpython, zsh, anaconda, minicondaasked byolivrgon08:58PM - 06 Feb 16 UTC
2025-01-02T21:53:01Z
@John6666Hello John, many thanks for your continuous help. I finally figured out the root of my issue . I should run my codes in Notebook environment, not in bash environment. I have smoothly ran through my codes in Notebook.