Table of contents
foreword
Many times we just execute conda install xxx
to install the package, but we don't know where the package is installed. And many times when using conda or pip to install, there will be errors, and the installation may not be successful or the installation may fail. At this time, we need to check the specific installation location to check the error, but if we do not know the location of the package, we will not know Overwhelmed.
The location of the installation package
(1) First find the location of the installed Anaconda.
For example, my installation location is as follows:
D:\software\anaconda3
(2) Enter the envs directory and find the virtual environment we need.
(3) After entering the virtual environment, find Lib.
(4) Find site-packages, enter the installation location of the package.
As shown below:
full path
For example, my path is as follows:
D:\software\anaconda3\envs\aispace\Lib\site-packages
In fact it is:
anaconda安装的位置\envs\虚拟环境\Lib\site-packages
Note that the above is the path of the virtual environment, and the path of the base environment is as follows:
anaconda安装的位置\Lib\site-packages