pycharm: "import fdb" doesn't work after correctly installing fdb

Answered

I've installed the FIrebird Database driver package for python with the command: pip install fdb. Installation process was completed successfully, version 1.8. After doing that, in PyCharm, the "import fdb" clause fails (it says "No module named fdb"). I'm following the quite simple instructions that I've found here: https://firebirdsql.org/file/documentation/drivers_documentation/python/fdb/getting-started.html.

I'm wondering if I need to activate the module in pycharm after installation? Is there something I've done wrong?

Thanks for any help.

0
3 comments
Avatar
Permanently deleted user

I have the same problem. Did you solve the problem?

0

Hi, make sure fdb is listed in Settings | Project ... | Project Interpreter. Most likely you installed the package on a different interpreter. To make sure - try to execute the script with import fdb in PyCharm ignoring the unresolved inspection. Does it fail in runtime?

0
Avatar
Permanently deleted user

Hi, Yes, It was a problem. Thank you very much

0

Please sign in to leave a comment.