From: John H. <jd...@gm...> - 2007-07-17 16:45:16
|
On 7/17/07, Chris Fonnesbeck <lis...@ma...> wrote: > For some reason, builds from SVN dont install either pytz > or dateutil (at least not in the right place). Importing pylab > from these builds results in an import error. > > How can I build these so as to convince these modules to > install correctly? This is typically caused when the install process detects that pytz and dateutil are already installed, and so doesn't overright them. My guess is that they were available in your PYTHONPATH at install time but not at run time. So at install time they are detected and not installed, but at run time they cannot be found. If this is the solution, you need to build and run in the same environment, or blow away existing copies of pytz and dateutil whereever they are lurking and then reinstall mpl. Use the __file__ module attr to poke around and see if you can find them. JDH |