Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add pycuda.gl in PiPy distribution #470

Closed
ccarmatic opened this issue Nov 10, 2024 · 1 comment
Closed

add pycuda.gl in PiPy distribution #470

ccarmatic opened this issue Nov 10, 2024 · 1 comment

Comments

@ccarmatic
Copy link

Is your feature request related to a problem? Please describe.
I have a project which uses both Cuda and OpenGL , and I need pycuda.gl functionality

Describe the solution you'd like
installing PyCuda via pip should enable me to use pycuda.gl

Describe alternatives you've considered
I tried to build PyCuda with CUDA_ENABLE_GL = True in siteconf.py from the zip file downloaded from Github ,but ultimately ran into the following:

    import pycuda.autoinit
  File "C:\Users\fdasfasdfasd\AppData\Local\Programs\Python\Python310\lib\site-packages\pycuda-2024.1.2-py3.10-win-amd64.egg\pycuda\autoinit.py", line 7, in <module>
    from pycuda.tools import make_default_context  # noqa: E402
  File "C:\Users\fdasfasdfasd\AppData\Local\Programs\Python\Python310\lib\site-packages\pycuda-2024.1.2-py3.10-win-amd64.egg\pycuda\tools.py", line 33, in <module>
    from pycuda.compyte.dtypes import (  # noqa: F401
ModuleNotFoundError: No module named 'pycuda.compyte'

Additional context
Maybe I made a mistake when building Boost or PyCuda somewhere along the way?

@inducer
Copy link
Owner

inducer commented Nov 11, 2024

I think you must have gotten your PyCUDA code somewhere other than the package index (maybe downloaded a ZIP from Github)? The tarball on the package index contains compyte, the package you got does not.

@inducer inducer closed this as not planned Won't fix, can't repro, duplicate, stale Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants