Cannot import Person from partially initialized module.
lk-geimfari opened this issue · 2 comments
lk-geimfari commented
This error occurs when installing Mimesis manually from a wheel or archive.
Steps to reproduce this error:
- Create new virtual environment with
Python 3.12
- Download Poetry Core v1.9.0 and
mimesis v17
from pypi.org pip install poetry core
pip install mimesis
- Run environment in Pycharm and VS and get the same error.
lk-geimfari commented
Using relative imports instead of absolute ones should fix it. Therefore, it may be a good idea to use only relative import of local modules.
lk-geimfari commented
@acobb83 Just so you know, I'm not going to ignore this issue. I'll fix this problem as soon as I have a little more free time at my job. Thank you for bringing this to my attention.
P.S If you're interested in contributing, you can fix it on your own and send me a Pull Request.