Opened 5 years ago
Last modified 5 years ago
#58666 assigned defect
py36-pyside2 - problem with pyside2-rcc — at Initial Version
Reported by: | cainesi | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.5.4 |
Keywords: | Cc: | ||
Port: | py-pyside2 |
Description
"pyside2-rcc-3.6" script does not execute correctly.
The script is correctly installed in /opt/local/bin, but when run it does not correctly find the pyside2-rcc script in /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/PySide2/scripts/, instead it appears to be looking for pyside2-rcc-3.6 in that location.
Example error when pyside2-rcc-3.6 command is run:
Traceback (most recent call last):
File "/opt/local/bin/pyside2-rcc-3.6", line 11, in <module>
load_entry_point('PySide2==5.12.3', 'console_scripts', 'pyside2-rcc')()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/PySide2/scripts/pyside_tool.py", line 50, in main
sys.exit(subprocess.call(command))
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 287, in call
with Popen(*popenargs, kwargs) as p:
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 729, in init
restore_signals, start_new_session)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 1364, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/PySide2/scripts/../pyside2-rcc-3.6': '/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/PySide2/scripts/../pyside2-rcc-3.6'