Comments (8)
You don't need pygraphviz to run the app. I suggest looking back to an earlier versions of the repo before visualize.py was added to the knowledge_graph folder.
@ppython I'm thinking it might be good to move the visualize script to a different repo, one that's internal only, especially since the visualize.py script isn't going to be run by the app.
from climatemind-backend.
@biotom if you do want to install graphviz and you have a mac, then follow these directions to fix the dependency issue:
I had issues getting pip install pygraphviz to work on my mac. I had to download pygraphviz from the zip file on their website, then unzip and include the special arguments in the install command to include the proper path to Graphviz installed on my mac.
For mac, after installing Graphviz, to install pygraphivz providing path to graphviz (from the install documentation for pygraphviz):
We tried our best to discover graphviz location automatically, but if you
would like specify specific location for graphviz you may provide additional parameters to specify graphviz location in the setup.py file in the zip or tar file.
include-path= path to graphviz include files
library-path= path to graphviz library files
For example
::
python setup.py install --include-path=/usr/local/Cellar/graphviz/2.38.0/include/graphviz --library-path=/usr/local/Cellar/graphviz/2.38.0/lib
Note that Graphviz is different than the pygraphviz python package. Graphviz is separate software that can be downloaded if you have a mac and have homebrew by doing brew install graphviz
. If you have a PC try to follow the instructions here to get pygraphviz and Graphviz working.
from climatemind-backend.
@biotom Try using this state of the repo to work off of for Swagger:
b8d8b3a#diff-d7b6a4b835cd70aa17e6993900a57dbe
from climatemind-backend.
Thanks, after brew install graphviz
, it worked! However, I'm now getting ModuleNotFoundError: No module named 'pandas'
when I try and do flask run
... @rolandoldengarm is it worth dockerising this now?
from climatemind-backend.
from climatemind-backend.
Yes, I've done this- and so has pip install -r requirements.txt
from climatemind-backend.
from climatemind-backend.
With the docker container developments, and the fact that installing graphviz fixed this, I think we can close this issue.
from climatemind-backend.
Related Issues (20)
- Refactor URL hardcoding HOT 2
- Find out the source of all countries with geocodes HOT 2
- As a user, I want to delete my account HOT 8
- Missing zip code lead to an error in get_feed endpoint HOT 1
- Push docker image to DockerHub instead of ACR HOT 1
- As a backend developer, I want to use frontend image for development
- Fix services.webapp.environment.CHOKIDAR_USEPOLLING contains true, which is an invalid type, it should be a string, number, or a null HOT 3
- Find out a source of occupations HOT 1
- Drop flask-selfdoc HOT 3
- Check Windows installation HOT 3
- Upgrade sentry to 1.10
- As a back-end developer, I want to have a remote project environment to work on HOT 1
- As a back-end developer, I want to get the unique invite link for a user HOT 1
- As a front-end developer, I want to get a single invite link for user A HOT 1
- POST text feedback alongside with user's rating
- Add unit test for lrf_data HOT 2
- Refactor feed Blueprint usage
- Missing troubleshooting instructions for failed database migration during installation HOT 1
- add relatedPersonalValues to /feed endpoint
- delete account and associated data HOT 1
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 climatemind-backend.