我在Conda環境中安裝了gzip軟件包,然後為了確保該軟件在那裡,我使用了" ls"命令,該命令不在列表中。試圖再次安裝,系統提示所有軟件包都已安裝,為什麼?如何查看環境中安裝的軟件列表?謝謝!
ls命令中未顯示在Conda環境中下載的軟件
1
conda
1
Just type
conda list gzip
OR
conda list | grep gzip
OR if its installed in a given environment
conda activate myenv
or else just activate myenv
system depending followed by either of the first two commands.
It is better to use conda-navigate
a very nice and under used GUI, and would work in this particular instance. The details are found in an earlier post I made on esentially the same question here together with a pretty picture.
ls
will only work if you type ls ~/Anaconda3/bin | grep gzip
, but depends on the installation, e.g. you might have installed miniconda.
Having said all that conda
is very cool, but whatever you do NEVER use pip
or pip3
from this moment onwards EVER, it messes up your conda and you'll need to env
your way out of it.