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

Error while importing util #36

Closed
SarthakSG opened this issue Jul 7, 2019 · 5 comments
Closed

Error while importing util #36

SarthakSG opened this issue Jul 7, 2019 · 5 comments

Comments

@SarthakSG
Copy link

SarthakSG commented Jul 7, 2019

I'm getting this error in most of the notebooks.
Stacktrace in Colab ->

ModuleNotFoundError Traceback (most recent call last)
in ()
14
15 # Import the necessary class-specific utility files for this lab
---> 16 import introtodeeplearning_labs as util

/content/introtodeeplearning_labs/init.py in ()
----> 1 from lab1 import *
2 from lab2 import *
3 # from lab3 import *
4
5

ModuleNotFoundError: No module named 'lab1'

@Choapinus
Copy link

Choapinus commented Jul 7, 2019

I changed
import introtodeeplearning_labs as util

with
import util
and it works fine :)

Ps: the file is for python 2.x, put the parentheses in the prints (lines 10, 31, 38) only if you are using python 3.x

@PacificG
Copy link

Now it says no module named util. Can you please tell us why is this happening?

@PGhai
Copy link

PGhai commented Aug 30, 2019

Install regex using pip command, it will solve the error.

!pip install regex

@swag94
Copy link

swag94 commented Sep 8, 2019

Install regex using pip command, it will solve the error.

!pip install regex

This is also not working. Now i am getting error in init.py showing that ModuleNotFoundError: No module named 'lab1' while importing lab1.

@aamini
Copy link
Owner

aamini commented Jan 27, 2020

Thanks for raising these errors, please checkout the new version of the repo. This error should be fixed now with the inclusion of our new mitdeeplearning package.

@aamini aamini closed this as completed Jan 27, 2020
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

6 participants