rebane2001 / matterport-dl

A downloader for matterport virtual tours
The Unlicense
294 stars 75 forks source link

invalid syntax error #52

Closed JennBilawski closed 2 years ago

JennBilawski commented 2 years ago
File "matterport-dl.py", line 42
    variants.append(f"{z}_face{face}_{x}_{y}.jpg")
                                                ^
SyntaxError: invalid syntax

macOS, python 3.10.0

JennBilawski commented 2 years ago

For future macOS people - it was using python 2, pyenv was not doing the trick. Had to explicitly use the command python3 matterport-dl.py url.

Additionally, pip install requests was installing for python 2, not for python3.

Use the command python3 -m pip install --upgrade --force pip to force pip to use python3, then pip install requests and pip install tdqm.