sigma-py / pacopy

:triangular_ruler: Numerical parameter continuation in Python.
39 stars 9 forks source link

Problems with installation #33

Open arampatzis opened 5 days ago

arampatzis commented 5 days ago

Installation with pip gives the warnings

Warning: Validation of the RECORD file of pacopy-0.2.8-py3-none-any.whl failed. Please report to the maintainers of that package so they can fix their build process. Details:
In /Users/xxx/Library/Caches/pypoetry/artifacts/15/7b/2a/8a8545f0075bf208b8686a2b19ae50a41fbd1677dd15c128c5493a434a/pacopy-0.2.8-py3-none-any.whl, pacopy/_agg/__init__.py is not mentioned in RECORD
In /Users/xxx/Library/Caches/pypoetry/artifacts/15/7b/2a/8a8545f0075bf208b8686a2b19ae50a41fbd1677dd15c128c5493a434a/pacopy-0.2.8-py3-none-any.whl, pacopy/_agg/__init__.dat is not mentioned in RECORD

Loading the package gives the error

test_pacopy.py 4 <module>
import pacopy

__init__.py 1 <module>
from ._agg import _WNt5F as branch_switching, _dbCDr as JacobianSolverError, _5PqJm as euler_newton, _65l6j as natural

__init__.py 2 <module>
x21.dex_24a(__file__)

<string> 243 <module>

<string> 3 wrapper

<string> 14 __load__

ModuleNotFoundError:
No module named 'stonefish_license_manager'
nschloe commented 5 days ago

Whoops, seems we're missing a dependency. Could you install it manually for now?

pip install stonefish-license-manager
arampatzis commented 5 days ago

Thank you @nschloe. Installing stonefish-license-manager with poetry gives me the error:

Because no versions of stonefish-license-manager match >0.4.37,<0.5.0
 and stonefish-license-manager (0.4.37) depends on x21 (>=0.5.3), stonefish-license-manager (>=0.4.37,<0.5.0) requires x21 (>=0.5.3).
And because pacopy (0.2.8) depends on x21 (>=0.4.32,<0.5.0)
 and no versions of pacopy match >0.2.8,<0.3.0, stonefish-license-manager (>=0.4.37,<0.5.0) is incompatible with pacopy (>=0.2.8,<0.3.0).
So, because lab depends on both pacopy (^0.2.8) and stonefish-license-manager (^0.4.37), version solving failed.