From: Patrick S. <pat...@gm...> - 2011-01-15 03:27:57
|
I tried building visual python 5.4 following the directions in the INSTALL.txt file. I made a directory at the same level as the "visual-5.4_release" source directory and ran configure and make. Everything seems to work fine, and the cvisualmodule.so file is generated. The only thing I'm confused about is that running "make install" just copies the cvisualmodule.so file back into the visual-5.4_release directory. I'm just not sure which files I am supposed to move where to be able to use vpython. I tried just copying the whole "visual-5.5_release/site-packages" directory into "/usr/lib/python2.6/site-packages" (making sure it was in python's search path), but I'm not able to load visual. Doing "import visual" gives the error: ImportError: cannot import name cvisual cvisualmodule.so is in the /usr/lib/python2.6/site-packages/visual directory, but it apparently can't be imported. If anyone can help me figure out what's wrong I'd greatly appreciate it. Thanks. |