2017-09-10 1 views
0

Ich versuche, MySQL-Python auf meinem Computer installieren, welches Betriebssystem Ubuntu ist, aber es hat eineAuf ubuntu, Typeerror: chown() fehlt 1 erforderlich Positions Argument: 'numeric_owner'

TypeError:TypeError: chown() missing 1 required positional argument: 'numeric_owner'

Detaillierte Informationen haben :

[email protected]:~/Documents/MySQL-python-1.2.4b4$ python3 setup.py build Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz Extracting in /tmp/tmpuyexxhsu Traceback (most recent call last): File "/home/ubuntua/Documents/MySQL-python-1.2.4b4/distribute_setup.py", line 143, in use_setuptools raise ImportError ImportError

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "setup.py", line 7, in use_setuptools() File "/home/ubuntua/Documents/MySQL-python-1.2.4b4/distribute_setup.py", line 145, in use_setuptools return _do_download(version, download_base, to_dir, download_delay) File "/home/ubuntua/Documents/MySQL-python-1.2.4b4/distribute_setup.py", line 125, in _do_download _build_egg(egg, tarball, to_dir) File "/home/ubuntua/Documents/MySQL-python-1.2.4b4/distribute_setup.py", line 99, in _build_egg _extractall(tar) File "/home/ubuntua/Documents/MySQL-python-1.2.4b4/distribute_setup.py", line 486, in _extractall self.chown(tarinfo, dirpath) TypeError: chown() missing 1 required positional argument: 'numeric_owner'

ich weiß nicht, wie diese problem.Who lösen kann mir helfen Thannks?!

+0

Es scheint einen Fehler im Code zu geben, der die Installation verhindert. Es ruft 'chow' mit schlechten Argumenten auf. Das Ausführen von "Chown" als nicht-privilegierter Benutzer ist BTW sinnlos. –

Antwort

Verwandte Themen