Coder Social home page Coder Social logo

Python 3.4 support? about pyxley HOT 6 CLOSED

stitchfix avatar stitchfix commented on July 21, 2024
Python 3.4 support?

from pyxley.

Comments (6)

ppope avatar ppope commented on July 21, 2024

+1 to noting in README that only python 2.7 is supported currently

from pyxley.

nmkridler avatar nmkridler commented on July 21, 2024

I haven't had a chance to look at 3.4 yet, but thanks for looking in to this. In the meantime, I'll definitely add to the readme that only python 2.7 is currently supported.

from pyxley.

nmkridler avatar nmkridler commented on July 21, 2024

I got it working in python 3.4, there were some string/binary issues in the writing of layout.js. I'll try to push a fix soon.

from pyxley.

nmkridler avatar nmkridler commented on July 21, 2024

@ianozsvald Should be 3.4 compatible now. Also, I'll edit the blog to remove the FilterFrame bit. It was removed, but I didn't catch it in the blog.

from pyxley.

ianozsvald avatar ianozsvald commented on July 21, 2024

@nmkridler Hi Nick - just to say "thanks" for fixing this, Python 3.4+ compatibility is much appreciated :-)

from pyxley.

qichaotang avatar qichaotang commented on July 21, 2024

Hello,nmkridler,the error occurs
F:\Anaconda\python.exe F:/Anaconda/selenium/pyxley/examples/metricsgraphics/project/test.py
Traceback (most recent call last):
File "F:/Anaconda/selenium/pyxley/examples/metricsgraphics/project/test.py", line 80, in
sb = ui.render_layout(app, "./static/layout.js")
File "F:\Anaconda\lib\site-packages\pyxley\ui.py", line 135, in render_layout
static_path=path)
File "F:\Anaconda\lib\site-packages\pyxley\react_template.py", line 95, in init
self.to_js()
File "F:\Anaconda\lib\site-packages\pyxley\react_template.py", line 34, in to_js
js = self.transformer.transform_string(t.render(**self.args))
File "F:\Anaconda\lib\site-packages\react\jsx.py", line 45, in transform_string
raise TransformError(e.message[7:])
react.jsx.TransformError

Process finished with exit code 1

All examples occurred this problem,I need help.

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.