Hi,use conda to install torchtext,failed

(3.6.4) lzw@resplendent-star:~$ conda install torchtext
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  • torchtext

Current channels:

(becaue I am new beginer to this pytorch website,so it donesnt allow me to put websites which output by the shell console)

To search for alternate channels that may provide the conda package you’re
looking for, navigate to

and use the search bar at the top of the page.

(3.6.4) lzw@resplendent-star:~$

can you try installing using pytorch channnel, use following command:

conda install –c pytorch torchtext

1 Like

hi,it works ,thanks!!!

1 Like