rebane2001 / matterport-dl

A downloader for matterport virtual tours
The Unlicense
311 stars 78 forks source link

ValueError: Unrecognised argument(s): encoding #9

Closed HeroponRikiBestest closed 2 years ago

HeroponRikiBestest commented 2 years ago

Upon trying to run in Linux Mint 20: bestest@bestest-ThinkPad-T14-Gen-1:~/matterport-dl$ python3 matterport-dl.py 3rmnPWnWbhh Traceback (most recent call last): File "matterport-dl.py", line 303, in <module> initiateDownload(sys.argv[1]) File "matterport-dl.py", line 238, in initiateDownload downloadPage(getPageId(url)) File "matterport-dl.py", line 201, in downloadPage logging.basicConfig(filename='run_report.log', encoding='utf-8', level=logging.DEBUG, format='%(asctime)s %(levelname)-8s %(message)s',datefmt='%Y-%m-%d %H:%M:%S') File "/usr/lib/python3.8/logging/__init__.py", line 2009, in basicConfig raise ValueError('Unrecognised argument(s): %s' % keys) ValueError: Unrecognised argument(s): encoding

rebane2001 commented 2 years ago

What is your Python version? Try upgrading to Python 3.9 or newer if you can.

HeroponRikiBestest commented 2 years ago

My python version is 3.8, unfortunately that's the highest linux mint's default python3 package goes; I can install python3.9, but this program requires tqdm to run, and I'm not sure how to use pip3 with something other than the default python3 package.

rebane2001 commented 2 years ago

python3.x -m pip

HeroponRikiBestest commented 2 years ago

Okay, thank you! Sorry to bother you with this. I did have some issues with the downloaded model, but I'll open a new issue for that