haluhak149 / pythonxy

Automatically exported from code.google.com/p/pythonxy
0 stars 0 forks source link

VTK not working with cx_freeze in 2.7.5.2 #718

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If relevant, please answer to the following questions:
1. What version of Python(x,y) have you installed?
2.7.5.2
2. Which components have you installed (Python(x,y) installer:
componentpage):
    a. Have you selected the "Recommended" component selection?
    b. Have you selected the "Full" component selection?
c. Have you selected manually plugins in the component list?
Whatplugins?
c
3. Have you selected the option "Customize installation directories"?
a. Yes
b. No
b
4. If the answer to 3. is yes, what installation directories have you
chosen?

5. Where did you install Python(x,y) itself?
a. default path
b. custom path, which one?
a
6. Have you installed Python(x,y):
    a. For "Current user only"
    b. For "All users"
b
7. What is your operating system?
a. Windows XP
b. Windows Vista
c. Windows 7
d. Windows 8
c
8. Is the operating system 64 bit?
a. Yes
b. No
a
9. When you installed Python(x,y), were you logged in as :
a. a regular user
b. an administrator of the machine
b
10. If you are using Windows Vista/7, have you installed Python(x,y):
a. simply by double-clicking on the installer
    b. by right-clicking on the installer and selecting "Run as an
administrator"
a
11. Regarding installed software on your machine, how did you clean your
machine before installing Python(x,y)  (multiple answers are possible):
a. you didn't do anything, you installed Python(x,y) directly on your
machine without precaution
b. you uninstalled any previous Python distribution (including the
official .msi)
c. you cleaned the Windows registry by removing all Python-related keys
d. you cleaned the environment variables by removing all deprecated
entries
b
What steps will reproduce the problem?
1. Create a .py script that uses VTK (an example from VTK's source code python 
examples will do)
2. Compile the script with cx_freeze (cxfreeze cubeAxes.py --target-dir dist 
--include-modules re,atexit,sip)
3. Run the resulting cubeAxes.exe

What is the expected output? What do you see instead?
A window rendering a 3D teapot, instead I get: LinkError: No module named 
vtkCommonPythonSIP
Please provide any additional information below.
I have tried the same steps with pythonxy 2.7.3.1 and works fine.

Original issue reported on code.google.com by manuelca...@gmail.com on 3 Feb 2014 at 5:07

GoogleCodeExporter commented 9 years ago
VTK is linked with QT using SIP. You need to add the relevant DLLs as well.

Original comment by grizzly.nyo on 3 Feb 2014 at 5:18

GoogleCodeExporter commented 9 years ago
please forward this question to the relevant VTK mailing list.

Original comment by grizzly.nyo on 16 Feb 2014 at 8:32