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

new nemo requires ipython #233

Closed
wants to merge 1 commit into from
Closed

Conversation

SIlver--
Copy link

@SIlver-- SIlver-- commented Oct 4, 2024

You'll get module not ipython not found if you try to use the 2.0 nemo version

@MahmoudAshraf97
Copy link
Owner

Hello qnd thanks for the contribution, is there anyway to reproduce the error? Ipython shouldn't be needed anywhere, and if needed it should be included with nemo, not here

@SIlver--
Copy link
Author

SIlver-- commented Oct 4, 2024

Maybe this has something unique with my local, I'm using the library within a docker (note line numbers won't match exactly because of extra print statements I've added)

  File "/app/uploads-temp/../whisper-diarization/diarize.py", line 19, in <module>
    from nemo.collections.asr.models.msdd_models import NeuralDiarizer
  File "/usr/local/lib/python3.10/site-packages/nemo/collections/asr/__init__.py", line 15, in <module>
    from nemo.collections.asr import data, losses, models, modules
  File "/usr/local/lib/python3.10/site-packages/nemo/collections/asr/models/__init__.py", line 22, in <module>
    from nemo.collections.asr.models.clustering_diarizer import ClusteringDiarizer
  File "/usr/local/lib/python3.10/site-packages/nemo/collections/asr/models/clustering_diarizer.py", line 43, in <module>
    from nemo.collections.asr.parts.utils.vad_utils import (
  File "/usr/local/lib/python3.10/site-packages/nemo/collections/asr/parts/utils/vad_utils.py", line 26, in <module>
    import IPython.display as ipd
ModuleNotFoundError: No module named 'IPython'

@SIlver--
Copy link
Author

SIlver-- commented Oct 4, 2024

I can't replicate this on the Jupyter Notebook but it looks like that's because IPython is already installed before trying to install nemo>=2.dev. It's probably a requirement of the libraries for google colab to work

@SIlver--
Copy link
Author

SIlver-- commented Oct 4, 2024

Looks like something that it will be fixed on released for nemo 2.0

NVIDIA/NeMo#9890

@SIlver-- SIlver-- closed this Oct 4, 2024
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

Successfully merging this pull request may close these issues.

2 participants