0

I am getting the following Error on the Python(2.7.5) Interpreter in Mac.

>>> reload(recommendations)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'recommendations' is not defined

Any help would be greatly appreciated.

0

1 Answer 1

1

You need a reference to an existing module object to be able to reload anything. You don't have a recommendations module there.

If recommendations is a module to reload, import it first:

import recommendations
reload(recommendations)
Sign up to request clarification or add additional context in comments.

1 Comment

@AshwinPai your question is too thin on information to help you any further. Define 'not working', and try to tell is what problem you are trying to solve here. Do so in your question; you can edit it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.