QuantLib on Python in PyCharm on Mac
Posted by Jeff C on May 24, 2017; 1:23am
URL: http://quantlib.414.s1.nabble.com/QuantLib-on-Python-in-PyCharm-on-Mac-tp18304.html
Hi,
When I initially "import QuantLib as ql" I don't get an error and PyCharm even gives me the short cut to type QuantLib. But after a second PyCharm gives me this error:
Unused import statement.
This inspection detects names that should resolve but don't. Due to dynamic dispatch and duck typing, this is possible in a limited but useful number of cases. Top-level and class-level items are supported better than instance items.
The download and installation guide mentions something about "disabling shared" if you only want to use Python, but I want to also have access to QuantLib in C++. Does anyone know what this means and how to fix it?
Thanks!