Accepted answer on StackOverflow on with a score of 6.
Can I require PyQt5 via setup.py? In a word yes, as long as you restrict your support to PyQt5 and Python3. The requirements specified in setup.py are typically provided by requesting packages from the Python Package Index (PyPi). Until recently these packages were source only, meaning that an ... More
Accepted answer on StackOverflow on with a score of 1.
The optional dependency output you see when installing matplotlib is generated by a set of environment-testers defined in setupext.py. There is a list of these, in the order they are displayed, in setup.py: mpl_packages = [ 'Building Matplotlib', setupext.Matplotlib(), setupext.Python(), setupext.Platform(), 'Required dependencies and extensions', setupext.Numpy ... More
Accepted answer on StackOverflow on with a score of 6.
Many numpy calculations are unaffected by the GIL, but not all. While in code that does not require the Python interpreter (e.g. C libraries) it is possible to specifically release the GIL - allowing other code that depends on the interpreter to continue running. In the Numpy C codebase the ... More
Accepted answer on StackOverflow on with a score of 3.
You can embed a Internet Explorer window within a Python GUI application by using the wxWidgets WebView component (via wxPython). Unlike e.g. Qt that includes a standardised browser component across all platforms, wxWidgets uses the native browser on the host platform by default. You can also force IE (ignoring ... More
The asterisk next to a cell [*] indicates that the cell is currently executing. While IPython provides each notebook with it’s own kernel, there is only one kernel per notebook. When that kernel is busy executing code (either a cell, or a series of cells) it cannot accept or run ... More
There is a bug reported for Pillow here, which indicates that libjpeg and zlib are now required as of Pillow 3.0.0. The installation instructions for Pillow on Linux give advice of how to install these packages. Note that not all of the following packages may be missing on ... More
Partial least squares discriminant analysis (PLS-DA) is an adaptation of PLS regression methods to the problem of supervised clustering. It has seen extensive use in the analysis of multivariate datasets, such as that derived from NMR-based metabolomics. In this method the groups within the samples are already known ... More