blent-ai / ALEPython

Python Accumulated Local Effects package
Apache License 2.0
158 stars 42 forks source link

installation fail #1

Open newman1234 opened 5 years ago

newman1234 commented 5 years ago

C:\Users\newmanchiang>pip install alepython Collecting alepython Could not find a version that satisfies the requirement alepython (from versions: ) No matching distribution found for alepython

Is this project still maintained?

Thanks

MaximeJumelle commented 5 years ago

Hello,

Currently, the package is not available on PyPI as I think there are still a little work needed. It is still under development (but I have others priorities at the moment). You can however install it from sources (pip install git+https://github.com/blent-ai/ALEPython).

mattharrison commented 5 years ago

Installing from sources fails as well.


$ pip install git+https://github.com/blent-ai/ALEPython
Collecting git+https://github.com/blent-ai/ALEPython
  Cloning https://github.com/blent-ai/ALEPython to /private/var/folders/n4/k0dsdvqd7rs5gb90cpvb7ggw0000gn/T/pip-req-build-3yb3tu3j
  Running command git clone -q https://github.com/blent-ai/ALEPython /private/var/folders/n4/k0dsdvqd7rs5gb90cpvb7ggw0000gn/T/pip-req-build-3yb3tu3j
... snip sip
Building wheels for collected packages: alepython
  Building wheel for alepython (setup.py) ... done
  Stored in directory: /private/var/folders/n4/k0dsdvqd7rs5gb90cpvb7ggw0000gn/T/pip-ephem-wheel-cache-ca2jptjl/wheels/20/d8/f6/b16b4c5eb43f876240f3100d39c560cf74e4b3a611657f269d
Successfully built alepython
Installing collected packages: alepython
Successfully installed alepython-0.1.0
>>> import alepython
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'alepython'
MaximeJumelle commented 5 years ago

Hi, as I still not have updated the package, you should install ALEPython using Git clone as in the following commands :

https://github.com/blent-ai/ALEPython && cd ALEPython && pip install -r requirements.txt && python setup.py install

I just checked it and this is (at the moment) the only workaround to install ALEPython from sources. I plan to release a stable version until the end of the year.

mattharrison commented 5 years ago

This only works if you are in the same directory as the checkout.

You need to add a __init__.py file to your package.

akuhnregnier commented 4 years ago

I think this should be fixed by #7.