Code Monkey home page Code Monkey logo

Comments (11)

msm-sardar avatar msm-sardar commented on September 25, 2024

Hey Mert,

In anaconda prompt, activate the swolfpy environment and do the following:

pip list

Check the list to see whether you have networkx installed or not. If not, install it and check again.

pip install networkx

Let me know the result.

from swolfpy.

mert21433 avatar mert21433 commented on September 25, 2024

image
I have this pop-up. It seems I already had it.
Also,
I tried to start the GUI, but I had this warning;
image
I thought maybe these could be related.
Should I reinstall and try the swolfpy and try the networkx again?
Thank you.

from swolfpy.

msm-sardar avatar msm-sardar commented on September 25, 2024

@mert21433 send the results of pip list, let's see what packages/versions you have.

it would be easier to reinstall.

Does the graphviz work when you use the interface or create a base case (https://github.com/SwolfPy-Project/CaseStudy-JIE2021/blob/main/Base%20Case/Base_Case.ipynb)?

from swolfpy.

mert21433 avatar mert21433 commented on September 25, 2024

1- Here is the pip list.
pip_list.txt
2- I am going to write results when I reinstall and get the GUI working.
3- The graphviz error I got was from the optimization part of the base case.

Other than this, base cases are working, as in they give the results.

from swolfpy.

msm-sardar avatar msm-sardar commented on September 25, 2024

@mert21433 First activate the swolfpy environment conda activate swolfpy and then pip list

from swolfpy.

mert21433 avatar mert21433 commented on September 25, 2024

Here it is.
pip_list.txt

from swolfpy.

msm-sardar avatar msm-sardar commented on September 25, 2024

@mert21433 You don't have networkx in swolfpy environment. Do the following:

conda activate swolfpy
pip install networkx

from swolfpy.

mert21433 avatar mert21433 commented on September 25, 2024

This is the result,
image
And this is the most recent pip list, networkx is there.
pip_list.txt

I can also give an update after the reinstallation.

from swolfpy.

mert21433 avatar mert21433 commented on September 25, 2024

This is the result when I try to reinstall with python version 3.7. But it worked with 3.8. Is using 3.8 going to be a problem?
image

Thanks!

from swolfpy.

msm-sardar avatar msm-sardar commented on September 25, 2024

@mert21433 I couldn't reproduce your error with Graphviz!

Why do you need python 3.8? The error is not related to SwolfPy, it's related to bw2. I suggest using the default version (python 3.7) or checking this issue (brightway-lca/brightway2-io#90).

from swolfpy.

mert21433 avatar mert21433 commented on September 25, 2024

Which specific bw2data version solves this problem?
I have installed 3.6 but received a warning saying that swolfpy 0.2.4 requires the
3.6.2 version.
(FYI, so far, using python 3.8 is the only way I can start the GUI)

from swolfpy.

Related Issues (6)

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.