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

ImportError: cannot import name 'factorial' from 'scipy.misc' #119

Closed
oriolcolomefont opened this issue Jan 3, 2023 · 4 comments
Closed

Comments

@oriolcolomefont
Copy link

Hi there,
First, I'd like to thank @urinieto for such a fantastic tool.

When importing the package in either Google Colab or on my IDE (PyCharm), the error message "ImportError: cannot import name 'factorial' from 'scipy.misc.common' (/usr/local/lib/python3.8/dist-packages/scipy/misc/common.py)" pops up.

Captura de pantalla 2023-01-03 a les 17 37 18

As a side note, the message features: "NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
" However, all the conditions regarding scipy's installation seem to be satisfied.

Captura de pantalla 2023-01-03 a les 17 42 30

On top of that, that submodule doesn't seem to exist anymore.

Captura de pantalla 2023-01-03 a les 17 44 04

Could someone please let me know about this? Thanks!

@urinieto
Copy link
Owner

urinieto commented Jan 3, 2023

This was reported here: #113

Try with the latest version in main of this repo, it should be fixed there (see this line: https://github.com/urinieto/msaf/blob/master/msaf/pymf/vol.py#L19).

Thanks for reporting!

@oriolcolomefont
Copy link
Author

Thank YOU @urinieto

@urinieto urinieto closed this as completed Jan 3, 2023
@oriolcolomefont
Copy link
Author

@urinieto Even though I see the issue fixed here https://github.com/urinieto/msaf/blob/master/msaf/pymf/vol.py#L19 I am still struggling with the latest version in the main of this repo. I am not able to execute it. Am I missing something? Could you please shed some light on this? Thanks!

@urinieto
Copy link
Owner

You should be able to make it work using the latest version (master branch). Make sure you have uninstalled whatever version you installed from PyPi, and then install it from source.

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

No branches or pull requests

2 participants