You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Background: have app that has Python embedded and we using the extensions in many scripts that we supply. Needed features in new MFC with VC10. Want to use Python 2.7. Python won't initialize unless same C run-time, so rebuilt python27.dll (and some others, but that seems all that is critical). We've done this before (at Python 2.8 with VC 9) but this time cannot import win32api. So thought we needed to rebuild that, too.
Using Python 2.7. Downloaded source for v 216.2. Try to build it using setup.py that came with it with installed Py 2.7. Fails trying to build perfmondata; appears to be looking for *.man files that do not exist. Decided to try again using rebuilt Python (VC10). Setup correctly identifies compiler and linker (cool!) but now failure occurs trying to load winapi. Tried rebuilding that using VS project file. Seems to build. Tried to run product on bare hope that that was all that was needed - failure importing _win32sysloader. Don't see how that gets rebuilt. Still can't get past perfmondata in setup.
Are we going about this the right way?
Things should be build with just "setup.py build" - the VS project files are out of date and just act as a "container" for the list of source files for each project.
Try doing "setup.py build --force" and paste the full error log.
Background: have app that has Python embedded and we using the extensions in many scripts that we supply. Needed features in new MFC with VC10. Want to use Python 2.7. Python won't initialize unless same C run-time, so rebuilt python27.dll (and some others, but that seems all that is critical). We've done this before (at Python 2.8 with VC 9) but this time cannot import win32api. So thought we needed to rebuild that, too.
Using Python 2.7. Downloaded source for v 216.2. Try to build it using setup.py that came with it with installed Py 2.7. Fails trying to build perfmondata; appears to be looking for *.man files that do not exist. Decided to try again using rebuilt Python (VC10). Setup correctly identifies compiler and linker (cool!) but now failure occurs trying to load winapi. Tried rebuilding that using VS project file. Seems to build. Tried to run product on bare hope that that was all that was needed - failure importing _win32sysloader. Don't see how that gets rebuilt. Still can't get past perfmondata in setup.
Are we going about this the right way?
Reported by: martymike
Original Ticket: pywin32/bugs/551
The text was updated successfully, but these errors were encountered: