Hi Bryan, all, On Sonntag 10 Januar 2010, Bryan Catanzaro wrote: > I also had this problem. Python on Snow Leopard defaults to a 64-bit > executable. You can check this by typing: import sys > print sys.maxint > > If it's ~2 billion, you're running Python in 32-bit mode. If it's a huge > number, you've got a 64-bit Python, which conflicts with your 32-bit > CUDA/PyCUDA drivers and can cause your error message. > > You can force Python on Snow Leopard to run in 32-bit by setting a special > environment variable: VERSIONER_PYTHON_PREFER_32_BIT=yes > > Or you can make this change permanent and global by writing this to the > defaults: defaults write com.apple.versioner.python Prefer-32-Bit 1
thanks for the information. I've added this to the Wiki. In the interest of knowledge retention, I'd like to request that if you run into unforeseen trouble, please write about it on the wiki. In particular, please include the error message so the issue becomes googlable. You do not need a user name to edit the Wiki. Andreas
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ PyCUDA mailing list [email protected] http://tiker.net/mailman/listinfo/pycuda_tiker.net
