Phoenix icon indicating copy to clipboard operation
Phoenix copied to clipboard

Importing wx.media on Windows

Open ErikKoinberg opened this issue 1 year ago • 4 comments

I am trying to use wx.media after having used pip install, but the wx.media module is not present. How to import that as well on Windows?

I am using an current version of Windows 10, 64 bit, python 3.12 64-bit. I am using the latest version of wxPython 4 installed using pip install wxpython.

ErikKoinberg avatar Feb 18 '24 19:02 ErikKoinberg

You left out a lot of important details:

  • What version of wxPython?
  • What version of Python?
  • 32-bit or 64-bit?
  • Did you build wxPython yourself? Presumbably you did because the wheels on PyPI appear to have the wx.media module.

swt2c avatar Feb 18 '24 20:02 swt2c

I added a bit more details.

ErikKoinberg avatar Feb 18 '24 20:02 ErikKoinberg

Please also report what you tried and any error messages that you observed.

swt2c avatar Feb 18 '24 21:02 swt2c

I think I have installed my wx 4.2.1 for Python 3.12 64 bit from pip and I see the media module:

  • D:\Python\Python312-64_wx421\Lib\site-packages\wx\media.py
  • D:\Python\Python312-64_wx421\Lib\site-packages\wx_media.cp312-win_amd64.pyd
  • D:\Python\Python312-64_wx421\Lib\site-packages\wx\wxmsw32u_media_vc140_x64.dll

DietmarSchwertberger avatar Feb 18 '24 21:02 DietmarSchwertberger

I would suggest to close the isssue. It's not reproducible and the reporter seems to have lost interest.

DietmarSchwertberger avatar Mar 02 '24 23:03 DietmarSchwertberger