Giter Club home page Giter Club logo

Comments (6)

parth115 avatar parth115 commented on August 11, 2024

@ianozsvald try to replace True with true and False with false in layout.js

from pyxley.

ianozsvald avatar ianozsvald commented on August 11, 2024

@parth115 If I rewrite it and then start python app.py it rewrites project/static/layout.js with the original capitalised 6 occurrences (3 true, 3 false). The file occurs 3 times inside static - any idea which one should be edited?

from pyxley.

springcoil avatar springcoil commented on August 11, 2024

I had the exact same issue (hi @ianozsvald) on a MacOSX

from pyxley.

springcoil avatar springcoil commented on August 11, 2024

I think @ianozsvald this is resolved now with the Python 3.4 fix and the fix of jinja2 templates

from pyxley.

ianozsvald avatar ianozsvald commented on August 11, 2024

@parth115 - working, thanks! /cc @springcoil

Confirmed working with Python 3.4 (Anaconda) using Ubuntu 14.04 (Linux Mint 17.1).

Using Python 3.4 via an Anaconda environment I can install the code (I'm installing as develop for ease of editing the project):

$ python setup.py develop  # (or install)

Next I go into the examples and following your README:

$ examples/datamaps $ bower install
....<install notes from bower>
Please note that,
    datamaps#0.4.0 depends on d3#~3.3.8 which resolved to d3#3.3.13
    datamaps-example depends on d3#~3.5.6 which resolved to d3#3.5.6
Resort to using d3#~3.5.6 which resolved to d3#3.5.6
....

Next I stepped into the project folder (NOTE maybe you could add cd project/ to the README?) and ran

$ python app.py

and it all worked - thanks :-)

I confirm this also works for "datatables", "custom_react" and "metricsgraphics".

from pyxley.

qichaotang avatar qichaotang commented on August 11, 2024

Python 2.7 (Anaconda) can be run???

from pyxley.

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.