Comments (19)
here it is
You could try to uninstall oemof 0.3.2. Maybe the package requirement of oemof.network there is in clinch to oemof.network 0.4.0rc0 that you have installed as well.
from pvcompare.
I updated the branch feature/update_pvcompare_packages
(see PR #81)
Please let me know if you have installation problems.
The pypi release of MVS is planned for Thursday - after that I will update this branch again.
from pvcompare.
I updated the branch feature/update_pvcompare_packages
as discussed (see PR #81)
The pypi release of MVS is planned for Thursday - after that I will update this branch again.
@MaGering for using a heat pump component you can copy the files from the directory mvs_inputs_template_sector_coupling
to the mvs_inputs
folder. I found problems with the time dependent efficiency of transformers (will look into that hopefully this week) - so for now you should use a constant efficiency (change in energyConversion.csv
).
from pvcompare.
MVS is now installed via pypi in branch feature/update_pvcompare_packages
.
Local installation works for me - let me know if it doesn't for you.
The travis-ci build fails, however, see build.
I searched and tried a lot but couldn't find the solution.
from pvcompare.
Update: I fixed the travis build by using a requirements.txt file again, so that at least we can merge into dev soon.
Now you have to install pvcompare via
pip install -r path/to/requirements.txt
pip install -e path/to/directory/where/setup.py/is/located
There is a new travis build error in all the branches now. As soon as this is solved the changes will be merged into dev.
from pvcompare.
I just tried to run mvs but I get the error:
File "/home/inia/Dokumente/greco_env/lib/python3.6/site-packages/oemof/groupings.py", line 16, in <module>
from oemof.network import Edge
ImportError: cannot import name 'Edge'
this is probably defined in the version of oemof or oemof.network?
from pvcompare.
I just tried to run mvs but I get the error:
File "/home/inia/Dokumente/greco_env/lib/python3.6/site-packages/oemof/groupings.py", line 16, in <module> from oemof.network import Edge ImportError: cannot import name 'Edge'
this is probably defined in the version of oemof or oemof.network?
Could you upload the installed packages here, so that I can check what exactly is installed?
from pvcompare.
here it is
from pvcompare.
here it is
You have installed MVS as developer version, whereas in the updated requirements of MVS it's installed from pypi. This might not be the problem, but could mean that you didn't install the up-to-date installation requirements.
Another question, as I cannot read that from the error msg: did you run pvcompare or MVS when this error occurred and in which module of mvs does it occur?
from pvcompare.
here it is
pip_list.txtYou could try to uninstall oemof 0.3.2. Maybe the package requirement of oemof.network there is in clinch to oemof.network 0.4.0rc0 that you have installed as well.
no, oemof 0.3.2. was installed via the requirements of pvcompare
@SabineHaas I was trying to run the main in pvcompare n(and pulled mvs and pvcompare to the newest version before). I didn't try only mvs yet.
from pvcompare.
As well when running mvs_tool I get the error message that I have only installed the minimal configuration:
from pvcompare.
Is this a MVS or pvcompare issue?
This is to warn you that you cannot use the automatic report function of MVS because for this you need to install additional requirements (look into MVS setup.py), by heart I'd say it's pip install multi_vector_simulator[report]
from pvcompare.
unfortunately I get the same error when installing everything in a new environment.
Also I had big problems installing the psycopg2 package. It only worked when I specified the package to:
psycopg2==2.7.6
maybe we should change that as well in the requirements?
Have you tried installing everything in a new environment and it worked?
from pvcompare.
unfortunately I get the same error when installing everything in a new environment.
Also I had big problems installing the psycopg2 package. It only worked when I specified the package to:psycopg2==2.7.6
maybe we should change that as well in the requirements?
psycopg2 is required in oemof.db
see pipdeptree.txt
As oemof.db requires just any version we could change the version number in our requirements. But at first let's try to find out why it works for me and not for you.
Have you tried installing everything in a new environment and it worked?
Yes, for me it did. Which python do you use? I use python 3.7.1
Could you upload the full error message and pip list of your new environment, please?
from pvcompare.
I use python 3.6! I didnt't know this changed!
from pvcompare.
ok so it runs under 3.7. I just had to define the psycopg2 version (like mentioned above) and install the cbc solver seperately.
from pvcompare.
ok so it runs under 3.7. I just had to define the psycopg2 version (like mentioned above) and install the cbc solver seperately.
Nice!
But could you write an issue please referring to this issue here that pvcompare does not run with python 3.6 for you? I would want it to run with several python versions. This is interesting as we test python 3.6 and 3.7 with travis, see travis.yml
So did the newest version of psycopg2 not work and you use 2.7.6 also with python 3.7?
from pvcompare.
I think the error with python 3.6 only occured in mvs (do indirectly also in pvcompare, yes). Should I still write an issue in pvompare though?
I'm not shure what is the latest version of psycopg2. I just had to define the version. I just tried with this one..
from pvcompare.
I think the error with python 3.6 only occured in mvs (do indirectly also in pvcompare, yes). Should I still write an issue in pvompare though?
MVS tests python 3.6 only (https://github.com/rl-institut/multi-vector-simulator/blob/4cd81ca8adc75edbe0a104785b46c3499341de29/.travis.yml#L4) - so it's really weird :D Well, no I think it's okay. We can write a test later that runs a simulation to check whether everything works (this could be an exceptional test then, that does not need to run everytime we do a PR).
I'm not shure what is the latest version of psycopg2. I just had to define the version. I just tried with this one..
Just for me to understand.. When you installed -r requirements and setup.py the installation of psycopg2 did not work and you installed it afterwards via pip install psycopg2==x.y.z
?
from pvcompare.
Related Issues (20)
- Deprecated calculation of electricity demand HOT 7
- Parameters with spaces instead of underscores in building_parameters.csv
- [Bug] master build fails HOT 1
- [Bug] master tests not triggered for PR into master HOT 2
- should the user be able to provide their own weather data? HOT 2
- run_pvcompare is deprecated? HOT 2
- [Documentation] Improvement of docstrings HOT 1
- Release v0.0.3 HOT 2
- add scenario with "lower demand" ? HOT 2
- [documentation] number of houses in model_assumptions.rst
- simulate gable roofs as well HOT 3
- It is not possible to model space heating and warm water as separate demands
- [documentation] add more infos on weather data that user can add
- [usability] allow for loading different si modules
- CPV time series for hybrid module HOT 4
- greco_technologies needed in pvcompare? HOT 1
- Fix table display HOT 1
- adapt loading COP timeseries HOT 1
- Delete if name == main statements? HOT 2
- Add example tests to github workflow
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 pvcompare.