Robert Schroll
unread,Oct 3, 2012, 10:55:08 AM10/3/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to reint...@googlegroups.com
On 10/03/2012 11:22 AM, Van Parunak wrote:
> I'm having a problem getting this to work. I put refigure2.py in
> C:\Program Files (x86)\Reinteract\lib\ , but when I utter "from
> refigure2 import *" in Reinteract, I'm told, "ImportError: no module
> named refigure2". Where do I put this so that Reinteract can find it?
> (Using Reinteract 0.5.10 with Python 2.7)
I've no experience with Reinteract on Windows 7, so these will be
guesses. First, can you import the other modules in Reinteract\lib,
like replot and replay? If so, perhaps there's some permissions issue
with the file you added? I don't know enough about Windows to be able to
guess what it is or how to fix it.
Rather than adding the modules directly to the Reinteract tree, you can
add them to the .reinteract/modules subdirectory of your home directory.
I don't know what that works out to under Windows, but if you run
>>> os.path.expanduser(os.path.join('~', '.reinteract', 'modules'))
you'll get the same answer as Reinteract does.
Hope that helps, and let us know if it works out or not.
Robert