There was a similar issue at the link below
Would using ghpythonlib components in Python 3 editor be possible someday?
ghpythonlib