Gurobipy installed but not able to import in PyCharm
Completed
Hi Everyone,
I recently started using PyCharm for learning purposes. I have been struggling for a few days. I am trying to import 'gurobipy' however, getting an import error (Image attached). I tried reinstalling the gurobipy but didn't help.
Can anyone please help me here.
Thanks a ton.
VG
Please sign in to leave a comment.
Hi,
Could you run where python in the terminal and check if it shows the same python executable as the one you see in File | Settings | Project | Python Interpreter?

Have you tried using quick-fix for installing a missing package (use Alt+Enter shortcut)?
Thanks, Sergey Karpov. I had some great mess up related to the system variables and between anaconda distribution. I uninstalled all the multiple distributions/python versions and reinstalled them. It worked. Thanks a ton :).