You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from facturx import FacturX
inv = FacturX('some-file.pdf')
errors spectacularly in Python3 at least:
$ python3 test.py
Traceback (most recent call last):
File "test.py", line 1, in <module>
from facturx import FacturX
File "/home/testlab/.local/lib/python3.7/site-packages/facturx/__init__.py", line 3, in <module>
from .facturx import FacturX
ImportError: cannot import name 'FacturX' from 'facturx.facturx' (/home/testlab/.local/lib/python3.7/site-packages/facturx/facturx.py)
Okay, this happens to be a name-clash with the other factur-x package, because the package name changed but the module dir did not, and so they were co-installable but overwrote each other.
I think this should be changed.
nyov
changed the title
import fails
Has a namespace clash with other factur-x package
Dec 18, 2019
Trying the README example:
errors spectacularly in Python3 at least:
It does say Python3 is supported, right?
https://github.com/invoice-x/factur-x-ng/blob/master/setup.py#L21
The text was updated successfully, but these errors were encountered: