ich bin kompletter Python und Linux Neuling und habe gerade Schwierigkeiten beim Installieren von "robotframework" (ein Testautomatisierungstool). Nach der Anleitung von robotframework.org habe ich mich entlang gehangelt und alle Befehle in linux terminal (openSUSE) eingetippt. beim letzten befehl "pip install robotframework-ride" treffe ich auf folgende Fehlermeldung (achtung da kommt jetzt ziemlich viel Text. Für den Fall dass es wichtig ist, habe ich die komplette Fehlermeldung kopiert):
Code: Alles auswählen
pip install robotframework-ride
Collecting robotframework-ride
Using cached robotframework-ride-1.7.4.2.tar.gz (846 kB)
Preparing metadata (setup.py) ... done
Collecting wxPython<=4.0.7.post2
Using cached wxPython-4.0.7.post2.tar.gz (68.9 MB)
Preparing metadata (setup.py) ... done
Collecting PyPubSub
Using cached Pypubsub-4.0.3-py3-none-any.whl (61 kB)
Collecting Pygments
Using cached Pygments-2.10.0-py3-none-any.whl (1.0 MB)
Requirement already satisfied: pillow in /usr/lib64/python3.6/site-packages (from wxPython<=4.0.7.post2->robotframework-ride) (8.4.0)
Requirement already satisfied: six in /usr/lib/python3.6/site-packages (from wxPython<=4.0.7.post2->robotframework-ride) (1.11.0)
Requirement already satisfied: numpy in /usr/lib64/python3.6/site-packages (from wxPython<=4.0.7.post2->robotframework-ride) (1.17.3)
Using legacy 'setup.py install' for robotframework-ride, since package 'wheel' is not installed.
Using legacy 'setup.py install' for wxPython, since package 'wheel' is not installed.
Installing collected packages: wxPython, PyPubSub, Pygments, robotframework-ride
Attempting uninstall: wxPython
Found existing installation: wxPython 4.1.1
Uninstalling wxPython-4.1.1:
Successfully uninstalled wxPython-4.1.1
Running setup.py install for wxPython ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-zamh07ba/wxpython_8ae942306ce34a78961e36350fbe545a/setup.py'"'"'; __file__='"'"'/tmp/pip-install-zamh07ba/wxpython_8ae942306ce34a78961e36350fbe545a/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-5nxiwfoo/install-record.txt --single-version-externally-managed --compile --install-headers /usr/include/python3.6m/wxPython
cwd: /tmp/pip-install-zamh07ba/wxpython_8ae942306ce34a78961e36350fbe545a/
Complete output (311 lines):
running install
running build
WARNING: Building this way assumes that all generated files have been
generated already. If that is not the case then use build.py directly
to generate the source and perform the build stage. You can use
--skip-build with the bdist_* or install commands to avoid this
message and the wxWidgets and Phoenix build steps in the future.
"/usr/bin/python3" -u build.py build
Will build using: "/usr/bin/python3"
3.6.12 (default, Dec 02 2020, 09:44:23) [GCC]
Python's architecture is 64bit
cfg.VERSION: 4.0.7.post2
Running command: build
Running command: build_wx
wxWidgets build options: ['--wxpython', '--unicode', '--gtk3']
Configure options: ['--enable-unicode', '--with-gtk=3', '--enable-sound', '--enable-graphics_ctx', '--enable-display', '--enable-geometry', '--enable-debug_flag', '--enable-optimise', '--disable-debugreport', '--enable-uiactionsim', '--enable-autoidman', '--with-sdl']
/tmp/pip-install-zamh07ba/wxpython_8ae942306ce34a78961e36350fbe545a/ext/wxWidgets/configure --enable-unicode --with-gtk=3 --enable-sound --enable-graphics_ctx --enable-display --enable-geometry --enable-debug_flag --enable-optimise --disable-debugreport --enable-uiactionsim --enable-autoidman --with-sdl
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for --disable-gui... no
checking for --enable-monolithic... no
checking for --enable-plugins... no
checking for --without-subdirs... no
checking for --enable-official_build... no
checking for --disable-all-features... no
checking for --enable-universal... no
checking for --enable-nanox... no
checking for --enable-gpe... no
checking for toolkit... gtk
checking for --with-libpng... yes
checking for --with-libjpeg... yes
checking for --with-libtiff... yes
checking for --without-libjbig... no
checking for --without-liblzma... no
checking for --with-libxpm... yes
checking for --with-libiconv... yes
checking for --with-libmspack... no
checking for --without-gtkprint... no
checking for --with-gnomevfs... no
checking for --with-libnotify... yes
checking for --with-hildon... no
checking for --with-opengl... auto
checking for --with-dmalloc... no
checking for --with-sdl... yes
checking for --with-regex... yes
checking for --with-zlib... yes
checking for --with-expat... yes
checking for --with-macosx-sdk...
checking for --with-macosx-version-min...
checking for --enable-debug... default
checking for --disable-debug_flag... no
checking for --enable-debug_info... no
checking for --enable-debug_gdb... no
checking for --enable-debug_cntxt... no
checking for --enable-mem_tracing... no
checking for --disable-shared... no
checking for --enable-stl... no
checking for --enable-std_containers... no
checking for --enable-std_iostreams... yes
checking for --enable-std_string... yes
checking for --enable-std_string_conv_in_wxstring... no
checking for --disable-unicode... no
checking for --enable-mslu... no
checking for --enable-utf8... no
checking for --enable-utf8only... no
checking for --enable-extended_rtti... no
checking for --disable-optimise... no
checking for --enable-profile... no
checking for --enable-no_rtti... no
checking for --enable-no_exceptions... no
checking for --enable-permissive... no
checking for --enable-no_deps... no
checking for --disable-vararg_macros... no
checking for --enable-universal_binary... no
checking for --enable-macosx_arch... no
checking for --enable-compat26... no
checking for --disable-compat28... no
checking for --disable-rpath... no
checking for --enable-objc_uniquifying... no
checking for --disable-visibility... no
checking for --disable-tls... no
checking for --enable-intl... yes
checking for --enable-xlocale... yes
checking for --enable-config... yes
checking for --enable-protocols... yes
checking for --enable-ftp... yes
checking for --enable-http... yes
checking for --enable-fileproto... yes
checking for --enable-sockets... yes
checking for --enable-ipv6... no
checking for --enable-ole... yes
checking for --enable-dataobj... yes
checking for --enable-ipc... yes
checking for --enable-baseevtloop... yes
checking for --enable-epollloop... yes
checking for --enable-selectloop... yes
checking for --enable-any... yes
checking for --enable-apple_ieee... yes
checking for --enable-arcstream... yes
checking for --enable-base64... yes
checking for --enable-backtrace... yes
checking for --enable-catch_segvs... yes
checking for --enable-cmdline... yes
checking for --enable-datetime... yes
checking for --enable-debugreport... no
checking for --enable-dialupman... yes
checking for --enable-dynlib... yes
checking for --enable-dynamicloader... yes
checking for --enable-exceptions... yes
checking for --enable-ffile... yes
checking for --enable-file... yes
checking for --enable-filehistory... yes
checking for --enable-filesystem... yes
checking for --enable-fontenum... yes
checking for --enable-fontmap... yes
checking for --enable-fs_archive... yes
checking for --enable-fs_inet... yes
checking for --enable-fs_zip... yes
checking for --enable-fsvolume... yes
checking for --enable-fswatcher... yes
checking for --enable-geometry... yes
checking for --enable-log... yes
checking for --enable-longlong... yes
checking for --enable-mimetype... yes
checking for --enable-printfposparam... yes
checking for --enable-snglinst... yes
checking for --enable-sound... yes
checking for --enable-stdpaths... yes
checking for --enable-stopwatch... yes
checking for --enable-streams... yes
checking for --enable-sysoptions... yes
checking for --enable-tarstream... yes
checking for --enable-textbuf... yes
checking for --enable-textfile... yes
checking for --enable-timer... yes
checking for --enable-variant... yes
checking for --enable-zipstream... yes
checking for --enable-url... yes
checking for --enable-protocol... yes
checking for --enable-protocol_http... yes
checking for --enable-protocol_ftp... yes
checking for --enable-protocol_file... yes
checking for --enable-threads... yes
checking for --enable-iniconf... no
checking for --enable-regkey... yes
checking for --enable-docview... yes
checking for --enable-help... yes
checking for --enable-mshtmlhelp... yes
checking for --enable-html... yes
checking for --enable-htmlhelp... yes
checking for --enable-xrc... yes
checking for --enable-aui... yes
checking for --enable-propgrid... yes
checking for --enable-ribbon... yes
checking for --enable-stc... yes
checking for --enable-constraints... yes
checking for --enable-loggui... yes
checking for --enable-logwin... yes
checking for --enable-logdialog... yes
checking for --enable-mdi... yes
checking for --enable-mdidoc... yes
checking for --enable-mediactrl... auto
checking for --enable-gstreamer8... no
checking for --enable-richtext... yes
checking for --enable-postscript... yes
checking for --enable-printarch... yes
checking for --enable-svg... yes
checking for --enable-webkit... yes
checking for --enable-webview... yes
checking for --enable-graphics_ctx... yes
checking for --enable-clipboard... yes
checking for --enable-dnd... yes
checking for --disable-controls... no
checking for --enable-markup... yes
checking for --enable-accel... yes
checking for --enable-animatectrl... yes
checking for --enable-bannerwindow... yes
checking for --enable-artstd... yes
checking for --enable-arttango... auto
checking for --enable-bmpbutton... yes
checking for --enable-bmpcombobox... yes
checking for --enable-button... yes
checking for --enable-calendar... yes
checking for --enable-caret... yes
checking for --enable-checkbox... yes
checking for --enable-checklst... yes
checking for --enable-choice... yes
checking for --enable-choicebook... yes
checking for --enable-collpane... yes
checking for --enable-colourpicker... yes
checking for --enable-combobox... yes
checking for --enable-comboctrl... yes
checking for --enable-commandlinkbutton... yes
checking for --enable-dataviewctrl... yes
checking for --enable-datepick... yes
checking for --enable-detect_sm... yes
checking for --enable-dirpicker... yes
checking for --enable-display... yes
checking for --enable-editablebox... yes
checking for --enable-filectrl... yes
checking for --enable-filepicker... yes
checking for --enable-fontpicker... yes
checking for --enable-gauge... yes
checking for --enable-grid... yes
checking for --enable-headerctrl... yes
checking for --enable-hyperlink... yes
checking for --enable-imaglist... yes
checking for --enable-infobar... yes
checking for --enable-listbook... yes
checking for --enable-listbox... yes
checking for --enable-listctrl... yes
checking for --enable-notebook... yes
checking for --enable-notifmsg... yes
checking for --enable-odcombobox... yes
checking for --enable-popupwin... yes
checking for --enable-prefseditor... yes
checking for --enable-radiobox... yes
checking for --enable-radiobtn... yes
checking for --enable-richmsgdlg... yes
checking for --enable-richtooltip... yes
checking for --enable-rearrangectrl... yes
checking for --enable-sash... yes
checking for --enable-scrollbar... yes
checking for --enable-searchctrl... yes
checking for --enable-slider... yes
checking for --enable-spinbtn... yes
checking for --enable-spinctrl... yes
checking for --enable-splitter... yes
checking for --enable-statbmp... yes
checking for --enable-statbox... yes
checking for --enable-statline... yes
checking for --enable-stattext... yes
checking for --enable-statusbar... yes
checking for --enable-taskbaricon... yes
checking for --enable-tbarnative... yes
checking for --enable-textctrl... yes
checking for --enable-timepick... yes
checking for --enable-tipwindow... yes
checking for --enable-togglebtn... yes
checking for --enable-toolbar... yes
checking for --enable-toolbook... yes
checking for --enable-treebook... yes
checking for --enable-treectrl... yes
checking for --enable-treelist... yes
checking for --enable-commondlg... yes
checking for --enable-aboutdlg... yes
checking for --enable-choicedlg... yes
checking for --enable-coldlg... yes
checking for --enable-filedlg... yes
checking for --enable-finddlg... yes
checking for --enable-fontdlg... yes
checking for --enable-dirdlg... yes
checking for --enable-msgdlg... yes
checking for --enable-numberdlg... yes
checking for --enable-splash... yes
checking for --enable-textdlg... yes
checking for --enable-tipdlg... yes
checking for --enable-progressdlg... yes
checking for --enable-wizarddlg... yes
checking for --enable-menus... yes
checking for --enable-miniframe... yes
checking for --enable-tooltips... yes
checking for --enable-splines... yes
checking for --enable-mousewheel... yes
checking for --enable-validators... yes
checking for --enable-busyinfo... yes
checking for --enable-hotkey... auto
checking for --enable-joystick... yes
checking for --enable-metafile... auto
checking for --enable-dragimage... yes
checking for --enable-accessibility... no
checking for --enable-uiactionsim... yes
checking for --enable-dctransform... yes
checking for --enable-webviewwebkit... yes
checking for --enable-palette... yes
checking for --enable-image... yes
checking for --enable-gif... yes
checking for --enable-pcx... yes
checking for --enable-tga... yes
checking for --enable-iff... yes
checking for --enable-pnm... yes
checking for --enable-xpm... yes
checking for --enable-ico_cur... yes
checking for --enable-dccache... yes
checking for --enable-ps-in-msw... yes
checking for --enable-ownerdrawn... yes
checking for --enable-uxtheme... yes
checking for --enable-wxdib... yes
checking for --enable-webviewie... yes
checking for --enable-autoidman... yes
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/tmp/pip-install-zamh07ba/wxpython_8ae942306ce34a78961e36350fbe545a/build/wxbld/gtk3':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
Error running configure
ERROR: failed building wxWidgets
Traceback (most recent call last):
File "build.py", line 1468, in cmd_build_wx
wxbuild.main(wxDir(), build_options)
File "/tmp/pip-install-zamh07ba/wxpython_8ae942306ce34a78961e36350fbe545a/buildtools/build_wxwidgets.py", line 372, in main
"Error running configure")
File "/tmp/pip-install-zamh07ba/wxpython_8ae942306ce34a78961e36350fbe545a/buildtools/build_wxwidgets.py", line 85, in exitIfError
raise builder.BuildError(msg)
buildtools.builder.BuildError: Error running configure
Finished command: build_wx (0.435s)
Finished command: build (0.435s)
Command '"/usr/bin/python3" -u build.py build' failed with exit code 1.
----------------------------------------
Rolling back uninstall of wxPython
Moving to /usr/bin/helpviewer
from /tmp/pip-uninstall-9_udjtyy/helpviewer
Moving to /usr/bin/img2png
from /tmp/pip-uninstall-9_udjtyy/img2png
Moving to /usr/bin/img2py
from /tmp/pip-uninstall-9_udjtyy/img2py
Moving to /usr/bin/img2xpm
from /tmp/pip-uninstall-9_udjtyy/img2xpm
Moving to /usr/bin/pycrust
from /tmp/pip-uninstall-9_udjtyy/pycrust
Moving to /usr/bin/pyshell
from /tmp/pip-uninstall-9_udjtyy/pyshell
Moving to /usr/bin/pyslices
from /tmp/pip-uninstall-9_udjtyy/pyslices
Moving to /usr/bin/pyslicesshell
from /tmp/pip-uninstall-9_udjtyy/pyslicesshell
Moving to /usr/bin/pywxrc
from /tmp/pip-uninstall-9_udjtyy/pywxrc
Moving to /usr/bin/wxdemo
from /tmp/pip-uninstall-9_udjtyy/wxdemo
Moving to /usr/bin/wxdocs
from /tmp/pip-uninstall-9_udjtyy/wxdocs
Moving to /usr/bin/wxget
from /tmp/pip-uninstall-9_udjtyy/wxget
Moving to /usr/lib64/python3.6/site-packages/wx/
from /usr/lib64/python3.6/site-packages/~x
Moving to /usr/lib64/python3.6/site-packages/wxPython-4.1.1.dist-info/
from /usr/lib64/python3.6/site-packages/~xPython-4.1.1.dist-info
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-zamh07ba/wxpython_8ae942306ce34a78961e36350fbe545a/setup.py'"'"'; __file__='"'"'/tmp/pip-install-zamh07ba/wxpython_8ae942306ce34a78961e36350fbe545a/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-5nxiwfoo/install-record.txt --single-version-externally-managed --compile --install-headers /usr/include/python3.6m/wxPython Check the logs for full command output.
Ich denke, dass was wichtig aus der Fehlermeldung ist, ist folgendes:
Using legacy 'setup.py install' for robotframework-ride, since package 'wheel' is not installed.
Using legacy 'setup.py install' for wxPython, since package 'wheel' is not installed.
Running setup.py install for wxPython ... error
ERROR: Command errored out with exit status 1:
Meine beste Idee wäre, dass package "wheel" einfach nur fehlt?
Damit die wxPython installation klappt?
Ich hoffe ihr könnt mir damit helfen!