Models: tensorflow 2.3.0 requires numpy<1.19.0,>=1.16.0, but you'll have numpy 1.19.1 which is incompatible.

Created on 4 Sep 2020  ·  8Comments  ·  Source: tensorflow/models

1. The entire URL of the file you are using

https://github.com/tensorflow/models/tree/master/official/...

2. Describe the bug

I get the following when creating a new Anaconda environment.

tensorflow 2.3.0 requires numpy<1.19.0,>=1.16.0, but you'll have numpy 1.19.1 which is incompatible. > tensorflow 2.3.0 requires scipy==1.4.1, but you'll have scipy 1.5.2 which is incompatible. > tensorflow-metadata 0.23.0 requires absl-py<0.9,>=0.7, but you'll have absl-py 0.10.0 which is incompatible.

All I did before that was

conda create -n det python=3.6 

pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org tf-models-official 

3. Steps to reproduce

See above

4. Expected behavior

An installation with no dependency failure.

5. Additional context

Include any logs that would be helpful to diagnose the problem.

6. System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10 64bit
  • TensorFlow installed from (source or binary): binary
  • TensorFlow version (use command below): 2.3
  • Python version: 3.6
  • CUDA/cuDNN version: None
  • GPU model and memory: Nvidia GeForce GTX 960M
official stalled awaiting response bug

Most helpful comment

@nicolas-gervais

pip will automatically install/upgrade requirements, but it won't downgrade.You can manually install any version of a package.

Please, downgrade numpy to 1.18.5 and see if the issue still persists.

pip3 uninstall numpy
pip3 install numpy==1.18.5

Thanks!

All 8 comments

@nicolas-gervais

pip will automatically install/upgrade requirements, but it won't downgrade.You can manually install any version of a package.

Please, downgrade numpy to 1.18.5 and see if the issue still persists.

pip3 uninstall numpy
pip3 install numpy==1.18.5

Thanks!

We are waiting for TF team to confirm the support of numpy 1.19.x

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you.

Closing as stale. Please reopen if you'd like to work on this further.

Are you satisfied with the resolution of your issue?
Yes
No

Waiting for upgrade to 1.19.1 at least

Проблема с установкой TenserFlow

pip3 uninstall numpy
pip3 install numpy==1.18.5

Добрый день. Пытаюсь решить проблему установки Tenserflow. Написано, что нужно понизить версию до 1.18.5
При запуске вышеуказанного года, выдается ошибка:

File "", line 1
pip3 uninstall numpy
^
SyntaxError: invalid syntax

Проблема с установкой TenserFlow

pip3 uninstall numpy
pip3 install numpy==1.18.5

Добрый день. Пытаюсь решить проблему установки Tenserflow. Написано, что нужно понизить версию до 1.18.5
При запуске вышеуказанного года, выдается ошибка:

File "", line 1
pip3 uninstall numpy
^
SyntaxError: invalid syntax

Попробуй
pip uninstall numpy
или
!pip uninstall numpy

Was this page helpful?
0 / 5 - 0 ratings