Comments (5)
Hi Olav, thanks for reporting! I am afraid I do not have the answer ready. I also do not have a mac to reproduce.
But I suggest that you try to follow the AttributeError: module ‚import lib_metadata‘ has not attribute ‚MetadataPathFinder‘
. I found some forum entries on that topic.
Please keep us updated on your progress!
from oemof-tabular.
Hi jnnr,
it turned out to be a problem with the specific version of numpy. After forcing numpy1.17.0 into the installed software environment (virtual python3.6 environment under anaconda) the installation worked on the iMac27. Nevertheless, running a program (base_NDE_sde.py originally developed by Maruf for oemof.tabular) using oemof.tabular then produced an error while importing enum from pyutilib. I get the error message
'Import Error: pyutilib.enum has been removed. Python 3 now has an enum implementation in the standard library that supersedes this library.'
The program did not run after all.
I have seen that gplssm has run into a similar error using oemof.solph with wind node-abw, but there didn't seem to be a satisfactory answer.
Could anyone give me the relevant version numbers of the packages to be imported to run oemof.tabular smoothly? Right now we seem to be running into a number of problems due to newer versions of the imported packages, which are in conflict with some of the programming in oemof.tabular. Would be great if these essentials could be specified for the installation routine!
Thanks for any help on this problem.
Olav
from oemof-tabular.
The problem with the enum module was solved by deleting the existing pyomo version and and installing pyomo5.7 for the virtual environment. Now the program imports all necessary programs. So I'm down to some internal python problems, which should, hopefully, be solved within the next few days.
from oemof-tabular.
Thanks again for reporting, @OHO53!
We could use poetry in the future which provides a poetry.lock file specifying the versions of all used packages.
Please let us know if you encounter more issues.
from oemof-tabular.
After settling the issues with pyomo5.7 a side effect was that this does not satisfy oemof 0.3.2, which requires promo < 5.7. Nevertheless, oemof.solph 0.4.3 requires promo >= 5.7. Thus, there may still be a conflict between the different specifications.
from oemof-tabular.
Related Issues (20)
- Clean empty lines in csv before reading HOT 1
- tools/postprocessing.py content needed in oemoflex HOT 6
- Adapt multi-period investment tests for BEV facades
- Add dev install version
- Rename `custom_attributes` HOT 1
- Breaking changes due to oemof.network v.0.5.0 HOT 3
- Rework periodic value deserialisation
- Windows installation error: Failed building wheel for cchardet HOT 1
- Bug: MultiPeriodConstraint tests fail upgrading solph 0.5.2dev0 to 0.5.2dev1 HOT 2
- Upgrade to oemof.solph 0.5.2 HOT 1
- oemof.solph tag on dev not correct? HOT 1
- Patch release v0.0.5 - Miraculous Mary
- Replace the specification of frequency for hours in pandas data_range HOT 1
- Implement representative years HOT 1
- Extraction Turbine HOT 1
- Add emissions to facades
- Implement decommissioning via max value HOT 1
- Implement transport market share constraint
- Install pygraphviz fails HOT 1
- Implement mileage constraint
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oemof-tabular.