abilian / olapy

OlaPy, an experimental OLAP engine based on Pandas
GNU Lesser General Public License v2.1
103 stars 19 forks source link

Cannot run olapy init #16

Closed WiirinAnn closed 5 years ago

WiirinAnn commented 5 years ago

It appears

Traceback (most recent call last): File "C:\ProgramData\Anaconda3\Scripts\olapy-script.py", line 11, in load_entry_point('olapy==0.7.5', 'console_scripts', 'olapy')() File "C:\ProgramData\Anaconda3\lib\site-packages\pkg_resources__init.py", line 487, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "C:\ProgramData\Anaconda3\lib\site-packages\pkg_resources__init.py", line 2728, in load_entry_point return ep.load() File "C:\ProgramData\Anaconda3\lib\site-packages\pkg_resources__init__.py", line 2346, in load return self.resolve() File "C:\ProgramData\Anaconda3\lib\site-packages\pkg_resources\init.py", line 2352, in resolve module = import__(self.module_name, fromlist=['name'], level=0) File "c:\programdata\anaconda3\lib\site-packages\olapy-0.7.5-py3.7.egg\olapy__main.py", line 7, in from .core.services.xmla import runserver File "c:\programdata\anaconda3\lib\site-packages\olapy-0.7.5-py3.7.egg\olapy\core\services\xmla.py", line 27, in from .xmla_lib import XmlaProviderLib File "c:\programdata\anaconda3\lib\site-packages\olapy-0.7.5-py3.7.egg\olapy\core\services\xmla_lib.py", line 6, in import pandas as pd File "c:\programdata\anaconda3\lib\site-packages\pandas\init.py", line 23, in from pandas.compat.numpy import * File "c:\programdata\anaconda3\lib\site-packages\pandas\compat\init__.py", line 430, in import typing File "c:\programdata\anaconda3\lib\site-packages\typing.py", line 1356, in class Callable(extra=collections_abc.Callable, metaclass=CallableMeta): File "c:\programdata\anaconda3\lib\site-packages\typing.py", line 1004, in new__ self._abc_registry = extra._abc_registry AttributeError: type object 'Callable' has no attribute '_abc_registry'

Note: I'm using python 3.7.1 << Is this python version compatible?

mouadhkaabachi commented 5 years ago

Hi WiirinAnn, did you install olapy from pypi or github? If it's from pypi, can you try to install it from github repo ? 1) git clone git://github.com/abilian/olapy.git 2) cd olapy 3) python setup.py install 4) olapy init and tell me if you have the same problem or not (I think the problem is related to olapy dependencies that are not up to date in pypi version, (we will make a new release for that))

WiirinAnn commented 5 years ago

Thanks for your promp reply.

I have installed it using git clone and it appeared that error message. By the way, I’ve uninstalled python3 from my computer and have tried out with this package with python 2.7.15, it’s working fine now.

Cheers,

On Fri, 15 Mar 2562 at 16:43 Mouadh Kaabachi notifications@github.com wrote:

Hi WiirinAnn, did you install olapy from pypi or github? If it's from pypi, can you try to install it from github repo ?

  1. git clone git://github.com/abilian/olapy.git
  2. cd olapy
  3. python setup.py install
  4. olapy init and tell me if you have the same problem or not (I think the problem is related to olapy dependencies that are not up to date in pypi version, (we will make a new release for that))

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/abilian/olapy/issues/16#issuecomment-473221069, or mute the thread https://github.com/notifications/unsubscribe-auth/AVg5aYJoaJqKBjH9uJC3yD-EoQE3mtJ1ks5vW2slgaJpZM4b12-h .