I start Python course.
Now I have that a problem.
I try find something but still is that same.
Please help, thanks.
I using with fresh updates:
5.19.0-35-generic #36~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 17 15:17:25 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
ModuleNotFoundError: No module named ‘PySide’
pip3 install PySide6
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: PySide6 in ./.local/lib/python3.10/site-packages (6.4.3)
Requirement already satisfied: shiboken6==6.4.3 in ./.local/lib/python3.10/site-packages (from PySide6) (6.4.3)
Requirement already satisfied: PySide6-Essentials==6.4.3 in ./.local/lib/python3.10/site-packages (from PySide6) (6.4.3)
Requirement already satisfied: PySide6-Addons==6.4.3 in ./.local/lib/python3.10/site-packages (from PySide6) (6.4.3)
type or paste copython3 -m pip install “SomeProject”
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement SomeProject (from versions: none)
ERROR: No matching distribution found for SomeProject
python3 -m pip install “SomeProject==1.4”
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement SomeProject==1.4 (from versions: none)
ERROR: No matching distribution found for SomeProject==1.4
python3 -m pip install “SomeProject>=1,<2”
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement SomeProject<2,>=1 (from versions: none)
ERROR: No matching distribution found for SomeProject<2,>=1
python3 -m pip install “SomeProject~=1.4.2”
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement SomeProject~=1.4.2 (from versions: none)
ERROR: No matching distribution found for SomeProject~=1.4.2
Blockquote
Blockquote
pip install PySide6
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: PySide6 in ./.local/lib/python3.10/site-packages (6.4.3)
Requirement already satisfied: PySide6-Essentials==6.4.3 in ./.local/lib/python3.10/site-packages (from PySide6) (6.4.3)
Requirement already satisfied: shiboken6==6.4.3 in ./.local/lib/python3.10/site-packages (from PySide6) (6.4.3)
Requirement already satisfied: PySide6-Addons==6.4.3 in ./.local/lib/python3.10/site-packages (from PySide6) (6.4.3)
Blockquote
Blockquote
python setup.py install --qtpaths=/path/to/bin/qtpaths6 --parallel=8 --build-tests
Command ‘python’ not found, did you mean:
command ‘python3’ from deb python3
command ‘python’ from deb python-is-python3
Blockquote
Is PySide and PySide6 the same thing??? When looking at how to use PySide6, the imports in the code include PySide6… are you importing PySide?
Your error is saying it can’t find PySide… but you installed PySide6… that’s what I’ve been saying. I’ve never used these packages before, but from what I saw the PySide6 installation and use manual showed the imports are from PySide6.