Closed mattesko closed 5 years ago
Sounds like a path/install location problem. Are you using a virtualenv? I don't use conda so I'm not sure if that's a factor in the install.
You could try a python setup.py develop and see if the same behavior persists. Which version of python are you using?
On Fri, Jul 5, 2019, 8:17 AM Matthew notifications@github.com wrote:
I've installed the module's requirements with conda install --file requirements.txt and have run the setup with python setup.py install without any issues (apart from the deprecation warnings I see when I run the setup)
However, when I attempt to import the module, I get the following error: Traceback (most recent call last): File "", line 1, in File "/home/leskokm/fastxml/fastxml/init.py", line 1, in from .fastxml import Inferencer File "/home/leskokm/fastxml/fastxml/fastxml.py", line 9, in from .inferencer import IForest, LeafComputer, Blender, IForestBlender ModuleNotFoundError: No module named 'fastxml.inferencer'
Could there be an issue with the setup.py?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Refefer/fastxml/issues/22?email_source=notifications&email_token=AALUUFJ5KEV5E3L436PYOSTP55QZTA5CNFSM4H6MFY4KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G5SRBKQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AALUUFKVF3VRHPVSU5MFWMDP55QZTANCNFSM4H6MFY4A .
Thanks for getting back to me on this! I'm using:
I'll try out python setup.py develop
I ran python setup.py develop and the issue is gone! I believe this issue can be marked as resolved. Thank you!
I've installed the module's requirements with
conda install --file requirements.txt
and have run the setup withpython setup.py install
without any issues (apart from the deprecation warnings I see when I run the setup)However, when I attempt to import the module, I get the following error: Traceback (most recent call last): File "\<string>", line 1, in \<module> File "/home/leskokm/fastxml/fastxml/__init__.py", line 1, in \<module> from .fastxml import Inferencer File "/home/leskokm/fastxml/fastxml/fastxml.py", line 9, in \<module> from .inferencer import IForest, LeafComputer, Blender, IForestBlender ModuleNotFoundError: No module named 'fastxml.inferencer'
Could there be an issue with the setup.py?