Comments (4)
this program requires Python 3.
works fine here with python 2.7.18.
from lipx.
works fine here with python 2.7.18.
How are you running it? If you're running the latest code, the shebang is already changed to call python3. You probably have python 3 installed on your system as well, and it's calling that. This program uses syntax that is illegal in python 2, and it doesn't import any of the modules that would enable it to be compatible. The reason I opened this issue in the first place is because my system tried to run it in python 2 with the old shebang and it failed. I'm 99% sure you ran it with python 3 without realizing.
from lipx.
i only have python2 installed and executed "python lipx.py ....". both creating a patch and applying worked without issues.
from lipx.
Hmm, okay I just tested this and it does appear to work. I guess the newer python 2 versions accept the python 3 print syntax. Either way, python
in the shebang is not portable, and the README says the program is tested with python 3.
from lipx.
Related Issues (7)
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 lipx.