Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install error in python3.10.2 #433

Closed
valcarcexyz opened this issue Mar 14, 2022 · 1 comment
Closed

Install error in python3.10.2 #433

valcarcexyz opened this issue Mar 14, 2022 · 1 comment
Labels

Comments

@valcarcexyz
Copy link

Describe the bug
Unable to install in Python3.10, neither 3.9 or 3.8 (from both pip and source).

To Reproduce
pip install scikit-fda

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/valcarce/.local/lib/python3.10/site-packages/skfda/__init__.py", line 37, in <module>
    from . import representation, datasets, preprocessing, exploratory, misc, ml, \
  File "/home/valcarce/.local/lib/python3.10/site-packages/skfda/preprocessing/__init__.py", line 1, in <module>
    from . import registration
  File "/home/valcarce/.local/lib/python3.10/site-packages/skfda/preprocessing/registration/__init__.py", line 9, in <module>
    from ._fisher_rao import ElasticRegistration, FisherRaoElasticRegistration
  File "/home/valcarce/.local/lib/python3.10/site-packages/skfda/preprocessing/registration/_fisher_rao.py", line 16, in <module>
    from ...exploratory.stats import fisher_rao_karcher_mean
  File "/home/valcarce/.local/lib/python3.10/site-packages/skfda/exploratory/__init__.py", line 2, in <module>
    from . import outliers
  File "/home/valcarce/.local/lib/python3.10/site-packages/skfda/exploratory/outliers/__init__.py", line 6, in <module>
    from ._outliergram import OutliergramOutlierDetector
  File "/home/valcarce/.local/lib/python3.10/site-packages/skfda/exploratory/outliers/_outliergram.py", line 8, in <module>
    from ..stats import modified_epigraph_index
  File "/home/valcarce/.local/lib/python3.10/site-packages/skfda/exploratory/stats/__init__.py", line 1, in <module>
    from ._fisher_rao import _fisher_rao_warping_mean, fisher_rao_karcher_mean
  File "/home/valcarce/.local/lib/python3.10/site-packages/skfda/exploratory/stats/_fisher_rao.py", line 7, in <module>
    from fdasrsf.utility_functions import optimum_reparam
  File "/home/valcarce/.local/lib/python3.10/site-packages/fdasrsf/__init__.py", line 24, in <module>
    from .time_warping import fdawarp, align_fPCA, align_fPLS, pairwise_align_bayes, pairwise_align_functions
  File "/home/valcarce/.local/lib/python3.10/site-packages/fdasrsf/time_warping.py", line 9, in <module>
    import fdasrsf.utility_functions as uf
  File "/home/valcarce/.local/lib/python3.10/site-packages/fdasrsf/utility_functions.py", line 21, in <module>
    import optimum_reparamN2 as orN2
  File "src/optimum_reparamN2.pyx", line 1, in init optimum_reparamN2
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

Version information

  • OS: Arch Linux
  • Python version: 3.8-3.10
  • scikit-fda version: 0.7.1
  • numpy version 1.21.5
@vnmabus
Copy link
Member

vnmabus commented Mar 14, 2022

This is a problem of the fdasrsf package, which is being discussed in jdtuck/fdasrsf_python#20. Please try the workarounds in that issue to see if they work for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants