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

ImportError: bad magic number in 'six': b'\x03\xf3\r\n' #404

Closed
yurinek opened this issue Mar 19, 2021 · 1 comment
Closed

ImportError: bad magic number in 'six': b'\x03\xf3\r\n' #404

yurinek opened this issue Mar 19, 2021 · 1 comment

Comments

@yurinek
Copy link

yurinek commented Mar 19, 2021

hi,

when opening terminator I get

`Traceback (most recent call last):
File "/usr/bin/terminator", line 48, in
import terminatorlib.optionparse
File "/usr/lib/python3/dist-packages/terminatorlib/optionparse.py", line 24, in
from . import config
File "/usr/lib/python3/dist-packages/terminatorlib/config.py", line 75, in
from configobj import ConfigObj, flatten_errors
File "/usr/lib/python3/dist-packages/configobj.py", line 22, in
import six
ImportError: bad magic number in 'six': b'\x03\xf3\r\n'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 72, in apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python3/dist-packages/apport/init.py", line 5, in
from apport.report import Report
File "/usr/lib/python3/dist-packages/apport/report.py", line 32, in
import apport.fileutils
File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 12, in
import os, glob, subprocess, os.path, time, pwd, sys, requests_unixsocket
File "/usr/lib/python3/dist-packages/requests_unixsocket/init.py", line 1, in
import requests
File "/usr/lib/python3/dist-packages/requests/init.py", line 43, in
import urllib3
File "/usr/lib/python3/dist-packages/urllib3/init.py", line 7, in
from .connectionpool import HTTPConnectionPool, HTTPSConnectionPool, connection_from_url
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 11, in
from .exceptions import (
File "/usr/lib/python3/dist-packages/urllib3/exceptions.py", line 2, in
from six.moves.http_client import IncompleteRead as httplib_IncompleteRead
ImportError: bad magic number in 'six': b'\x03\xf3\r\n'

Original exception was:
Traceback (most recent call last):
File "/usr/bin/terminator", line 48, in
import terminatorlib.optionparse
File "/usr/lib/python3/dist-packages/terminatorlib/optionparse.py", line 24, in
from . import config
File "/usr/lib/python3/dist-packages/terminatorlib/config.py", line 75, in
from configobj import ConfigObj, flatten_errors
File "/usr/lib/python3/dist-packages/configobj.py", line 22, in
import six
ImportError: bad magic number in 'six': b'\x03\xf3\r\n'
`

os: linux mint 20 Ulyana
terminator: 2.0.1-1-0ubuntu3

how should I resolve this?

@mattrose
Copy link
Member

This does not appear to be a problem in terminator, but in the python 'six' package or your python configuration.

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