Comments (3)
Problem is caused by the fact that the babel compiler is UTF8 javascript, so when dukpy tries to read the compiler to run it it will receive utf8 data, but Python3.X decodes data according to the system locale.
Your system locale is probably ascii ("C"?) so Python is trying to decode the babel source code as plain ascii and failing.
I hope to fix this for next release as it's also a requirement for windows systems
from dukpy.
@timonweb try setting any UTF-8 aware locale using environment variables.
from dukpy.
This should have been fixed in 0.2.0 release.
from dukpy.
Related Issues (20)
- Is let keyword not supported? HOT 1
- Dependency update HOT 2
- [Question] Is evaljs safe? HOT 3
- Release for Python 3.8 HOT 3
- Upgrade LessCss code HOT 1
- Wheel file for Python 3.9? HOT 3
- Cannot install webpack due to eslint-scope's folder structure HOT 1
- Build Error - Unable into install due to build tools HOT 1
- Compile from a file to a file? HOT 2
- mock is not required for testsuite HOT 1
- Math.trunc not supported by evaljs HOT 4
- Trailing commas not supported inside Array constructor HOT 3
- execute es6 code
- babel-polyfill is deprecated
- some emoji not supported HOT 1
- pip install fails on windows HOT 4
- Evaluate transition to JerryScript
- Propagating exceptions inside call_python()
- UnicodeDecodeError: 'utf-8' codec can't decode byte HOT 4
- Support Python 3.12 + wheels 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 dukpy.