ALP4lib icon indicating copy to clipboard operation
ALP4lib copied to clipboard

Module not importing under Anaconda (Python 3.6.4)

Open ruilvo opened this issue 7 years ago • 2 comments

Hey!

I installed the module using pip, using easy_install and using python setup.py install and regardless of what I do I always get:

In [1]: import ALP4
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-1-300cfabdcbaf> in <module>()
----> 1 import ALP4

ModuleNotFoundError: No module named 'ALP4'

pip says: Requirement already satisfied: ALP4lib in c:\anaconda3\lib\site-packages

But the error persists regardless...

Thank you by all your work!

ruilvo avatar Apr 26 '18 14:04 ruilvo

Usable using the ALP4.py file as "file module". I put the ALP4.py file alongside my main file and I could import it and use it. Other bugs found.

ruilvo avatar Apr 26 '18 14:04 ruilvo

I fixed this in my version, you have to add package_dir={'': 'src'}, to setup.py arguments.

I submitted a pull request so will probably be fixed soon :). cheers! Dirk

dboonz avatar Nov 11 '19 14:11 dboonz