Giter Site home page Giter Site logo

Comments (7)

WesIngwersen avatar WesIngwersen commented on July 17, 2024

An easy fix to this I think would be to add a main() to the init that just calls main.main() but not sure how pythonic that is

from electricitylci.

jump2conclusionsmatt avatar jump2conclusionsmatt commented on July 17, 2024

I was running it using this before, which I recognize is not advisable:
python C:\Users\jamiesom\AppData\Roaming\Python\Python37\site-packages\electricitylci\main.py

It appears that this should work - I got the configuration selector to come up anyways.
python -m electricitylci.main
When I actually tried to run it I was still getting the error for the missing chemicalmatcher/config.yaml. Reinstalling using pip and trying again.

from electricitylci.

WesIngwersen avatar WesIngwersen commented on July 17, 2024

@jump2conclusionsmatt Erasing text of last point. Yes the config.yaml fix should have been done. You need to pip uninstall StEWI before doing this to uninstall your old version

from electricitylci.

jump2conclusionsmatt avatar jump2conclusionsmatt commented on July 17, 2024

running python -m electricitylci.main worked for me after copying in the config.yaml.
Oh my bad about the issue I just opened then. I know you mentioned requiring the newest release of Stewi, I just assumed that was actually 0.9.2...not that 0.9.3 or whatever needed to be created.

from electricitylci.

WesIngwersen avatar WesIngwersen commented on July 17, 2024

It is v0.9.2 that should work fine

from electricitylci.

jump2conclusionsmatt avatar jump2conclusionsmatt commented on July 17, 2024

It didn't for me. I got this after installing electricitylci:
Successfully installed StEWI-0.9.2...
and still ended up with the config.yaml error.

from electricitylci.

WesIngwersen avatar WesIngwersen commented on July 17, 2024

@jump2conclusionsmatt ok i also confirm that
python -m electricitylci.main
is running for me..its downloading original EIA-923 files now..i will repost if there are any issues
I'm seeing a few weird comments i might remove like
Loading data from previously downloaded excel file, how did the csv file get deleted?
i will post if i encounter errors
but otherwise the run of main.py from the python is fine for me..i will update the wiki and we can comment about remaining install dependency issues in the pull request

from electricitylci.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.