Error adding "import letutuce" to PyCharm
I have a problem with Python and lettuce
.
I have already installed pip
and lettuce
in Python 2.7, and I'm trying to create a file .features
, and .py
for those steps. The problem is that when I put in a line from lettuce import *
, I have an error that says:
"Unresolved help lettuce ..." followed by: "this check detects names that should be resolved but not. Due to dynamic dispatch and duck printing, this is possible in a limited but useful number of cases. And class-level elements are better supported than instance elements ".
I really don't know how to fix this problem. Can anyone please help me?
source to share
I just found a problem. What I did, just in case someone else has the same problem:
In my PyCharm project:
- press Ctrl + Alt + s to open preferences.
- in the left column, select "Project Translator"
- in the upper right corner is a list of python binaries found on your system, select the correct one
- eventually click the + button to install additional python modules.
- Validate
Just in case you cannot add another module (which is what happened to me), you can change the project interpreter.
Hope it works!
source to share