diego1996 / pythonxy

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

could not import PySide #199

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. Which components have you installed (Python(x,y) installer: component
page):
    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? What
plugins?
3. Have you selected the option "Customize installation directories"?
a. Yes
b. No
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?
6. Have you installed Python(x,y):
    a. For "Current user only"
    b. For "All users"
7. What is your operating system?
a. Windows XP
b. Windows Vista
8. When you installed Python(x,y), were you logged in as :
a. a regular user
b. an administrator of the machine
9. If you are using Windows Vista, 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"
10. Regarding installed softwares 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

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

Please provide any additional information below.

Original issue reported on code.google.com by Kim.Dohh...@gmail.com on 6 Sep 2010 at 4:53

GoogleCodeExporter commented 9 years ago
Sorry, I made mistake in making issue.

1. What version of Python(x,y) have you installed?
2.6.5.1

2. Which components have you installed (Python(x,y) installer: component
page):
b. "Full" component selection

3. Have you selected the option "Customize installation directories"?
b. No

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

6. Have you installed Python(x,y):
b. For "All users"

7. What is your operating system?
Windows 7

8. When you installed Python(x,y), were you logged in as :
b. an administrator of the machine

9. If you are using Windows Vista, have you installed Python(x,y):
a. simply by double-clicking on the installer

10. Regarding installed softwares 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

What steps will reproduce the problem?
1. open python console using python(x,y) menu
2. type "from PySide import QtGui"

What is the expected output? What do you see instead?
error message: 
>>> from PySide import QtGui
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: DLL load failed: The specified procedure could not be found

Please provide any additional information below.

If I execute python console not from python(x,t), there is no problem in 
loading PySide. 

Original comment by Kim.Dohh...@gmail.com on 6 Sep 2010 at 5:01

GoogleCodeExporter commented 9 years ago
Some questions:
1. Was PySide installed after Python(x, y )?
2. Are there any other Python installations beside Python(x, y)
3. Which console did you open precisly (ipython? python, cmd?, console?)

PySide is an alternative to PyQt. Installing both may be inviting trouble.

Original comment by grizzly.nyo on 25 Sep 2010 at 2:11

GoogleCodeExporter commented 9 years ago

Original comment by grizzly.nyo on 21 Feb 2011 at 7:59

GoogleCodeExporter commented 9 years ago
Just thought I'd note that I have installed Pyside (using the binaries provided 
by Nokia) and it works and imports fine in my programs (which are written and 
run in Eclipse). I have it installed alongside PyQt, and don't notice any 
issues. 

Perhaps the author of the bug was trying to use PYside in a session that 
already imports PyQt (I think Spyder and some versions of iPython do this?), or 
didn't install the binaries correctly, or was using an old version of pyside 
(which is changing very rapidly.)

My only issues were getting Pyside to work with other Python(x,y) components 
such as, I believe, the matplotlib widget, which are written specifically for 
pyqt.

I for one would *love* to see PySide in Python(x,y). Its documentation is far 
superior to PyQt, its licensing is much more favorable to business, and it 
seems certain to surpass PyQt in polish and functionality within the next few 
months...

Original comment by rdchamb...@gmail.com on 3 Mar 2011 at 5:47

GoogleCodeExporter commented 9 years ago
There are some downsides:
1. No stable version 1.0rc.
2. No 64bit and Python 3.x binaries.
3. No clear migration path (at least to me ...)
4. Very little 3rd party use.

Once it hits v1.0 it may consider it as an additional package, but until some 
significant 3rd party support builds up that's about it.

Original comment by grizzly.nyo on 5 Mar 2011 at 7:13