0

I wondered how one can get iPython to be aware of a newly installed egg-based module without restarting the session?

Using iPython's autoreload feature from this question does not seem to help.

One solution I found was to copy the module directory out of the egg directory and into the base site-packages folder and then iPython could import it. Otherwise I had to restart iPython so it would be able to load the relevant module. But this is not ideal as often I'm working in an iPython session and I don't want to lose alot of state just so I can load a new module.

Community
  • 1
  • 1
Pierz
  • 7,064
  • 52
  • 59

0 Answers0