Comments (3)
dappelhans@prm-login:/gpfs/fs1/dappelhans/examples/fypp-examples$ fypp -h
Traceback (most recent call last):
File "/home/dappelhans/.local/bin/fypp", line 7, in <module>
from fypp import run_fypp
File "/home/dappelhans/.local/lib/python2.7/site-packages/fypp.py", line 711
raise FyppFatalError(msg, self._curfile, span) from exc
^
SyntaxError: invalid syntax
from fypp.
using pip3 install fypp
and everything works. Seems there is something broken about using python 2.7 even though docs said it should work.
from fypp.
Thanks for reporting! With version 3.1 we have dropped support for Python 2.7 and also for some ancient Python 3.x versions. Unfortunately, the documentation was not updated accordingly. I've fixed this now (5a5a333) and have also updated the installation info in the docs (a9a2ffe).
from fypp.
Related Issues (20)
- block/call macros: Is there a way to define a fypp custom macro in a procedural manner? HOT 2
- Multiple tuple returns for #:for HOT 1
- Dependency generation for fypp HOT 2
- Parsing the code -- choice HOT 1
- Linemarkers with Intel oneAPI compilers HOT 1
- Accessing Python dictionaries within fypp HOT 5
- Variadic templates with fypp HOT 5
- expanding macro in include directive HOT 1
- Using fypp through the Intel Fortran compilers HOT 5
- parsing cmake variables values of bool HOT 5
- Logical test behaves different in a def'ed macro compares to outside of macro HOT 2
- Fedora packaging HOT 2
- fypp with pypy throwing a FyppFatalError/NameError HOT 2
- test/input/filevarroot.fypp missing in 3.2 tarball on PyPI
- Macro changes HOT 3
- Feature: Print result directly to an output file in the *same directory* as the input file HOT 5
- Kernel launcher HOT 6
- Enhancement request : detect repeated #:def with the same signature
- Append method for lists HOT 3
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 fypp.