Window pip install: mxnet highest revision is 1.2.0

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?

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.

I’m trying to run this tutorial: 1. Getting Started with FCN Pre-trained Models — gluoncv 0.11.0 documentation

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

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.

1 Like

That did the trick. Thank you

Hello,

I found this thread as I am having the same issue, and with this command it still installs mxnet 1.2.0 when I uninstall and reinstall, as well as use pip install --upgrade --force-reinstall --no-cache mxnet after upgrading pip. Do you have any other advice?

Thanks,
-Will

hello,
for 32 bit python, you may have this problem, as i had this.
upgrade to 64 bit, and then install it.