Python PyQt5 запуск Qt Designer в Windows 7
Если его там нет, попробуйте установить: pip install pyqt5-tools .
Тогда дизайнер искать в: \Lib\site-packages\pyqt5-tools\designer.exe
Если python установлен, но не знаете его путь, можно попробовать узнать у него самого, введя в консоли:
python -c "import sys; print(sys.executable)"
Если его там нет, попробуйте установить: pip install pyqt5-tools. ? Только что установил pyqt5-tools и в site-packages\pyqt5-tools нашел дизайнер
Может быть вы смотрели в папке с установленным Python, а не в документах: C:\Users\Username\AppData\Local\Programs\Python. pyqt5_tools\ Qt\ bin
Нашел там, после совета с установкой через команду: pip install pyqt5-tools от пользователя выше.
Я у себя с трудом нашел вот по такому пути:
C:\Users\\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\qt5_applications\Qt\bin
Так как с недавних пор можно установить интерпретатор питона версии 3.9 с магазина Windows Store, питон может у кого-то, кто так и сделал, являться приложением магазина со всеми вытекающими. Потому, не смотря на, возможно, до сих пор актуальные предыдущие мне ответы, оставлю свои два варианта. Во втором варианте отличие от предыдущих ответов — папка «qt5_applications».
Установка выполнялась посредством исполнения команд: pip install pyqt5 | pip install pyqt5-tools (была оф. версия 3.7.7) и pip3.9 install pyqt5 | pip3.9 install pyqt5-tools (версия 3.9 скачана приложением из Windows Store, команды исполнялись в PowerShell от имени Администратора)
Актуально для Windows 10, но смею предположить, что и для «Семёрки» также будет актуально за исключением того, что в ней, как мне помнится, нет и не было магазина Windows Store.
Нет designer.exe в папке pyqt5-tools
Я в консоли написал команду: pip3 install PyQt5 . У меня установился PyQt , но я не могу найти там designer.exe . Я уже просмотрел много форумов, где нужно было установить pyqt5-tools , и всем им это помогало, но мне не помог. (папка pyqt5-tools ). У меня есть только эти 4 папки и 3 файла. Я там не нашёл designer.exe , пожалуйста, помогите!
2 ответа 2
Не знаю, чем вызвана у вас проблема, но можно скачать его отдельно. На маке это по сути было лучшее решение, как насчет винды не знаю, но это кажется удобным.
Вот моя последовательность действий по добыче «designer» сносим все лишние питоны устанавливаем 3.9 (3.10 не совместим с тулсом). pip install pyqt5 (смотрим что установилось все без ошибок) pip install pyqt5-tools (смотрим что установилось все без ошибок если что проверяем что питон 3.9) у меня файл designer.exe так и не появился (зато появился qt5-tools) даем командную строку qt5-tools designer (можно создать ярлык на файл qt5-tools и дописать в него designer)
Похожие
Подписаться на ленту
Для подписки на ленту скопируйте и вставьте эту ссылку в вашу программу для чтения RSS.
Дизайн сайта / логотип © 2023 Stack Exchange Inc; пользовательские материалы лицензированы в соответствии с CC BY-SA . rev 2023.7.19.43539
Нажимая «Принять все файлы cookie» вы соглашаетесь, что Stack Exchange может хранить файлы cookie на вашем устройстве и раскрывать информацию в соответствии с нашей Политикой в отношении файлов cookie.
Как запустить QT Designer?
Qt Designer — одна из частей фреймворка Qt. Это графический редактор, который позволит создавать элементы интерфейса вашей программы «с нуля». Окна, списки, чекбоксы, комбобоксы — всё, что вы привыкли видеть в реальных веб-приложениях
Приложение Qt Designer устанавливается вместе с библиотекой PyQt в Python. Для этого в командной строке необходимо запустить установку с помощью системы управления пакетами (pip): pip install pyqt5
После того, как PyQt установилась, у многих начинающих программистов, которые впервые сталкиваются с работой в этой среде, а как найти QtDesigner? Куда это всё установилось?
Самый простой способ быстро найти QtDesigner — это скопировать путь до директории в командной строке при установки PyQt.
Открываем директорию C:\Users\1\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\ и ищем каталог pyqt5_tools
Итоговый путь для QtDesigner — C:\Users\1\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\pyqt5_tools
Учимся дальше:
Как вам статья?
Существуют в интернете базовые программы для начинающих работать или знакомиться с компьютером, которые помогают
Есть отличный американский фильм «Отпуск по обмену». Двум героиням фильма, отчаявшимся от жизненных невзгод,
А что делать если выдает ошибку запуска, которая происходит из за отсутствия dll файла? не могли бы вы просто скинуть ссылку на нужную библиотеку?
Если ошибка при запуске дизайнера:
скопировать папку
…\AppData\Local\Programs\Python\Python39\Lib\site-packages\PyQt5\Qt\plugins\platforms
вставить сюда
…\AppData\Local\Programs\Python\Python39\Lib\site-packages\qt5_applications\Qt\bin
Зачем такие сложности с путями, правами и т. д. PyQt5-tools как раз и предназначен, чтобы их не было. Qt5 надо ставить с ним:
pip3 install PyQt5-tools
И всё. Неважно куда и что установится и где будут библиотеки. Можно запустить любой инструмент, например так:
PyQt5-tools designer
или так:
qt5-tools designer
156207 160538Discovered your weblog and decided to have a study on it, not what I normally do, but this weblog is great. Awesome to see a site thats not spammed, and truly makes some sense. Anyway, great write up. 541342
978869 632562I always was interested in this subject and nonetheless am, regards for posting . 649783
286792 89539There is noticeably a bundle to learn about this. I assume you made sure great points in capabilities also. 147663
237491 9950Highest quality fella toasts, or toasts. will most definitely be given birth to product or service ? from the party therefore supposed to become surprising, humorous coupled with enlightening likewise. finest man speaches 949098
804729 681175Just wanna input on couple of common issues, The web site style is perfect, the articles is really wonderful : D. 457829
After looking at a number of the blog articles on your site, I truly like your way of blogging. I book-marked it to my bookmark website list and will be checking back soon. Please check out my web site as well and let me know how you feel. купить диплом о высшем образовании москва
We are a group of volunteers and starting a new scheme in our community. Your web site provided us with valuable information to work on. You have done an impressive job and our whole community will be grateful to you. гостиничные чеки с подтверждением спб
Howdy! Quick question that’s completely off topic. Do you know how to make your site mobile friendly? My blog looks weird when viewing from my iphone4. I’m trying to find a theme or plugin that might be able to correct this problem. If you have any suggestions, please share. Appreciate it! bezogoroda.ru
This piece of writing is truly a nice one it helps new web viewers, who are wishing for blogging. купить чеки на гостиницу в санкт петербурге
Howdy just wanted to give you a quick heads up and let you know a few of the images aren’t loading correctly. I’m not sure why but I think its a linking issue. I’ve tried it in two different browsers and both show the same results. live online casino
An impressive share! I have just forwarded this onto a friend who had been doing a little research on this. And he in fact bought me breakfast because I found it for him… lol. So let me reword this…. Thank YOU for the meal!! But yeah, thanx for spending the time to discuss this matter here on your web site. daachka.ru
This excellent website truly has all of the information I wanted about this subject and didn’t know who to ask. nadachee.ru
I’m impressed, I must say. Rarely do I encounter a blog that’s equally educative and entertaining, and let me tell you, you have hit the nail on the head. The issue is something not enough folks are speaking intelligently about. I am very happy that I found this in my search for something concerning this. fake residence docs
Spot on with this write-up, I absolutely feel this web site needs far more attention. I’ll probably be back again to read through more, thanks for the info! бисер купить минск
Good day! I could have sworn I’ve been to this site before but after browsing through some of the post I realized it’s new to me. Anyways, I’m definitely happy I found it and I’ll be bookmarking and checking back often! daachka.ru
What’s up mates, pleasant article and nice arguments commented here, I am really enjoying by these. yes-dacha.ru
I have been surfing online more than three hours today, yet I never found any interesting article like yours. It’s pretty worth enough for me. In my opinion, if all website owners and bloggers made good content as you did, the internet will be much more useful than ever before. rem-dom-stroy.ru
My spouse and I stumbled over here different page and thought I might check things out. I like what I see so now i’m following you. Look forward to going over your web page again. obshchestroy.ru
This design is spectacular! You certainly know how to keep a reader entertained. Between your wit and your videos, I was almost moved to start my own blog (well, almost…HaHa!) Fantastic job. I really enjoyed what you had to say, and more than that, how you presented it. Too cool! remont-master-info.ru
Your means of describing everything in this post is truly good, all can without difficulty know it, Thanks a lot. аренда офиса в минском районе
снять офис в минском районе к записи Как запустить QT Designer? : “ This information is invaluable. How can I find out more? снять офис в пригороде минска ” Июл 20, 00:36
аренда офиса в минском районе к записи Как снова стать топовым SMMщиком? : “ Quality posts is the secret to invite the viewers to go to see the website, that’s what this web site… ” Июл 20, 00:32
аренда офиса в минском районе к записи Главные изменения в CS:GO : “ Its like you read my mind! You seem to understand so much approximately this, like you wrote the book in… ” Июл 20, 00:31
аренда офиса минский район к записи Лампы для проекторов : “ Undeniably believe that that you stated. Your favourite justification appeared to be at the net the simplest thing to take… ” Июл 20, 00:30
снять офис в минском районе к записи Как покупать запчасти на дроме? : “ This is the right site for anyone who would like to find out about this topic. You realize so much… ” Июл 20, 00:20