PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 850 - Cannot install PySide with pip on my virtualenv environment
: Cannot install PySide with pip on my virtualenv environment
Status: CLOSED WONTFIX
Product: PySide
Classification: Unclassified
Component: PySide
: 0.4.2
: Macintosh Mac OS
: P5 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2011-05-09 07:02 EEST by zelegolas
Modified: 2011-09-15 00:47 EEST (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zelegolas 2011-05-09 07:02:36 EEST
Step to reproduce the issue:

1. Installed QtSQK 1.1 (version Qt_SDK_Mac64_offline_v1_1_en) on a custom foler
2. Switch to a virtualenvwrapper (cmd workon ENVNAME) on python 2.7 environment
3. Execute the command: pip install pyside

On my Mac it's display this message:
"Downloading/unpacking pyside
  Downloading pyside-pkgsetup-0.4.2.zip (3.5Mb): 3.5Mb downloaded
  Running setup.py egg_info for package pyside
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
    IOError: [Errno 2] No such file or directory:
'/Volumes/Perso/.pyvirtualenv/test27/build/pyside/setup.py'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 14, in <module>

IOError: [Errno 2] No such file or directory:
'/Volumes/Perso/.pyvirtualenv/test27/build/pyside/setup.py'

----------------------------------------
Command python setup.py egg_info failed with error code 1"

On my folder '/Volumes/Perso/.pyvirtualenv/test27/build/pyside' I have the file 
setup.py.in not the file setup.py.

If I try to rename setup.py.in to setup.py and run:
 python setup.y install

It doesn't work! And I have this message:
"Traceback (most recent call last):
  File "setup.py", line 56, in <module>
    packages = find_packages('src'),
  File "build/bdist.linux-i686/egg/setuptools/__init__.py", line 31, in
find_packages
OSError: [Errno 2] No such file or directory: 'src'"
Comment 1 Hugo Parente Lima 2011-05-12 21:44:05 EEST
Sorry, but I have no idea what the "pip install pyside" commands do, better
report them to whom created this install method used by you. However feel free
to report any bug if you have problems compiling and installing PySide (using
make install).
Comment 2 zelegolas 2011-05-12 22:31:11 EEST
(In reply to comment #1)
> Sorry, but I have no idea what the "pip install pyside" commands do, better
> report them to whom created this install method used by you. However feel free
> to report any bug if you have problems compiling and installing PySide (using
> make install).

Hi Hugo

If you work with Python I'm very surprise you don't know pip. pip is a standard
tool like easy_install to install python package. 
(http://pypi.python.org/pypi/pip/1.0.1). 
If a package is properly done pip is able to install it. 
I hope, for you, you will support this tool as you should compatible
easy_install too.

Regards
Comment 3 Hugo Parente Lima 2011-05-13 00:29:29 EEST
(In reply to comment #2)
> Hi Hugo
> 
> If you work with Python I'm very surprise you don't know pip. pip is a standard
> tool like easy_install to install python package. 
> (http://pypi.python.org/pypi/pip/1.0.1). 
> If a package is properly done pip is able to install it. 
> I hope, for you, you will support this tool as you should compatible
> easy_install too.

So be a bit more surprised as I don't work with Python, I work with Python
bindings, so I don't need to use tools made for Python programmers because in
essence I'm not really a Python programmer, PySide, Shiboken, etc is a C++
project to create Python bindings to a C++ library, I guess you got it.

Anyway the only installation procedure supported by PySide core developers is
cmake/make/make install, any other were delegated to their creators and this is
the case of easy_install, windows installer, linux and mac packages, but if you
really want PySide to be installed using any desired tools we are happy to
accept your patches but I guess is better to not expect it for us as IMO we are
very happy delegating these tasks =].

Regards
Comment 4 renato filho 2011-06-22 20:25:15 EEST
release 1.0.4
Comment 5 zelegolas 2011-09-15 00:33:09 EEST
I just try to install the latest version again

With easy_instal:

"$ easy_install pyside
Searching for pyside
Reading http://pypi.python.org/simple/pyside/
Reading http://www.pyside.org
Reading http://www.pyside.org/files/
Reading http://www.pyside.org/files/pkg/
Best match: pyside 1.0.6-docs
Downloading http://www.pyside.org/files/pyside-1.0.6-docs.zip
Processing pyside-1.0.6-docs.zip
error: Couldn't find a setup script in
/var/folders/1G/1GTLoZN+G1WI3l5yXXJcgk+++TI/-Tmp-/easy_install-WFnyQG/pyside-1.0.6-docs.zip"

It's donwloading the documentation!!! loll :)

Same thing with pip:

"$ pip install pyside
Downloading/unpacking pyside
  Downloading pyside-1.0.6-docs.zip (39.5Mb): 39.5Mb downloaded
  Running setup.py egg_info for package pyside
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
    IOError: [Errno 2] No such file or directory:
'/Volumes/Perso/.pyvirtualenv/pySide27/build/pyside/setup.py'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 14, in <module>

IOError: [Errno 2] No such file or directory:
'/Volumes/Perso/.pyvirtualenv/pySide27/build/pyside/setup.py'

----------------------------------------
Command python setup.py egg_info failed with error code 1"

:-P
Comment 6 Hugo Parente Lima 2011-09-15 00:47:49 EEST
See bug 943.

Plz, don't reopen bugs, first comment on them, then we could reopen it.

Thanks.