انجمن‌های فارسی اوبونتو

کمک و پشتیبانی => برنامه‌سازی => نویسنده: Habib1385 در 19 دی 1401، 09:49 ب‌ظ

عنوان: مشکل در نصب pyqt5
ارسال شده توسط: Habib1385 در 19 دی 1401، 09:49 ب‌ظ
سلام
خسته نباشید
موقع نصب pyqt5Designer به مشکل خوردم
ارور habibsystem@habibsystem:~$ pip3 install pyqt5Designer
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement pyqt5Designer (from versions: none)
ERROR: No matching distribution found for pyqt5Designer
و برای نصب خود pyqt5
habibsystem@habibsystem:~$ pip3 install pyqt5
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pyqt5 in /usr/lib/python3/dist-packages (5.15.7)
Requirement already satisfied: PyQt5-sip<13,>=12.11 in /usr/lib/python3/dist-packages (from pyqt5) (12.11.0)
همچین برای نصب pyqt5-tools
habibsystem@habibsystem:~$ pip3 install pyqt5-tools
Defaulting to user installation because normal site-packages is not writeable
Collecting pyqt5-tools
  Using cached pyqt5_tools-5.15.4.3.2-py3-none-any.whl (29 kB)
Requirement already satisfied: click in /usr/lib/python3/dist-packages (from pyqt5-tools) (8.0.3)
Collecting pyqt5==5.15.4
  Using cached PyQt5-5.15.4-cp36.cp37.cp38.cp39-abi3-manylinux2014_x86_64.whl (8.3 MB)
Collecting python-dotenv
  Using cached python_dotenv-0.21.0-py3-none-any.whl (18 kB)
Collecting pyqt5-tools
  Using cached pyqt5_tools-5.15.4.3.1-py3-none-any.whl (28 kB)
  Using cached pyqt5_tools-5.15.4.3.0.3-py3-none-any.whl (28 kB)
  Using cached pyqt5_tools-5.15.3.3.2-py3-none-any.whl (29 kB)
  Using cached pyqt5_tools-5.15.3.3.1-py3-none-any.whl (28 kB)
  Using cached pyqt5_tools-5.15.3.3.0.3-py3-none-any.whl (28 kB)
  Using cached pyqt5_tools-5.15.2.3.2-py3-none-any.whl (29 kB)
  Using cached pyqt5_tools-5.15.2.3.1-py3-none-any.whl (28 kB)
Collecting pyqt5==5.15.2
  Using cached PyQt5-5.15.2-5.15.2-cp35.cp36.cp37.cp38.cp39-abi3-manylinux2014_x86_64.whl (68.3 MB)
Collecting pyqt5-tools
  Using cached pyqt5_tools-5.15.2.3.0.3-py3-none-any.whl (28 kB)
  Using cached pyqt5_tools-5.15.2.3.0.2-py3-none-any.whl (28 kB)
  Using cached pyqt5_tools-5.15.2.3.0.1-py3-none-any.whl (28 kB)
  Using cached pyqt5_tools-5.15.2.3-py3-none-any.whl (28 kB)
  Using cached pyqt5_tools-5.15.1.3.2-py3-none-any.whl (29 kB)
  Using cached pyqt5_tools-5.15.1.3.1-py3-none-any.whl (28 kB)
  Using cached pyqt5_tools-5.15.1.3.0.3-py3-none-any.whl (28 kB)
  Using cached pyqt5_tools-5.15.1.3.0.2-py3-none-any.whl (28 kB)
  Using cached pyqt5_tools-5.15.1.3.0.1-py3-none-any.whl (28 kB)
  Using cached pyqt5_tools-5.15.1.3-py3-none-any.whl (28 kB)
  Using cached pyqt5_tools-5.15.1.2-py3-none-any.whl (28 kB)
  Using cached pyqt5_tools-5.15.0.3.2-py3-none-any.whl (29 kB)
Collecting pyqt5==5.15.0
  Using cached PyQt5-5.15.0-5.15.0-cp35.cp36.cp37.cp38-abi3-manylinux2014_x86_64.whl (76.6 MB)
Collecting pyqt5-tools
  Using cached pyqt5_tools-5.15.0.3.1-py3-none-any.whl (28 kB)
  Using cached pyqt5_tools-5.15.0.3.0.3-py3-none-any.whl (28 kB)
  Using cached pyqt5_tools-5.15.0.3.0.2-py3-none-any.whl (28 kB)
  Using cached pyqt5_tools-5.15.0.3.0.1-py3-none-any.whl (28 kB)
  Using cached pyqt5_tools-5.15.0.3-py3-none-any.whl (28 kB)
  Using cached pyqt5_tools-5.15.0.2-py3-none-any.whl (28 kB)
  Using cached pyqt5_tools-5.14.2.3.2-py3-none-any.whl (29 kB)
Collecting pyqt5==5.14.2
  Using cached PyQt5-5.14.2-5.14.2-cp35.cp36.cp37.cp38-abi3-manylinux2014_x86_64.whl (63.6 MB)
Collecting pyqt5-tools
  Using cached pyqt5_tools-5.14.2.3.1-py3-none-any.whl (28 kB)
  Using cached pyqt5_tools-5.14.2.3.0.3-py3-none-any.whl (28 kB)
  Using cached pyqt5_tools-5.14.2.3.0.2-py3-none-any.whl (28 kB)
  Using cached pyqt5_tools-5.14.2.3.0.1-py3-none-any.whl (28 kB)
  Using cached pyqt5_tools-5.14.2.3-py3-none-any.whl (28 kB)
  Using cached pyqt5_tools-5.14.2.2-py3-none-any.whl (28 kB)
  Using cached pyqt5_tools-5.14.1.3.2-py3-none-any.whl (29 kB)
  Using cached pyqt5_tools-5.14.1.3.1-py3-none-any.whl (28 kB)
  Using cached pyqt5_tools-5.14.1.3.0.3-py3-none-any.whl (28 kB)
  Using cached pyqt5_tools-5.14.1.3.0.2-py3-none-any.whl (28 kB)
  Using cached pyqt5_tools-5.14.1.3.0.1-py3-none-any.whl (28 kB)
  Using cached pyqt5_tools-5.14.1.3-py3-none-any.whl (28 kB)
  Using cached pyqt5_tools-5.14.1.2-py3-none-any.whl (28 kB)
  Using cached pyqt5_tools-5.14.0.3.2-py3-none-any.whl (29 kB)
  Using cached pyqt5_tools-5.14.0.3.1-py3-none-any.whl (28 kB)
Collecting pyqt5==5.14.0
  Using cached PyQt5-5.14.0-5.14.0-cp35.cp36.cp37.cp38-abi3-manylinux1_x86_64.whl (63.5 MB)
Collecting pyqt5-tools
  Using cached pyqt5_tools-5.14.0.3.0.3-py3-none-any.whl (28 kB)
  Using cached pyqt5_tools-5.14.0.3.0.2-py3-none-any.whl (28 kB)
  Using cached pyqt5_tools-5.14.0.3.0.1-py3-none-any.whl (28 kB)
  Using cached pyqt5_tools-5.14.0.3-py3-none-any.whl (28 kB)
  Using cached pyqt5_tools-5.14.0.2-py3-none-any.whl (28 kB)
ERROR: Cannot install pyqt5-tools==5.14.0.2, pyqt5-tools==5.14.0.3, pyqt5-tools==5.14.0.3.0.1, pyqt5-tools==5.14.0.3.0.2, pyqt5-tools==5.14.0.3.0.3, pyqt5-tools==5.14.0.3.1, pyqt5-tools==5.14.0.3.2, pyqt5-tools==5.14.1.2, pyqt5-tools==5.14.1.3, pyqt5-tools==5.14.1.3.0.1, pyqt5-tools==5.14.1.3.0.2, pyqt5-tools==5.14.1.3.0.3, pyqt5-tools==5.14.1.3.1, pyqt5-tools==5.14.1.3.2, pyqt5-tools==5.14.2.2, pyqt5-tools==5.14.2.3, pyqt5-tools==5.14.2.3.0.1, pyqt5-tools==5.14.2.3.0.2, pyqt5-tools==5.14.2.3.0.3, pyqt5-tools==5.14.2.3.1, pyqt5-tools==5.14.2.3.2, pyqt5-tools==5.15.0.2, pyqt5-tools==5.15.0.3, pyqt5-tools==5.15.0.3.0.1, pyqt5-tools==5.15.0.3.0.2, pyqt5-tools==5.15.0.3.0.3, pyqt5-tools==5.15.0.3.1, pyqt5-tools==5.15.0.3.2, pyqt5-tools==5.15.1.2, pyqt5-tools==5.15.1.3, pyqt5-tools==5.15.1.3.0.1, pyqt5-tools==5.15.1.3.0.2, pyqt5-tools==5.15.1.3.0.3, pyqt5-tools==5.15.1.3.1, pyqt5-tools==5.15.1.3.2, pyqt5-tools==5.15.2.3, pyqt5-tools==5.15.2.3.0.1, pyqt5-tools==5.15.2.3.0.2, pyqt5-tools==5.15.2.3.0.3, pyqt5-tools==5.15.2.3.1, pyqt5-tools==5.15.2.3.2, pyqt5-tools==5.15.3.3.0.3, pyqt5-tools==5.15.3.3.1, pyqt5-tools==5.15.3.3.2, pyqt5-tools==5.15.4.3.0.3, pyqt5-tools==5.15.4.3.1 and pyqt5-tools==5.15.4.3.2 because these package versions have conflicting dependencies.

The conflict is caused by:
    pyqt5-tools 5.15.4.3.2 depends on pyqt5-plugins<5.15.4.3 and >=5.15.4.2.2
    pyqt5-tools 5.15.4.3.1 depends on pyqt5-plugins<5.15.4.3 and >=5.15.4.2
    pyqt5-tools 5.15.4.3.0.3 depends on pyqt5-plugins<5.15.4.3 and >=5.15.4.2
    pyqt5-tools 5.15.3.3.2 depends on pyqt5-plugins<5.15.3.3 and >=5.15.3.2.2
    pyqt5-tools 5.15.3.3.1 depends on pyqt5-plugins<5.15.3.3 and >=5.15.3.2
    pyqt5-tools 5.15.3.3.0.3 depends on pyqt5-plugins<5.15.3.3 and >=5.15.3.2
    pyqt5-tools 5.15.2.3.2 depends on pyqt5-plugins<5.15.2.3 and >=5.15.2.2.2
    pyqt5-tools 5.15.2.3.1 depends on pyqt5-plugins<5.15.2.3 and >=5.15.2.2
    pyqt5-tools 5.15.2.3.0.3 depends on pyqt5-plugins<5.15.2.3 and >=5.15.2.2
    pyqt5-tools 5.15.2.3.0.2 depends on pyqt5-plugins<5.15.2.3 and >=5.15.2.2
    pyqt5-tools 5.15.2.3.0.1 depends on pyqt5-plugins<5.15.2.3 and >=5.15.2.2
    pyqt5-tools 5.15.2.3 depends on pyqt5-plugins<5.15.2.3 and >=5.15.2.2
    pyqt5-tools 5.15.1.3.2 depends on pyqt5-plugins<5.15.1.3 and >=5.15.1.2.2
    pyqt5-tools 5.15.1.3.1 depends on pyqt5-plugins<5.15.1.3 and >=5.15.1.2
    pyqt5-tools 5.15.1.3.0.3 depends on pyqt5-plugins<5.15.1.3 and >=5.15.1.2
    pyqt5-tools 5.15.1.3.0.2 depends on pyqt5-plugins<5.15.1.3 and >=5.15.1.2
    pyqt5-tools 5.15.1.3.0.1 depends on pyqt5-plugins<5.15.1.3 and >=5.15.1.2
    pyqt5-tools 5.15.1.3 depends on pyqt5-plugins<5.15.1.3 and >=5.15.1.2
    pyqt5-tools 5.15.1.2 depends on pyqt5-plugins~=5.15.1.1.0.dev0
    pyqt5-tools 5.15.0.3.2 depends on pyqt5-plugins<5.15.0.3 and >=5.15.0.2.2
    pyqt5-tools 5.15.0.3.1 depends on pyqt5-plugins<5.15.0.3 and >=5.15.0.2
    pyqt5-tools 5.15.0.3.0.3 depends on pyqt5-plugins<5.15.0.3 and >=5.15.0.2
    pyqt5-tools 5.15.0.3.0.2 depends on pyqt5-plugins<5.15.0.3 and >=5.15.0.2
    pyqt5-tools 5.15.0.3.0.1 depends on pyqt5-plugins<5.15.0.3 and >=5.15.0.2
    pyqt5-tools 5.15.0.3 depends on pyqt5-plugins<5.15.0.3 and >=5.15.0.2
    pyqt5-tools 5.15.0.2 depends on pyqt5-plugins~=5.15.0.1.0.dev0
    pyqt5-tools 5.14.2.3.2 depends on pyqt5-plugins<5.14.2.3 and >=5.14.2.2.2
    pyqt5-tools 5.14.2.3.1 depends on pyqt5-plugins<5.14.2.3 and >=5.14.2.2
    pyqt5-tools 5.14.2.3.0.3 depends on pyqt5-plugins<5.14.2.3 and >=5.14.2.2
    pyqt5-tools 5.14.2.3.0.2 depends on pyqt5-plugins<5.14.2.3 and >=5.14.2.2
    pyqt5-tools 5.14.2.3.0.1 depends on pyqt5-plugins<5.14.2.3 and >=5.14.2.2
    pyqt5-tools 5.14.2.3 depends on pyqt5-plugins<5.14.2.3 and >=5.14.2.2
    pyqt5-tools 5.14.2.2 depends on pyqt5-plugins~=5.14.2.1.0.dev0
    pyqt5-tools 5.14.1.3.2 depends on pyqt5-plugins<5.14.1.3 and >=5.14.1.2.2
    pyqt5-tools 5.14.1.3.1 depends on pyqt5-plugins<5.14.1.3 and >=5.14.1.2
    pyqt5-tools 5.14.1.3.0.3 depends on pyqt5-plugins<5.14.1.3 and >=5.14.1.2
    pyqt5-tools 5.14.1.3.0.2 depends on pyqt5-plugins<5.14.1.3 and >=5.14.1.2
    pyqt5-tools 5.14.1.3.0.1 depends on pyqt5-plugins<5.14.1.3 and >=5.14.1.2
    pyqt5-tools 5.14.1.3 depends on pyqt5-plugins<5.14.1.3 and >=5.14.1.2
    pyqt5-tools 5.14.1.2 depends on pyqt5-plugins~=5.14.1.1.0.dev0
    pyqt5-tools 5.14.0.3.2 depends on pyqt5-plugins<5.14.0.3 and >=5.14.0.2.2
    pyqt5-tools 5.14.0.3.1 depends on pyqt5-plugins<5.14.0.3 and >=5.14.0.2
    pyqt5-tools 5.14.0.3.0.3 depends on pyqt5-plugins<5.14.0.3 and >=5.14.0.2
    pyqt5-tools 5.14.0.3.0.2 depends on pyqt5-plugins<5.14.0.3 and >=5.14.0.2
    pyqt5-tools 5.14.0.3.0.1 depends on pyqt5-plugins<5.14.0.3 and >=5.14.0.2
    pyqt5-tools 5.14.0.3 depends on pyqt5-plugins<5.14.0.3 and >=5.14.0.2
    pyqt5-tools 5.14.0.2 depends on pyqt5-plugins~=5.14.0.1.0.dev0

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
شرمنده اگر مشکلاتم زیاده  ;D
عنوان: پاسخ : مشکل در نصب pyqt5
ارسال شده توسط: دانیال بهزادی در 20 دی 1401، 12:01 ق‌ظ
به نظر می‌رسه توی محیط مجازی نیستید. هرگز نباید از pip در خارج از محیط مجازی استفاده کنید.
عنوان: پاسخ : مشکل در نصب pyqt5
ارسال شده توسط: Habib1385 در 20 دی 1401، 12:24 ق‌ظ
به نظر می‌رسه توی محیط مجازی نیستید. هرگز نباید از pip در خارج از محیط مجازی استفاده کنید.
تو ترمینال اوبنتو اجرا می کنم دستور pip حتما باید در محیط مجازی ساز باشه ؟
عنوان: پاسخ : مشکل در نصب pyqt5
ارسال شده توسط: دانیال بهزادی در 20 دی 1401، 01:20 ق‌ظ
مجازی‌ساز نه! محیط مجازی پایتون: https://docs.python.org/3/tutorial/venv.html
عنوان: پاسخ : مشکل در نصب pyqt5
ارسال شده توسط: Habib1385 در 21 دی 1401، 12:52 ق‌ظ
مجازی‌ساز نه! محیط مجازی پایتون: https://docs.python.org/3/tutorial/venv.html
برای نصب کتاب خونه ها اوکی شد اما دیزاینر و پای کیوت تولز مشکل داره
عنوان: پاسخ : مشکل در نصب pyqt5
ارسال شده توسط: دانیال بهزادی در 22 دی 1401، 12:43 ق‌ظ
چه مشکلی؟
عنوان: پاسخ : مشکل در نصب pyqt5
ارسال شده توسط: Habib1385 در 22 دی 1401، 03:02 ب‌ظ
چه مشکلی؟
همون خطایی که قبلا ارسال کردم
عنوان: پاسخ : مشکل در نصب pyqt5
ارسال شده توسط: دانیال بهزادی در 23 دی 1401، 08:50 ب‌ظ
متن کاملش رو بذار
عنوان: پاسخ : مشکل در نصب pyqt5
ارسال شده توسط: Habib1385 در 23 دی 1401، 10:50 ب‌ظ
متن کاملش رو بذار
کامل هست