ModuleNotFoundError: No module named 'gin'

Question:

When I am trying to do
“import gin.tf”
I am getting this error ModuleNotFoundError: No module named ‘gin’.
What should I do to resolve this? I updated tensorflow recently so I don’t think its a problem with the version.

Asked By: Madhuparna Bhowmik

||

Answers:

I found the solution here.

Just use:

pip install gin-config==0.1.1
Answered By: Madhuparna Bhowmik

Just do the following

pip install gin-config
Answered By: Ashiq Imran
Categories: questions Tags: , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.