lukasturcani / stk

A Python library which allows construction and manipulation of complex molecules, as well as automatic molecular design and the creation of molecular databases.
https://stk.readthedocs.io/
MIT License
251 stars 47 forks source link

AttributeError: module 'stk' has no attribute 'small' #530

Closed wangyingyu1993 closed 2 months ago

wangyingyu1993 commented 2 months ago

An error occurs when running stk.ConstructedMolecule(stk.small.NCore(......)): AttributeError: module 'stk' has no attribute 'small'.

andrewtarzia commented 2 months ago

Hey @wangyingyu1993 , I am going to assume you are running an old stk on Python < 3.11. If you update Python and stk, you should have access to stk.small.NCore

wangyingyu1993 commented 2 months ago

Thank you very much. It is very helpful.