Error while using Truffle unbox react #5867
samcms1234
started this conversation in
Truffle Boxes
Replies: 1 comment
-
Hi @samcms1234,
Indicates that python 3 is trying to run code written for python 2 (requiring parentheses on print is one of the syntax changes from python 2 to 3), however I'm unsure why a truffle unbox would involve python at all. I don't have this path: Please let us know if the react truffle box is unboxed ok, regardless of the python error? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Issue
The issue is when I use Truffle unbox react it throws an error
Steps to Reproduce
truffle unbox react
Expected Behavior
Command should run properly without any error messages.
Actual Results
truffle unbox react python2 Traceback (most recent call last): File "/home/divyanshu/.local/bin/truffle", line 5, in <module> from truffle.app import main File "/home/divyanshu/.local/lib/python3.8/site-packages/truffle/app.py", line 33 print file_index ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(file_index)?
Environment
Beta Was this translation helpful? Give feedback.
All reactions