wavefrontshaping / ALP4lib

Python control module for Vialux DMDs based on ALP4.X API.
MIT License
58 stars 41 forks source link

Module not importing under Anaconda (Python 3.6.4) #4

Closed ruilvo closed 5 months ago

ruilvo commented 6 years ago

Hey!

I installed the module usingpip, 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 commented 6 years ago

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.

dboonz commented 5 years ago

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