brightway-lca / brightway2-data

Tools for the management of inventory databases and impact assessment methods. Part of the Brightway LCA framework.
https://docs.brightway.dev/
BSD 3-Clause "New" or "Revised" License
8 stars 21 forks source link

Problems with importing numpy #121

Closed Joshua-Schroijen closed 1 year ago

Joshua-Schroijen commented 1 year ago

Hello everyone,

When I try to use bw2data's PyPI package without making use of the brightway2 PyPI meta package I tend to get a variety of errors like "ImportError numpy.core.multiarray " when using libraries like matplotlib. I'm using Windows Subsystem for Linux, standard venv Python virtual environments and have tried with Python 3.9 through 3.11. For specific reasons I would like to use the latest and greatest version of bw2data available and I would like not to go with the outdated versions provided by the Brightway2 metapackage. Does anyone have some advice? Is this a bug that needs fixing?

In case this is a Numpy issue, I opened an issue at their repository. I've followed their own troubleshooting guide to no avail. I've built Numpy from source and made sure my virtual environment was prioritized in my $PATH, but no dice ...

Thanks in advance for your help

cmutel commented 1 year ago

@Joshua-Schroijen It seems like this was an issue with a specific VM - can we close this issue?