Re: Installing wxPython on Raspberry Pi
Robin Dunn <[email protected]> Thu, 13 Sep 2018 10:45:47 -0700
| Newsgroups | gmane.comp.python.wxpython.devel |
|---|---|
| Message-ID | <CAHF0CcUkB74hziK1bPTjsx3RSKXSSAK+M2vBn__YX8df4VAkVw@mail.gmail.com> |
Have you seen this? https://wiki.wxpython.org/BuildWxPythonOnRaspberryPi --Robin On Wed, Sep 12, 2018 at 8:34 AM Am Ab <[email protected]> wrote: > Hello, I am not able to install wxPyton on my raspberry Pi. Below are what > I am getting. is there anything I can do to solve it? I tried to install > gtk+-3.0 (which I think may solve the issue). But that couldn't be > installed on Raspberry Pi as well. > I am using lates Rasbian version on RPi 3 > > > > checking for GTK+ - version >= 3.0.0... Package gtk+-3.0 was not found in the pkg-config search path.Perhaps you should add the directory containing `gtk+-3.0.pc' > to the PKG_CONFIG_PATH environment variable > No package 'gtk+-3.0' found > Package gthread-2.0 was not found in the pkg-config search path. > Perhaps you should add the directory containing 'gthread-2.0.pc' > to the PKG_CONFIG_PATH environment variable > No package 'gthread-2.0' found > no > *** Could not run GTK+ test program, checking why... > *** The test program failed to compile or link. See the file config.log for the > *** exact error that occured. This usually means GTK+ is incorrectly installed. > configure: error: > The development files for GTK+ were not found. For GTK+ 2, please > ensure that pkg-config is in the path and that gtk+-2.0.pc is > installed. For GTK+ 1.2 please check that gtk-config is in the path, > and that the version is 1.2.3 or above. Also check that the > libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config--libs' are in the LD_LIBRARY_PATH or equivalent. > > Error running configure > ERROR: failed building wxWidgets > Traceback (most recent call last): > File "build.py", line 1321, in cmd_build_wx > wxbuild.main(wxDir(), build_options) > File "/tmp/pip-build-0mqfn30q/wxPython/buildtools/build_wxwidgets.py", line 375, in main "Error running configure") > File "/tmp/pip-build-0mqfn30q/wxPython/buildtools/build_wxwidgets.py", line 85, in exitIfError > raise builder.BuildError(msg) > buildtools.builder.BuildError: Error running configure > Finished command: build_wx (0m57.278s) > Finished command: build (0m57.279s) > Command '"/usr/bin/python3" -u build.py build' failed with exit code 1. > > ---------------------------------------- > Failed building wheel for wxPython > Running setup.py clean for wxPython > Failed to build wxPython > Installing collected packages: PyPubSub, six, wxPython > Exception: > Traceback (most recent call last): > File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 215, in main > status = self.run(options, args) > File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 360, in run > prefix=options.prefix_path, > File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 784, in install > **kwargs > File "/usr/lib/python3/dist-packages/pip/req/req_install.py", line 851, in install > self.move_wheel_files(self.source_dir, root=root, prefix=prefix) > File "/usr/lib/python3/dist-packages/pip/req/req_install.py", line 1064, in move_wheel_files > isolated=self.isolated, > File "/usr/lib/python3/dist-packages/pip/wheel.py", line 247, in move_wheel_files > prefix=prefix, > File "/usr/lib/python3/dist-packages/pip/locations.py", line 153, in distutils_scheme > i.finalize_options() > File "/usr/share/python-wheels/setuptools-33.1.1-py2.py3-none-any.whl/setuptools/command/install.py", line 38, in finalize_options > orig.install.finalize_options(self) > File "/usr/lib/python3.5/distutils/command/install.py", line 350, in finalize_options > self.create_home_path() > File "/usr/lib/python3.5/distutils/command/install.py", line 575, in create_home_path > os.makedirs(path, 0o700) > File "/usr/lib/python3.5/os.py", line 241, in makedirs > mkdir(name, mode) > FileExistsError: [Errno 17] File exists: '/home/pi/.local/lib/python3.5/site-packages' > > -- > You received this message because you are subscribed to the Google Groups > "wxPython-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Robin Dunn Software Craftsman http://wxPython.org -- You received this message because you are subscribed to the Google Groups "wxPython-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.