Results 1 to 4 of 4

Thread: ImportError: No module named qwt_thermo

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2015
    Posts
    2
    Qt products
    Qt3 Qt4 Qt5 PyQt3 PyQt4
    Platforms
    Unix/X11

    Default Re: ImportError: No module named qwt_thermo

    I installed : PyQwt-4.2.3 and when install Qwt library i put : CONFIG+=qwt on my qwt.pro file.
    and on my bashrc the line: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/Desktop/qwt/qwt-6.0.1/lib/


    Added after 6 minutes:


    qwt.pro file.

    ################################################## ##############
    # Qwt Widget Library
    # Copyright (C) 1997 Josef Wilgen
    # Copyright (C) 2002 Uwe Rathmann
    #
    # This library is free software; you can redistribute it and/or
    # modify it under the terms of the Qwt License, Version 1.0
    ################################################## ##############

    include( qwtconfig.pri )

    TEMPLATE = subdirs
    CONFIG += ordered
    CONFIG+=qwt
    SUBDIRS = \
    src \
    textengines

    contains(QWT_CONFIG, QwtDesigner ) {
    SUBDIRS += designer
    }

    contains(QWT_CONFIG, QwtExamples ) {
    SUBDIRS += examples
    }

    qwtspec.files = qwtconfig.pri qwt.prf
    qwtspec.path = $${QWT_INSTALL_FEATURES}

    INSTALLS += qwtspec

    INCLUDEPATH += /usr/include/qwt-qt4

    LIBS += -l qwt-qt4
    Last edited by asturnebur; 4th March 2015 at 08:23.

  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: ImportError: No module named qwt_thermo

    What does the Qwt pro file have to do with it?

    Exactly which version of Ubuntu? Exactly which packages? The chances seem good that the bindings you have for Python are linked against a particular Qwt 5 version (probably 5.2.1).

Similar Threads

  1. ImportError: Cannot import name
    By wanmonk in forum Qt Programming
    Replies: 4
    Last Post: 16th December 2013, 05:32
  2. Replies: 2
    Last Post: 16th June 2013, 05:57
  3. Named pipes in Qt
    By xenko in forum Qt Programming
    Replies: 3
    Last Post: 20th July 2012, 09:05
  4. Named Mutex in QT
    By doggrant in forum Qt Programming
    Replies: 1
    Last Post: 26th July 2011, 12:11

Tags for this Thread

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
  •  
Qt is a trademark of The Qt Company.