[PyQt] Error with installation of pyqtdeploy

Phil Thompson phil at riverbankcomputing.com
Tue Apr 15 09:33:29 BST 2014


On 15-04-2014 9:18 am, Charlie Gentil wrote:
> Hi,
>
> There is an error with installation of pyqtdeploy 0.2 if pyqtdeploy
> 0.1 was installed.
>
> For any error, I must:
>
> - run : pip uninstall pyqtdeploy
>
> - delete : /usr/bin/pyqtdeploy
>
>  -run : pip install pyqtdeploy
>
> Here, the error :
>
> [charlie at charlie ~]$ pyqtdeploy
>
> Traceback (most recent call last):
>
>  File "/usr/lib/python3.4/site-packages/pkg_resources.py", line 444,
> in _build_master
>
>  ws.require(__requires__)
>
>  File "/usr/lib/python3.4/site-packages/pkg_resources.py", line 725,
> in require
>
>  needed = self.resolve(parse_requirements(requirements))
>
>  File "/usr/lib/python3.4/site-packages/pkg_resources.py", line 632,
> in resolve
>
>  raise VersionConflict(dist,req) # XXX put more info here
>
> pkg_resources.VersionConflict: (pyqtdeploy 0.2
> (/usr/lib/python3.4/site-packages),
> Requirement.parse('pyqtdeploy==0.1'))
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
>
>  File "/usr/bin/pyqtdeploy", line 5, in <module>
>
>  from pkg_resources import load_entry_point
>
>  File "/usr/lib/python3.4/site-packages/pkg_resources.py", line 2749,
> in <module>
>
>  working_set = WorkingSet._build_master()
>
>  File "/usr/lib/python3.4/site-packages/pkg_resources.py", line 446,
> in _build_master
>
>  return cls._build_from_requirements(__requires__)
>
>  File "/usr/lib/python3.4/site-packages/pkg_resources.py", line 459,
> in _build_from_requirements
>
>  dists = ws.resolve(reqs, Environment())
>
>  File "/usr/lib/python3.4/site-packages/pkg_resources.py", line 628,
> in resolve
>
>  raise DistributionNotFound(req)
>
> pkg_resources.DistributionNotFound: pyqtdeploy==0.1

I've noticed the same problem myself and assumed it is a problem with 
pip - unless somebody can tell me differently...

Phil


More information about the PyQt mailing list