Conda只卸载一个包和一个包
Conda uninstall one package and one package only
当我尝试从我的 conda
虚拟环境中卸载 pandas
时,我发现它也在尝试卸载更多软件包:
$ conda uninstall pandas
Using Anaconda Cloud api site https://api.anaconda.org
Fetching package metadata: ....
Solving package specifications: .........
Package plan for package removal in environment /Users/amelio/anaconda/envs/py35:
The following packages will be downloaded:
package | build
---------------------------|-----------------
dask-0.7.6 | py35_0 276 KB
The following packages will be REMOVED:
blaze: 0.10.1-py35_0
odo: 0.5.0-py35_1
pandas: 0.18.1-np111py35_0
seaborn: 0.7.0-py35_0
statsmodels: 0.6.1-np111py35_1
The following packages will be DOWNGRADED:
dask: 0.10.1-py35_0 --> 0.7.6-py35_0
Proceed ([y]/n)?
我想卸载 pandas
仅 并且没有任何其他降级。
我知道这些包有 依赖关系 到 pandas
甚至 特定版本 的 pandas , 但是 conda
?
甚至有可能吗?
部分动机
我的理解是 isn't that easy 使用 conda
从 GitHub 安装一个包。至少它不像使用 pip
那样使用单线笔那么容易。
由于要使用master
中的版本,我打算卸载conda
版本,使用pip
安装pandas
from master on the official回购 GitHub.
我该怎么做?
您可以使用 conda remove --force
.
文档说:
--force Forces removal of a package without removing packages
that depend on it. Using this option will usually
leave your environment in a broken and inconsistent
state
当我尝试从我的 conda
虚拟环境中卸载 pandas
时,我发现它也在尝试卸载更多软件包:
$ conda uninstall pandas
Using Anaconda Cloud api site https://api.anaconda.org
Fetching package metadata: ....
Solving package specifications: .........
Package plan for package removal in environment /Users/amelio/anaconda/envs/py35:
The following packages will be downloaded:
package | build
---------------------------|-----------------
dask-0.7.6 | py35_0 276 KB
The following packages will be REMOVED:
blaze: 0.10.1-py35_0
odo: 0.5.0-py35_1
pandas: 0.18.1-np111py35_0
seaborn: 0.7.0-py35_0
statsmodels: 0.6.1-np111py35_1
The following packages will be DOWNGRADED:
dask: 0.10.1-py35_0 --> 0.7.6-py35_0
Proceed ([y]/n)?
我想卸载 pandas
仅 并且没有任何其他降级。
我知道这些包有 依赖关系 到 pandas
甚至 特定版本 的 pandas , 但是 conda
?
部分动机
我的理解是 isn't that easy 使用 conda
从 GitHub 安装一个包。至少它不像使用 pip
那样使用单线笔那么容易。
由于要使用master
中的版本,我打算卸载conda
版本,使用pip
安装pandas
from master on the official回购 GitHub.
我该怎么做?
您可以使用 conda remove --force
.
文档说:
--force Forces removal of a package without removing packages
that depend on it. Using this option will usually
leave your environment in a broken and inconsistent
state