Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxError: invalid syntax #5

Closed
shell1986 opened this issue May 6, 2020 · 3 comments
Closed

SyntaxError: invalid syntax #5

shell1986 opened this issue May 6, 2020 · 3 comments

Comments

@shell1986
Copy link

Hi, after installation, I get an error.

Traceback (most recent call last): File "/usr/local/bin/ffmpeg_bitrate_stats", line 7, in <module> from ffmpeg_bitrate_stats.__main__ import main File "/usr/local/lib/python2.7/dist-packages/ffmpeg_bitrate_stats/__main__.py", line 22 print(msg, file=sys.stderr) ^ SyntaxError: invalid syntax

@slhck
Copy link
Owner

slhck commented May 6, 2020

This tool is not written for Python 2.7. Please upgrade to Python 3.6 or higher.

@slhck slhck closed this as completed May 6, 2020
@shell1986
Copy link
Author

shell1986 commented May 6, 2020

pip install ffmpeg_bitrate_stats ???
why in the instructions indicate the installation for python ver 2?

@shell1986
Copy link
Author

Traceback (most recent call last):
File "/usr/local/bin/ffmpeg_bitrate_stats", line 7, in
from ffmpeg_bitrate_stats.main import main
File "/usr/local/lib/python3.5/dist-packages/ffmpeg_bitrate_stats/main.py", line 103
print_stderr(f"Calculating frame size from {self.input_file}")
^
SyntaxError: invalid syntax

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants