Re: refigure2 on Windows 7 (64 bit)

40 views
Skip to first unread message

Robert Schroll

unread,
Oct 3, 2012, 10:55:08 AM10/3/12
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

dollarbulldog

unread,
Jan 5, 2013, 12:37:09 AM1/5/13
to reint...@googlegroups.com
Hi

I place the refigure2.py file into c:\python2.7\ root directory. I found it works well on reinteract.

Best
Reply all
Reply to author
Forward
0 new messages