From: Gary <pa...@in...> - 2006-06-05 02:22:13
|
Jonathan Brandmeyer wrote: >I may have managed to track down the problem. Please download >http://www4.ncsu.edu/~jdbrandm/vpython-4.beta0-patch.zip > >It contains libintl.dll and libiconv.dll. Extract both of these to >C:\Python24\Lib\site-packages\ >gtkrun\bin\, and then try to run some VPython program. > >If this either works or doesn't work for you, please let me know. > >Thanks, >-Jonathan Brandmeyer > > Sorry to report: In [1]: import visual --------------------------------------------------------------------------- exceptions.ImportError Traceback (most recent call last) C:\Documents and Settings\Gary\My Documents\<ipython console> C:\Python24\lib\site-packages\visual\__init__.py 22 23 # Don't try this at home! ---> 24 import array_backend 25 # The following is intended to be equivalent to: 26 # >>> from array_backend.backend[0] import * C:\Python24\lib\site-packages\visual\array_backend.py 2 3 # I am performing the import statements within functions to prevent poll uting the global 4 # namespace 5 def _try_init_numeric(): 6 try: ImportError: DLL load failed: The specified procedure could not be found. I note that the files in the zip are called intl.dll and iconv.dll, not libintl.dll and libiconv.dll. I copied and renamed the files so that I have the files under both names in c:\Python24\Lib\site-packages, but the result is the same FYI: I am on a Thinkpad. Very rarely, but not never, I have a conflict with the IBM installed python. The problem arises because IBM chose to set PYTHONCASEOK causing confusion if modules have capital letter names. I unset it, but very occasionally the system detects the change and resets it. Very annoying and easy to forget about. Bit me twice. I mention this because if you are not on a Thinkpad, you will never find this problem. On the face of it, I don't see that this little feature applies in this case. -gary > > >_______________________________________________ >Visualpython-users mailing list >Vis...@li... >https://lists.sourceforge.net/lists/listinfo/visualpython-users > > > |