Hi Eric,

2011/4/19 Eric Frederich <[email protected]>:
> I just did a clean build of PySide on Windows today using the
> pyside-packaging/setuptools/create_package.py script.
> After running it, I ran python setup.py install
> And then after that I ran the post install script that got installed
> under Scripts.
>
> I tried to run pyside-uic.exe and I got the following error....
>
> C:\>pyside-uic.exe
> Traceback (most recent call last):
>  File "C:\my_python27\Scripts\pyside-uic-script.py", line 8, in <module>
>    load_entry_point('PySide==1.0.0qt472', 'console_scripts', 'pyside-uic')()
>  File "build\bdist.win32\egg\pkg_resources.py", line 318, in load_entry_point
>  File "build\bdist.win32\egg\pkg_resources.py", line 2221, in load_entry_point
>  File "build\bdist.win32\egg\pkg_resources.py", line 1954, in load
> ImportError: No module named uic
>
>
> After this, I installed PySide from the resulting
> pyside-packaging\setuptools\dist\PySide-1.0.0qt472.win32-py2.7.exe
> This yielded the same error as above.
>

AFAIK, the uic scripts are not packaged. You need to manually copy uic
related scripts from official PySide-1.0.0qt472.win32-py2.7.exe:

copy folder: PySide-1.0.0qt472.win32-py2.7.exe\PURELIB\pysideuic
to:<YOUR_PYTHON\Lib\site-packages\pysideuic
AND
copy folder: PySide-1.0.0qt472.win32-py2.7.exe\PURELIB\PySide\scripts
to:<YOUR_PYTHON\Lib\site-packages\PySide\scripts

Regards
-Roman
_______________________________________________
PySide mailing list
[email protected]
http://lists.pyside.org/listinfo/pyside

Reply via email to