apache / mxnet

Lightweight, Portable, Flexible Distributed/Mobile Deep Learning with Dynamic, Mutation-aware Dataflow Dep Scheduler; for Python, R, Julia, Scala, Go, Javascript and more
https://mxnet.apache.org
Apache License 2.0
20.77k stars 6.79k forks source link

pip error when trying to install version 1.9.1 #21178

Open ray-5050 opened 1 year ago

ray-5050 commented 1 year ago

Description

when I use pip install mxnet, it tries to install version 1.7.0 and crashes due to trying to install an old numpy version. When I try to install the current version, I get the error indicated below. Thanks for your help!

Error Message

ERROR: Could not find a version that satisfies the requirement mxnet==1.9.1 (from versions: 0.11.0, 0.12.0, 0.12.1, 1.0.0, 1.0.0.post1, 1.0.0.post3, 1.0.0.post4, 1.1.0.post0, 1.2.0, 1.2.1, 1.2.1.post1, 1.3.0, 1.3.1, 1.4.0, 1.4.0.post0, 1.4.1, 1.5.0, 1.6.0, 1.7.0.post1, 1.7.0.post2) ERROR: No matching distribution found for mxnet==1.9.1

To Reproduce

(If you developed your own code, please provide a short script that reproduces the error. For existing examples, please provide link.)

Steps to reproduce

(Paste the commands you ran that produced the error.)

  1. pip install mxnet
  2. pip install mxnet==1.9.1

What have you tried to solve it?

  1. indicating that I want version 1.9.1
  2. start with a new venv and still happens, cleared all pip caches, no change

Environment

Windows 11, python 3.10.9, pip 22.3.1

Environment Information ``` # Paste the diagnose.py command output here ```
github-actions[bot] commented 1 year ago

Welcome to Apache MXNet (incubating)! We are on a mission to democratize AI, and we are glad that you are contributing to it by opening this issue. Please make sure to include all the relevant context, and one of the @apache/mxnet-committers will be here shortly. If you are interested in contributing to our project, let us know! Also, be sure to check out our guide on contributing to MXNet and our development guides wiki.

dai-ichiro commented 1 year ago
pip install numpy==1.23.5
pip install mxnet -f https://dist.mxnet.io/python/cpu

mxnet==1.8.0 will be installed. On Windows, the latest version that can be installed with pip is mxnet==1.8.0.

Prakhar-Gupta-03 commented 1 year ago

I'm sorry, this might not be relevant to the thread, but, for installing mxnet with NVIDIA GPU on windows, which is the latest version of mxnet available?

Maddill commented 1 year ago

have you check your cuda version? if you are using cpu, maybe mxnet 1.9.1 not yet compatible. you can check your device compability here https://mxnet.apache.org/versions/1.9.1/get_started?platform=windows&language=python&processor=cpu&environ=pip&

Prakhar-Gupta-03 commented 1 year ago

Yeah, I had used it later on and using mxnet 1.8.0 with cuda 10.2 since then, thanks!

francisco-camargo commented 1 year ago
pip install numpy==1.23.5
pip install mxnet -f https://dist.mxnet.io/python/cpu

mxnet==1.8.0 will be installed. On Windows, the latest version that can be installed with pip is mxnet==1.8.0.

Spent a day trying to get mxnet to install on windows, this was the only thing that worked for me!!