Results 1 to 2 of 2

Thread: Lose files if download PyQt4 for python 3.6 and uninstall PyQt4 for python 3.4

  1. #1
    Join Date
    Jan 2017
    Posts
    54
    Thanks
    8
    Qt products
    Qt4
    Platforms
    Windows

    Default Lose files if download PyQt4 for python 3.6 and uninstall PyQt4 for python 3.4

    I had a beta version of python 3.6 (I think) when I downloaded PyQt4, it gave me PyQt4 for python 3.4. I have since uninstalled the beta version of python and installed the newest version of python 3.6, and now when I click 'view code' for a GUI in PyQt4, it says cannot "launch python34/Lib/site-packages/PyQt4\uic".

    1. To fix, do I uninstall PyQT4 and install another version of PyQt4(I assume it will know which version to install for python 3.6 (?)), or is that not the issue? Do I need to tell PyQT4 to look somewhere else?

    2. If the answer is to uninstall and re install PyQt4, will I lose the GUIs I had previously developed (making me start again)? Or, is there a better/easier way to get PyQt4 for python 3.6?

    By the way, I am very new to this stuff.

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Lose files if download PyQt4 for python 3.6 and uninstall PyQt4 for python 3.4

    We do not know where you got the versions of PyQt4 you have now, so it is difficult to tell you what you should expect. We can only assume that you are on Windows. (There are no Windows binaries of PyQt4 available in the place I would expect)

    When building PyQt4 from source you need to configure using the version of Python you intend to use.

    Your PyQt4 using programs should be py source file(s) and perhaps ui and other files. These should not be in the Python or PyQt4 directories but in a local working folder. If that is the case then uninstalling either/both Python and PyQt should not have an effect on your sources.

Similar Threads

  1. PyQt4 GUI to python code Help
    By dan_cuspi in forum Newbie
    Replies: 0
    Last Post: 26th November 2015, 19:47
  2. Embedding PyQt4 into an Application running Python via Boost::Python
    By GreyHound in forum Installation and Deployment
    Replies: 1
    Last Post: 6th February 2012, 07:48
  3. PyQt4 app : high CPU usage from python and Xorg
    By tipote in forum Qt Programming
    Replies: 3
    Last Post: 30th January 2012, 18:50
  4. PyQt4: Create simple GUI for python program
    By Norchina in forum Newbie
    Replies: 0
    Last Post: 11th June 2010, 15:50
  5. Replies: 1
    Last Post: 16th February 2010, 00:20

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.