sigma-py / quadpy

:triangular_ruler: Numerical integration (quadrature, cubature) in Python
759 stars 81 forks source link

newest pip version not importable #477

Closed maciejskorski closed 1 year ago

maciejskorski commented 1 year ago

On a Linux Machine with Python==3.10 and recent pacakge manager pip==23.1.2 and recent quadpy==0.17.7 importing results in errors:

(.venv) @maciejskorski ➜ /workspaces/quadpy (main) $ python
Python 3.10.8 (main, Jun  7 2023, 23:51:49) [GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import quadpy

Error: Unable to find valid license for Sigma. 

Add a license with

    plm add <your-license-key>

Looks like a come-back of previously reported issues #464.

Here is the full virtual environment

(.venv) @maciejskorski ➜ /workspaces/quadpy (main) $ pip list show
Package                Version
---------------------- ------------
attrs                  23.1.0
cattrs                 23.1.2
certifi                2023.5.7
cffi                   1.15.1
charset-normalizer     3.1.0
contourpy              1.1.0
cplot                  0.9.3
cryptography           41.0.1
cycler                 0.11.0
exceptiongroup         1.1.1
fjson                  0.1.6
fonttools              4.40.0
idna                   3.4
kiwisolver             1.4.4
markdown-it-py         3.0.0
matplotlib             3.7.1
matplotx               0.3.10
mdurl                  0.1.2
mpmath                 1.3.0
ndim                   0.1.21
networkx               3.1
npx                    0.1.1
ntplib                 0.4.0
numpy                  1.25.0
orthopy                0.9.7
packaging              23.1
Pillow                 9.5.0
pip                    23.1.2
platformdirs           3.6.0
py-machineid           0.3.0
pycparser              2.21
Pygments               2.15.1
PyNaCl                 1.5.0
pyparsing              3.0.9
pypng                  0.20220715.0
python-dateutil        2.8.2
python-license-manager 0.2.6
quadpy                 0.17.7
requests               2.31.0
requests-cache         1.0.1
rich                   13.4.2
rich_argparse          1.1.1
scipy                  1.10.1
setuptools             63.2.0
six                    1.16.0
sympy                  1.12
tomli                  2.0.1
tomli_w                1.0.0
typing_extensions      4.6.3
url-normalize          1.4.3
urllib3                2.0.3
winregistry            1.1.1
x21                    0.4.12

I also provide the requirements file to reproduce.

nschloe commented 1 year ago

See here on how to acquire a license.