Hallo,
ich habe eine Setup.py-Datei erstellt:
1 2 3 4 5 6 7 8 9 10 11 12 13 | import os import sys from setuptools import setup setup(name='PQT-Texteditor', version='1.0', description='Barrierefreier Texteditor der plattformunabhängig ist', author='Markus Lemcke', author_email='info@marlem-software.de', url='https://www.marlem-software.de', install_requires=['PyQt5'], ) |
Jetzt habe ich folgendes im Terminal versucht:
1 2 | chmod +x setup.py python3 setup.py install |
Ich bekam folgende Fehlermeldung:
error: can't create or remove files in install directory
The following error occurred while trying to add or remove files in the
installation directory:
[Errno 13] Permission denied: '/usr/local/lib/python3.8/dist-packages/test-easy-install-3247.write-test'
The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
/usr/local/lib/python3.8/dist-packages/
Perhaps your account does not have write access to this directory? If the
installation directory is a system-owned directory, you may need to sign in
as the administrator or "root" account. If you do not have administrative
access to this machine, you may wish to choose a different installation
directory, preferably one that is listed in your PYTHONPATH environment
variable.
For information on other options, you may wish to consult the
documentation at:
https://setuptools.readthedocs.io/en/latest/easy_install.htmlFrage: Was sagt diese Fehlermeldung? Was muß ich tun, damit ich die setup.py-Datei unter Ubuntu ausführen kann?
Bearbeitet von sebix:
Bitte verwende in Zukunft Codeblöcke, um die Übersicht im Forum zu verbessern!