- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm new here, and I'm trying to do this AI training "Welcome to the Magic of Words! - Text-to-Image with Stable Diffusion" (you find it in the attachment) which is available on training section. This training uses Jupyter notebook.
When I run the cell's code to install the requirements, using pip, I got this error :
ModuleNotFoundError: No module named 'intel_extension_for_pytorch'
or
ModuleNotFoundError: No module named 'torch'
There is no error thrown during pip installation, and when rerunning the installation again I got this (which is normal, since it has been already installed)
Requirement already satisfied
I noticed that, on the notebook, even if I install requirements with pip it's like that it's not taken in consideration, resulting to always throw
ModuleNotFoundError: No module named 'requirement_name'
Since I can't install these requirements, I'm stuck at the start of training
Any idea how to make this works ?
Thanks in advance
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mohammed,
Your problem is not IPEX specific but a jupyter notebook env setting issue. I found the issue seems similar with a stackoverflow thread: https://stackoverflow.com/questions/58882055/python-doesnt-see-packages-with-jupyter-notebook?rq=3 . Would you try the solutions provided here and see if they work?
Regards,
Zaili
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mohammed,
Your problem is not IPEX specific but a jupyter notebook env setting issue. I found the issue seems similar with a stackoverflow thread: https://stackoverflow.com/questions/58882055/python-doesnt-see-packages-with-jupyter-notebook?rq=3 . Would you try the solutions provided here and see if they work?
Regards,
Zaili
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Zaili,
Thank you for your reply
And Yeah it worked using
import sys
!{sys.executable} -m pip install your_package_name
Thanks for your help ^^

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page