-
Notifications
You must be signed in to change notification settings - Fork 52
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
ImportError: cannot import name 'plot_fpca_perturbation_graphs' from 'skfda.exploratory.visualization' ; ImportError: cannot import name 'FPCA' from 'skfda.preprocessing.dim_reduction.projection' #247
Comments
I have released a new version (0.4) of scikit-fda in PyPI. Sorry for uploading versions with such low frequency! I will try to do it in a more regular fashion in the future. The default documentation page is that of the latest (develop) version. The master documentation is in the "stable" URL: https://fda.readthedocs.io/en/stable/. Again, sorry if that was confusing. Please, confirm that the currently released version works for you, in order to close this issue. |
Thank you for your quick response and release! I don't know why but I get import skfda
ModuleNotFoundError: No module named 'optimum_reparam' I have used pip install scikit-fda from inside my conda environment. The issue appears similar to '#196', but the fix in that case didn't work for me. I have cython 0.29.21 installed as part of the installation of scikit-fda. Any advice on how to proceed? Thanks. |
I tried to reproduce the error in a conda environment in Windows, but I could not. I tried to create a new conda environment and activate it:
The default installed packages where:
The installation was performed with no errors:
The packages after the installation where:
Please, try to check if any dependency or step were different in your case. In particular, I would like to know if there was any error during the |
Thank you for your effort. There are no errors when I do |
Describe the bug
When importing functions from 'skfda.exploratory.visualization', I get an import error:
ImportError: cannot import name 'plot_fpca_perturbation_graphs' from 'skfda.exploratory.visualization'
The same holds for FPCA in 'skfda.preprocessing.dim_reduction.projection' :
ImportError: cannot import name 'FPCA' from 'skfda.preprocessing.dim_reduction.projection'
I have downloaded the package with
and I was trying to follow the documentation for Functional Principal Component Analysis here (https://fda.readthedocs.io/en/latest/auto_examples/plot_fpca.html#sphx-glr-auto-examples-plot-fpca-py), but I get errors on the import statements
To Reproduce
Code to reproduce the behavior:
and
Expected behavior
I am expecting the import statements to work as in the documentation
Version information
Additional context
Are you planning on releasing the current version from the develop branch anytime soon? I have also tried to install the latest version of the package, but then I get the import error for skfda, even though I can see the package installed in anaconda3\envs\my_env\Lib\site-packages\skfda . Thank you!
The text was updated successfully, but these errors were encountered: