Python Forum
Where could I get _ctypes module except libffi-dev?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Where could I get _ctypes module except libffi-dev?
#6
I found my notes for the wxpython install.
USE WITH EXTREME CAUTION
this may or may not help.
First, make sure the right version of python dev is installed. I was using 3.7 when I installed wxpython
second, replace wxpython with appropriate Kivy equivalent.
you will have to find a wheel for Kivy
but once I installed all of the packages (with the apt-get) it seemed to do the trick.
This mess took me several months to get right.
finally good luck.

Notes:
Output:
sudo apt-get install dpkg-dev sudo apt-get install build-essential sudo apt-get install python3.7-dev # update to appropriate Python version sudo apt-get install libwebkitgtk-dev sudo apt-get install libjpeg-dev sudo apt-get install libtiff-dev sudo apt-get install libgtk2.0-dev sudo apt-get install libsdl1.2-dev sudo apt-get install libgstreamer-plugins-base0.10-dev sudo apt-get install freeglut3 sudo apt-get install freeglut3-dev pip install -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-16.04 wxPython see error messages: https://github.com/pyfa-org/Pyfa/issues/1421 * https://github.com/pyfa-org/Pyfa/issues/1468 https://github.com/pyfa-org/Pyfa/issues/1557 get wheel here: https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-18.04/ make sure cp37 and 64 bit Example: https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-18.04/wxPython-4.0.2-cp37-cp37m-linux_x86_64.whl
Reply


Messages In This Thread
RE: Where could I get _ctypes module except libffi-dev? - by Larz60+ - Jan-10-2020, 08:57 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Ctypes and libffi.so.7 luxedo 1 6,163 Oct-23-2021, 09:24 PM
Last Post: DeaD_EyE
  ImportError: cannot import name 'Union' from '_ctypes' (unknown location) ciuffoly 15 10,695 Oct-09-2020, 06:58 AM
Last Post: ciuffoly

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020