question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

print_versions() wrongly claims that my numpy version is too low

See original GitHub issue

When I type

import numexpr as ne
ne.print_versions()

I get the following warning, which is clearly a mistake:

*Warning*: NumPy version is lower than recommended: 1.15.4 < 1.7.0

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
dhomeiercommented, Jan 16, 2019

Looks like a simple typo in the version test: https://github.com/pydata/numexpr/blob/6a9f2ad1128a4f6577d2cb9967dab0f89698131c/numexpr/tests/test_numexpr.py#L1045

should be

if minimum_numpy_version > np_version:

😃

0reactions
robbmcleodcommented, Jan 28, 2019

Appears to be fixed. Sorry for taking so long for a trivial fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

python - Numpy is installed but still getting error - Stack Overflow
I am trying to run jupyter notebook and getting following error. I am using Win 7 with anaconda python 3.7. ImportError : Something...
Read more >
Troubleshooting ImportError — NumPy v1.24 Manual
Importing the numpy c-extensions failed. This error can happen for different reasons, often due to issues with your setup. The error also has...
Read more >
ModuleNotFoundError: No module named 'numpy' in Python
Your IDE running an incorrect version of Python. Naming your module numpy.py which would shadow the official module. Declaring a variable named numpy...
Read more >
QIIME2 - installation issue with incorrect Python/NumPy version
(base) -bash-4.2$ conda activate qiime2-2021.11 QIIME is caching your current deployment for improved performance. This may take a few ...
Read more >
Look Ma, No For-Loops: Array Programming With NumPy
How to take advantage of vectorization and broadcasting so you can use NumPy to its full capacity. In this tutorial you'll see step-by-step...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found