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.

ASV py3.6 environment fails to install (numba/numpy conflict)

See original GitHub issue

Describe the bug In asv.conf, the virsion of numba is conflictde with the virsion of numpy,so when run this code asv check,there is a bug.

To Reproduce Steps to reproduce the behavior:

  1. Validate and build environments (may take a couple minutes to run): asv check
  2. See error

Expected behavior modify the asv.conf

Screenshots image

Versions:

  • pvlib.__version__:
  • pandas.__version__:
  • python:conda python 3.9

Additional context And i change the virsion 0.36.1 of numba to the virsion 0.40.0 of numba ,it works.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
kanderso-nrelcommented, Apr 11, 2022

the result of each benchmark is just one commit result

Yep, each dot in the line chart corresponds to the results of a single commit on the pvlib master branch. Just running asv check won’t actually store any benchmark results like asv run ... does.

the process of the benchmarks is too long

Yeah, the benchmarks are a bit slow 😦 it’s a few minutes just to benchmark a single commit, so running benchmarks for a long history of commits does take quite a bit of time. Maybe we can improve that.

Anyway, this issue seems similar to https://github.com/pvlib-benchmarker/pvlib-benchmarks/issues/1. The linux server we use to run the nightly benchmarks isn’t affected by this problem, so maybe the incompatibility is related to the OS. In any case I agree that we should update the configuration file so that the instructions work on a typical PC. While I agree it makes sense to stop benchmarking on python 3.6 eventually, I don’t mind keeping it around as long as we’re still running the unit tests on 3.6. So maybe for now we should just increase the numba version and leave the python version update for later.

0reactions
roger-lcccommented, Apr 11, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Problem with creating Python 3.6 virtual environment on ...
RuntimeError: failed to query /usr/bin/python3.6 with code 1 err: ... I also tried installing sudo apt install python3.6-venv which results in:
Read more >
Installation — Numba 0.50.1 documentation
The easiest way to install Numba and get updates is by using conda , a cross-platform package manager and software distribution maintained by...
Read more >
Problems installing Python3.6 using Anaconda - Stack Overflow
When I run conda install python==3.6 , I get the following: Solving environment: failed UnsatisfiableError: The following specifications were ...
Read more >
regular python needed for RPM package to install
I'm a DoD contractor trying to install s/w which is a .rpm file. When trying to run the program I get the following...
Read more >
How to install and use Pip3 - ActiveState
Pip3 is the official package manager and pip command for Python 3. It enables the installation and management of third party software ...
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