[Bf-committers] Problem with Python path when using bundle and external Python lilb.

Campbell Barton ideasman42 at gmail.com
Fri May 18 12:53:09 CEST 2012


committed fix for site packages, PYTHONPATH not working in windows is
because we intentionally overwrite it - because of a mysterious crash
with debug/win32.

If someone is able to figure why it crashes or confirm the crash is no
more - Im happy to remove the PYTHONPATH overwriting.

On Thu, May 17, 2012 at 10:53 PM, Benoit Bolsee <benoit.bolsee at online.be> wrote:
> I filed 2 bug reports related to python path  (#31506
> <http://projects.blender.org/tracker/index.php?func=detail&aid=31506&gro
> up_id=9&atid=498> , #31507
> <http://projects.blender.org/tracker/index.php?func=detail&aid=31507&gro
> up_id=9&atid=498> ). The first bug seems to be Win32 specific, the
> second is for all platforms.
> In short, PYTHONPATH is ignored when using the bundled python and site
> is not automatically imported when using system python.
>
> This creates a problem when working with the hive system (my GSoC
> project this year), which currently installs itself as a site package of
> a registered python installation. Since Blender does not register its
> bundled python to the system, the hive installer does not find it and
> the only way is to install an external python 3.2 first, but then the
> above bugs prevent to use it in Blender without some tricks in the
> scripts.
>
> Besides the bug reports, I'm raising the question: shouldn't Blender
> register its bundled python to the system? After all, it is a full blown
> Python 3.2 installation and it would give a chance to external
> installers to use it.
>
> /benoit
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers



-- 
- Campbell


More information about the Bf-committers mailing list