问题
If I am looking at the Anaconda Packages (http://docs.continuum.io/anaconda/pkg-docs), there is a package named "nbconvert" in version 4.0.0. On the github site of nbconvert (https://github.com/jupyter/nbconvert/releases) there is a newer version (i need this one) 4.1.0. Now how to install this version on my machine? If i try to
conda install nbconvert
It will install version 4.0.0. but I need this new one
If I try to search for this package with
anaconda search -t conda nbconvert
It only finds the 4.0.0 version
回答1:
The easiest way is to temporarily replace conda's nbconvert with the latest version of pip.
Here's how you can do that:
conda remove nbconvert
pip install nbconvert
After that you can check the version of nbconvert by typing jupyter nbconvert --version. If everything worked out, you will see 4.1.0.
Note that this is just meant to be a temporary workaround until continuum analytics' developers update the package. Don't forget to pip uninstall and conda install when switching back to conda's version.
来源:https://stackoverflow.com/questions/34174250/python-conda-how-to-upgrade-package-not-available-on-anaconda