Giter VIP home page Giter VIP logo

Comments (6)

dpinney avatar dpinney commented on July 18, 2024

Dang. No apt-get for the first step? And is there an apt-get python-pygraphviz?

from omf.

mannanj avatar mannanj commented on July 18, 2024

That seems to have worked without error as well (it installed the new python graph-viz library). But doubtful it will work without requiring graphviz libs. Was this all you had to do in production?

solar engineering doesn't work without pygraphviz installed, with requires the following for a Linux Mint OS:

-Graphviz download & install from http://www.graphviz.org/Download_linux_ubuntu.php
-graphviz-dev libraries: apt-get install libgraphviz-dev
-install pygraphviz: easy_install pygraphviz (pip install doesn't seem to work here)

I can go ahead and install it on Windows and list the procedure here as well.

from omf.

dpinney avatar dpinney commented on July 18, 2024

Come by and let's discuss.

from omf.

mannanj avatar mannanj commented on July 18, 2024

Original comment updated and made more clear.

Further problems and solutions stated below. Identical problems encountered on both Ubuntu 15.04 and 14.04

  • Problem 1: Wiki install procedure errors at step 4.

    sudo python setup.py develop
    

    Install procedure fails at installing Mock due to Setuptools version requirement >= 17.1(12.2 comes installed by default on a stock image).

  • Solution: Run pip install setuptools --upgrade

  • Problem 2: Can't find pydot.

  • Solution: Uninstall pyparsing and pydot, install an older version of pyparsing and pydot as shown.

    pip install -Iv https://pypi.python.org/packages/source/p/pyparsing/pyparsing-1.5.7.tar.gz#md5=9be0fcdcc595199c646ab317c1d9a709
    
    pip install pydot
    
  • Problem 3: Graphviz executables not found.

  • Solution: sudo apt-get install python-pygraphviz

  • Problem 4: List index out of range:
    screenshot from 2015-08-11 19 41 22

  • Solution: (Being actively debugged)
    Potentially a problem with cleanG graph type variable not containing what it should and generating the list index out of range error. What it should be is a graph type variable to be entered into the graphviz function. Having difficulty figuring out what it should be, and printing it and its various items (simple print of cleanG doesn't output anything).

from omf.

mannanj avatar mannanj commented on July 18, 2024

Worked on this for another hour and got stuck, I propose this be closed.

from omf.

dpinney avatar dpinney commented on July 18, 2024

I updated the wiki and requirements.txt. Closing.

from omf.

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.