Ébe Isaac
Ébe Isaac

Reputation: 12351

How to install PyGLEW in mac?

I've downloaded PyGLEW from this site to work with PyGPU. But I'm not sure how to install it.

I tried to install it with the usual technique. But it didn't work out.

$ sudo python setup.py install
running install
running build
running install_data
error: can't copy 'pyglew.so': doesn't exist or not a regular file

I couldn't install it pip either

sudo pip install pyglew
...
No matching distribution found for pyglew

Is there any other way to install PyGLEW?

Upvotes: 0

Views: 156

Answers (1)

mausamsion
mausamsion

Reputation: 230

Your current directory should be the downloaded folder. After navigating to this directory, run python setup.py build followed by python setup.py install.

Upvotes: 2

Related Questions