[PyQt] Building PyQt5.Qsci when QScintilla is in a non-standard location

Phil Thompson phil at riverbankcomputing.com
Mon Jul 22 15:49:45 BST 2019


On 22/07/2019 15:04, bkw1a at virginia.edu wrote:
> Hi Phil,
> 
> phil at riverbankcomputing.com said:
>> The extension module is called Qsci.so or Qsci.pyd depending on your
>> platform.
> 
> 	Adding -a and -n causes PyQt5.api to be built, but nothing
> named Qsci.so or Qsci.pyd, either in the qscintilla directory or
> the pyqt5 directory.

If you haven't done a 'make install' then the location of the file is 
platform dependent.

> 	In any case, the software I'm ultimately trying to install
> (mcstas) refers to a python module named PyQt5.Qsci.  I see other
> references to this module around the web.  For example:
> 
> https://stackoverflow.com/questions/40573291/ubuntu-eric-no-module-pyqt5-qsci
> 
> Was this an earlier name for the module?

No. The name of a Python module is not the same as the name of the file 
that implements it.

Phil


More information about the PyQt mailing list