[pywin32-bugs] [ pywin32-Bugs-3395490 ] blender python hard to install to
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2011-08-22 12:55:12
|
Bugs item #3395490, was opened at 2011-08-20 14:42 Message generated for change (Comment added) made by dug9 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3395490&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: installation Group: None >Status: Open Resolution: None Priority: 5 Private: No Submitted By: dug9 (dug9) Assigned to: Nobody/Anonymous (nobody) Summary: blender python hard to install to Initial Comment: opensource Blender.org uses python and their current release B259 has a 'private copy' of python 31, complete with python and python/lib directories. I use the .zip download of blender, and unzip it to C:, so its python directory is like this: C:\blender-2.59-windows32\2.59\python I also have python installed the usual way, to C:\Python31. Your / the win32 extension installer sees the Registry value and path for regular python, and installs to that python, but does;t let me pick the blender path. If I copy site_packages from the regular python to the blender python, blender python can't find win32com.client - no module. If I hack the registry entry HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\3.1\InstallPath > Default C:\Python31\ and change it to C:\blender-2.59-windows32\2.59\python then your / the installer correctly gets the directory, and installs it to the blender python, but the installer bombs before finishing - something about 'string'. And so blender can't find the win32com.client module. (The regular python -run from IDLE- has no problem) Thanks. more... I was using a .net thing http://pythonnet.sourceforge.net/ to wrap EarthLib (googleEarth http://earth.google.com/comapi/index.html) COM, but that pythondotnet has fallen behind (python27 is the last binary) and needs a Pro version of visual studio to build (I have free Express edition) so I can't hack it. The goal of using EarthLib from Blender is to do snapshots of the terrain, put them into blender as textured mesh, so artists can use Blender instead of Sketchup to model buildings for googleEarth or X3D deployment. ---------------------------------------------------------------------- >Comment By: dug9 (dug9) Date: 2011-08-22 06:55 Message: MH thanks for the quick response. Sorry you couldn't help. For googleearth snapshot in blender I'll use swigged C wrapper calling native COM instead of py win32com.client. ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2011-08-21 18:09 Message: I can't fix the problem with the installer - that is built using distutils which is built into Python itself, so any bugs related to that should be filed there. I also can't give you help on the problems you found after hacking the install location as you didn't offer enough details, but I suspect I will not be able to help there either and the issue will be with Blender itself. ---------------------------------------------------------------------- Comment By: dug9 (dug9) Date: 2011-08-20 15:11 Message: PS to launch googleEarth using win32Com.client: from win32com.client import Dispatch ge = Dispatch('GoogleEarth.ApplicationGE') ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3395490&group_id=78018 |