Bonjour tout le monde,
Voilà, je possède un RPI PI 3 avec comme OS Raspbian Stretch. Mon problème est le suivant :
Je n'arrives pas à installer [b]wxPython-4.0.3[/b] !
J'ai essayé de l'installer via [b]pip et pip3[/b] en exécutant les commandes suivantes :
$ sudo pip install wxPython et $ sudo pip3 install wxPython
Mais rien y fait !
J'ai donc essayé de le compiler directement depuis les sources en suivant cette page :
https://wiki.wxpython.org/BuildWxPythonOnRaspberryPi
Mais après 6 heures de compilation tout s'est [b]soldé par un echec !!![/b]
Franchement, cela fait 3 jours que je suis sur ce problème, j'ai en gros tout essayé, mais rien y fait ! Quelqu'un, une âme charitable aurait-il une solution à me proposer ? Car là, honnêtement je sèche !!!
Merci par avance...
Cordialement,
Walker29
Installation wxPython-x.x.x sous Raspbian Stretch ? [RESOLU]
Modérateurs : Francois, Manfraid
Installation wxPython-x.x.x sous Raspbian Stretch ? [RESOLU]
Modifié en dernier par walker29 le lun. 2 juil. 2018 04:44, modifié 1 fois.
- vague nerd
- Modérateur
- Messages : 1473
- Enregistré le : mar. 14 oct. 2014 11:42
- Localisation : France !
Re: Installation wxPython-x.x.x sous Raspbian Stretch ?
Bonjour.
Merci de donner le maximum d'information pour que l'on puisse vous aider.
Quels sont les messages d'erreurs, par exemple ?
Merci de donner le maximum d'information pour que l'on puisse vous aider.
Quels sont les messages d'erreurs, par exemple ?
Cordialement,
Vague Nerd
Vague Nerd
Re: Installation wxPython-x.x.x sous Raspbian Stretch ?
Bonjour à tous
En ce qui concerne ma configuration :
- Raspberry pi 3
- Raspbian Stretch 9
Donc voilà le résultat de la commande que j'exécute :
Et voici le résultat, après avoir fini de télécharger le fichier "wxPython-4.0.3tar.xz"
D'après ce que j'ai pu lire sur le site officiel c'est de cette façon qu'il faut procéder... Donc je vous donne aussi toutes les pages (méthodes) que j'ai testées :
1. https://stackoverflow.com/questions/447 ... pberrypi3#
2. https://wiki.wxpython.org/BuildWxPythonOnRaspberryPi
3. https://wxpython.org/blog/2017-08-17-bu ... index.html
... etc.
Franchement, je commence à me demander si cela est réellement possible de l'installer... Je suis bloqué du coup pour le développement de mon petit projet... Car Tkinter est vraiment plus fastidieux que wxPython. Et c'est une vraie galère pour créer des GUI avec.
En espérant que j'ai été assez clair, et que vous possèdés assez d'infos...
En ce qui concerne ma configuration :
- Raspberry pi 3
- Raspbian Stretch 9
Donc voilà le résultat de la commande que j'exécute :
Code : Tout sélectionner
sudo pip install wxPython
Code : Tout sélectionner
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 353, in run
wb.build(autobuilding=True)
File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 749, in build
- Raspberry pi 3
- Raspbian Stretch 9
Donc voilà le résultat de la commande que j'exécute :
self.requirement_set.prepare_files(self.finder)
File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 620, in _prepare_file
session=self.session, hashes=hashes)
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 821, in unpack_url
hashes=hashes
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 659, in unpack_http_url
hashes)
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 882, in _download_http_url
_download_url(resp, link, content_file, hashes)
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 603, in _download_url
hashes.check_against_chunks(downloaded_chunks)
File "/usr/lib/python2.7/dist-packages/pip/utils/hashes.py", line 46, in check_against_chunks
for chunk in chunks:
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 571, in written_chunks
for chunk in chunks:
File "/usr/lib/python2.7/dist-packages/pip/utils/ui.py", line 139, in iter
for x in it:
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 560, in resp_read
decode_content=False):
File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/response.py", line 432, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/response.py", line 380, in read
data = self._fp.read(amt)
File "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/filewrapper.py", line 63, in read
self._close()
File "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/filewrapper.py", line 50, in _close
self.__callback(self.__buf.getvalue())
File "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/controller.py", line 275, in cache_response
self.serializer.dumps(request, response, body=body),
File "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/serialize.py", line 87, in dumps
).encode("utf8"),
MemoryError
1. https://stackoverflow.com/questions/447 ... pberrypi3#
2. https://wiki.wxpython.org/BuildWxPythonOnRaspberryPi
3. https://wxpython.org/blog/2017-08-17-bu ... index.html
... etc.
Franchement, je commence à me demander si cela est réellement possible de l'installer... Je suis bloqué du coup pour le développement de mon petit projet... Car Tkinter est vraiment plus fastidieux que wxPython. Et c'est une vraie galère pour créer des GUI avec.
En espérant que j'ai été assez clair, et que vous possèdés assez d'infos...
Re: Installation wxPython-x.x.x sous Raspbian Stretch ?
Bon finalement, j'ai j'ai réussit à l'installer via apt, avec la commande suivante :
Et voici voici le résultat de la commande :
Voilà, merci pour votre aide, et en espérant que cela puisse un jour aider quelqu'un...
Code : Tout sélectionner
sudo apt update && sudo apt install python-wxgtk2.8 python-wxtools wx2.8-i18n libwxgtk2.8-dev
Code : Tout sélectionner
pip search wxPython
Code : Tout sélectionner
wxpython-installer (0.1.0) - A wxPython installer for
Linux distribution
sudoku-wxpython (0.1) - A Sudoku game build in
wxpython
wxPython (4.0.3) - Cross platform GUI toolkit
for Python, "Phoenix"
version
INSTALLED: 3.0.2.0
LATEST: 4.0.3
wxPython-common (2.6.3.3) - Cross platform GUI toolkit
for Python
INSTALLED: 3.0.2.0
LATEST: 2.6.3.3
wxpython-piano-roll (alpha) - piano roll (can be fleshed
out for anything including
drum rolls)
wxpython-slider-bank-creator (beta pre csound) - creates clider bank
wxasync (0.2) - asyncio for wxpython
wxgoodies (0.1) - Helper functions for
wxPython.
wxWize (1.0.2) - wxPython object builder
pyWxSVG (0.3) - SVG canvas for wxPython
pyslip (3.0.4) - A slipmap widget for
wxPython
UliPad (4.1) - Text Editor based on
wxPython
wxAppBar (0.9.0a) - Win32 AppBar control for
wxPython
wxnatpy (0.3.1) - wxPython XNAT repository
browser
wxRemind (0.8.6) - A wxPython based GUI for
Remind
wxtextview (0.3.6) - A styled text widget for
wxpython.
wxUnhandledExceptionManager (0.1.2) - Unhandled exception manager
for wxPython
iwx (0.1.0.dev1) - wxPython utilities and
enhanced controls
jsonreader (0.0.2) - a json reader base on
wxpython
wax (1.44) - A friendly python-like
wrapper for wxPython.
WiPy (0.1) - GUI Wired client using
wxPython
wxmplot (0.9.30) - A library for plotting in
wxPython using matplotlib
wxoo (0.5.7a) - BasicProperty-based wxPython
interface mechanisms
wxPropertyGrid (1.4.15) - A property sheet control for
wxWidgets/wxPython
wxutils (0.1.3) - Utilities and convenience
classes and functions for
wxPython
SquareMap (1.0.4) - Hierarchic data-
visualisation control for
wxPython
SquareMap3 (1.0.8) - Hierarchic data-
visualisation control for
wxPython
MplayerCtrl (0.3.3) - A wx.Panel, which wraps the
Mplayer into wxPython
mplotlab (0.2) - Interactive Matplotlib
Application using wxPython
DynaUI (1.1.3) - A framework to increase the
scalability and flexibility
of wxPython
fsleyes-widgets (0.6.2) - A collection of wxPython
widgets used by FSLeyes
omnivore-framework (2.0a2) - Traits-based wxPython UI
application framework
pynotebook (0.2.5) - A wxPython based notebook
environment for interactive
computing.
hgwin (1.0d) - hg serve manager for Windows
using wxPython
humblewx (0.2.1) - Library that simplifies
creating user interfaces
with wxPython.
meide (0.0.5) - meide is a wxPython ui
interface creation library.
FTP-pocetnik (1.0.0) - Simple FTP client written
with ftputil and wxPython
wxTerminal (1.4) - A simple cross platform
serial terminal in pure
wxPython
XRCWidgets (0.3.0) - Rapid GUI Development
Framework using wxPython and
XRC
quickgui (1.5.6) - Rapidly create gui without
any knowledge of wxpython
plone.recipe.osxcontroller (0.4) - Installs a wxPython-based
Plone controller for OS X
plotexplorer_gui (0.4.1) - A wxpython/matplotlib script
for plotting and contrasting
a collection of graphs
motmot.wxvalidatedtext (0.5.3) - validated integer/float text
entry field for wxPython
wxAnyThread (0.2.2) - Allow wxPython object
methods to be called from
any thread.
wxPyGameVideoPlayer (0.1.4.0) - Just a simple video player
using wxPython, PyGame, and
OpenCV
Pyreb (0.1.6) - Pyreb is a wxPython based
tool that helps building
Python Regular expressions
GUI_Maker (0.1) - Streamlines wxPython to
simplify your code and make
it easier to create a GUI.
chord_finder (0.9.4) - Simple linux wxPython gui
app that displays chords for
6 string guitar
datadeck (0.4.0) - DataDeck (dpm GUI): wxPython
GUI for dpm: data packaging
system and utilities
pybass (0.5.5) - ctypes python module for
BASS and wxPython(+Phoenix)
player control for play
stream or file
datapkggui (0.2.2) - datapkggui (data package
GUI): wxPython GUI for
datapkg: data packaging
system and utilities
pyview (1.0.2) - A Simple GUI creator for
python using wxpython.
Combined with numpy, meant
as an open source labview
replacement.
StoryText (3.12) - An unconvential GUI-testing
tool for UIs written with
PyGTK, Tkinter, wxPython,
Swing, SWT or Eclipse RCP
- vague nerd
- Modérateur
- Messages : 1473
- Enregistré le : mar. 14 oct. 2014 11:42
- Localisation : France !
Re: Installation wxPython-x.x.x sous Raspbian Stretch ? [RESOLU]
Bonjour et merci du partage de la solution.
Si vous estimez que votre problème est résolu, merci d'ajouter [RESOLU] au début du titre du sujet.
Pour ce faire, visualiser le premier Post que vous avez réalisé, cliquez sur "Editer", et ajouter [RESOLU] devant le titre, sans l'effacer.
Cela permet que le message soit tout de suite identifié comme ayant eu une réponse correspondant à la demande.
Ainsi, les visiteurs en sont informés, aussi bien lors d'une recherche sur le forum qu'au travers des moteurs de recherche.
Merci d'avance !
Cordialement.
Si vous estimez que votre problème est résolu, merci d'ajouter [RESOLU] au début du titre du sujet.
Pour ce faire, visualiser le premier Post que vous avez réalisé, cliquez sur "Editer", et ajouter [RESOLU] devant le titre, sans l'effacer.
Cela permet que le message soit tout de suite identifié comme ayant eu une réponse correspondant à la demande.
Ainsi, les visiteurs en sont informés, aussi bien lors d'une recherche sur le forum qu'au travers des moteurs de recherche.
Merci d'avance !
Cordialement.
Cordialement,
Vague Nerd
Vague Nerd
Re: Installation wxPython-x.x.x sous Raspbian Stretch ? [RESOLU]
Super... J'ai tourné en rond pendant 3 jours avec le même problème.
Sur une Debian Stretch, j'ai dû juste adapter les versions des packages en 3.0 donc :
sudo apt update && sudo apt install python-wxgtk3.0 python-wxtools wx3.0-i18n libwxgtk3.0-dev
Sur une Debian Stretch, j'ai dû juste adapter les versions des packages en 3.0 donc :
sudo apt update && sudo apt install python-wxgtk3.0 python-wxtools wx3.0-i18n libwxgtk3.0-dev