sqlite3.ProgrammingError: SQLite objects created in a thread can only be used in that same thread. The object was created in thread id 22616 and this is thread id 40760.
Traceback (most recent call last): File "C:\Users\dingj\anaconda3\envs\gpxutil\Lib\tokenize.py", line 381, in find_cookie line_string = line.decode('utf-8') ^^^^^^^^^^^^^^^^^^^^ UnicodeDecodeError: 'utf-8' codec can't decode byte 0x90 in position 2: invalid start byte
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "C:\Program Files\JetBrains\PyCharm 2024.3.4\plugins\python-ce\helpers\pydev\pydevd.py", line 1570, in _exec pydev_imports.execfile(file, globals, locals) # execute the script ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\JetBrains\PyCharm 2024.3.4\plugins\python-ce\helpers\pydev_pydev_imps_pydev_execfile.py", line 11, in execfile stream = tokenize.open(file) # @UndefinedVariable ^^^^^^^^^^^^^^^^^^^ File "C:\Users\dingj\anaconda3\envs\gpxutil\Lib\tokenize.py", line 445, in open encoding, lines = detect_encoding(buffer.readline) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\dingj\anaconda3\envs\gpxutil\Lib\tokenize.py", line 422, in detect_encoding encoding = find_cookie(first) ^^^^^^^^^^^^^^^^^^ File "C:\Users\dingj\anaconda3\envs\gpxutil\Lib\tokenize.py", line 386, in find_cookie raise SyntaxError(msg) SyntaxError: invalid or missing encoding declaration for 'C:\Users\dingj\anaconda3\envs\gpxutil\Scripts\celery.exe' python-BaseException