Closed eidoom closed 2 years ago
Thanks for the bug report.
The issue here is a name conflict between your script latextools.py
and the module latextools
, not an issue with the package. When you write import latextools
Python checks your current directory for .py
files before checking for installed packages. This causes a circular import where your script imports itself, similar to this one.
Fix: rename your script to something other than latextools.py
.
Thank you for the very clear explanation!
OS: Fedora 35 Python: 3.10
Attempting to run the first example yields