Window pip install: mxnet highest revision is 1.2.0


#1

Hello there,
I’m trying to run one of the scripts from the semantic segmentation tutorial.
First step is of course to install mxnet, but following the tutorial all I get is v1.2.0 and the sample program fails with a trace saying that v1.3.0 is required.

How shall I install mxnet on windows?


#2

Which tutorial are you talking about? Could you please share the link?

I have just tried to pip install mxnet on my Windows server machine, and it installs MXNet 1.3.1. Could you verify your pip command line? Try to do pip uninstall mxnet and then pip install mxnet again.


#3

I’m trying to run this tutorial: https://gluon-cv.mxnet.io/build/examples_segmentation/demo_fcn.html

C:\WINDOWS\system32>pip uninstall mxnet
Uninstalling mxnet-1.2.0:
Would remove:
c:\users\ju\appdata\roaming\python\python36\site-packages\mxnet-1.2.0.dist-info*
c:\users\ju\appdata\roaming\python\python36\site-packages\mxnet*
Proceed (y/n)? y
Successfully uninstalled mxnet-1.2.0

C:\WINDOWS\system32>pip install mxnet
Collecting mxnet
Using cached https://files.pythonhosted.org/packages/60/6f/071f9ef51467f9f6cd35d1ad87156a29314033bbf78ad862a338b9eaf2e6/mxnet-1.2.0-py2.py3-none-win32.whl
Requirement already satisfied: numpy in c:\program files (x86)\python36-32\lib\site-packages (from mxnet) (1.14.3)
Requirement already satisfied: graphviz in c:\users\ju\appdata\roaming\python\python36\site-packages (from mxnet) (0.10.1)
Requirement already satisfied: requests in c:\program files (x86)\python36-32\lib\site-packages (from mxnet) (2.18.4)
Requirement already satisfied: certifi>=2017.4.17 in c:\program files (x86)\python36-32\lib\site-packages (from requests->mxnet) (2018.4.16)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in c:\program files (x86)\python36-32\lib\site-packages (from requests->mxnet) (1.22)
Requirement already satisfied: idna<2.7,>=2.5 in c:\program files (x86)\python36-32\lib\site-packages (from requests->mxnet) (2.6)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\program files (x86)\python36-32\lib\site-packages (from requests->mxnet) (3.0.4)
Installing collected packages: mxnet
Successfully installed mxnet-1.2.0


#4

I see it takes mxnet from the cache. Try to do 2 thing:

  1. Update your pip:
    python -m pip install --upgrade pip (it is oficially recommended command: https://pip.pypa.io/en/stable/installing/#id10)

  2. Install mxnet ignoring cache and current version
    pip install --upgrade --force-reinstall --no-cache mxnet

Let me know if it works.


#5

That did the trick. Thank you