gerfolio.blogg.se

Install python 2.7 ubuntu 14.04
Install python 2.7 ubuntu 14.04









install python 2.7 ubuntu 14.04

Get the packages needed for compiling PyQt Python bindings to Qt

  • build PyQt and SIP from the origin vendor.
  • get the packages needed for compiling Python bindings to Qt.
  • However, such sanity testing shows that Pyinstaller binary from 13.04 does NOT work on 13.10, some of the system libraries in the package crash!īut in apparent contradiction, Pyinstaller recommends that you build on the oldest version of the operating system that you have ‘laying around.’ Thus Pyinstaller is not a magic bullet. Thus you would not need a clean build machine a binary from the dev machine should work, and a little sanity testing on other platforms would show that.

    install python 2.7 ubuntu 14.04

    You would think that a Pyinstaller binary would be more or less independent of libraries, since the binary packages almost all needed libraries. So this tutorial starts on a machine on which you just installed default Ubuntu 13.10. On a ‘development’ machine (hacked by a programmer), you might not be absolutely sure what versions of libraries are used. The reason for a build machineĪ build machine has a well-documented configuration. the overly flexible Linux packaging philosophy: ‘don’t distribute everything, and track dependencies.’įinally, you might need this recipe on Ubuntu 14.04 also.

    install python 2.7 ubuntu 14.04

  • different Linux distribution’s ‘standard’ file hierarchy.
  • In my opinion, it illustrates needless complexity surrounding: This is tedious, and you wait about an hour.
  • Another reason is you are using pyinstaller, which doesn’t support Python3 yet.
  • One reason you might want Python2.7 is that you are using PyQt because it is cross-platform, and you are waiting until Python 3 is blessed on all your platforms.
  • install python 2.7 ubuntu 14.04

    Many will just use ‘python3’ and the packages provided by Ubuntu. The audience is developers who for any reason want to stick with Python 2.7. (The package ‘python3-pyqt5’ installs with Python 3 packages, and won’t be found if you run ‘python’ instead of ‘python3’.) The problem is that Ubuntu 13.10 defaults the command ‘python’ to version 2.7.5, and Ubuntu repositories don’t provide a compatible PyQt5 package. This tells how to build PyQt5 for Python 2.7 on a newly installed Ubuntu 13.10.











    Install python 2.7 ubuntu 14.04