may-day / olap

Python package to access OLAP data sources.
63 stars 47 forks source link

Can't import XMLAConnection #14

Open bilalahmed1324 opened 5 years ago

bilalahmed1324 commented 5 years ago

I am trying to import olap but i am getting this error:

Cannot improt name 'XMLAConnection'. Does anybody have a clue?

Thanks for your help.

Whisperes commented 5 years ago

Got this problem as well. =(

agaleana commented 4 years ago

Me, too. Has this been resolved?


ImportError Traceback (most recent call last)

in ----> 1 import olap.xmla.xmla as xmla ~\Anaconda3\lib\site-packages\olap\xmla\xmla.py in 1 import zope.interface ----> 2 from connection import XMLAConnection 3 import olap.xmla.interfaces as oxi 4 import olap.interfaces as ooi 5 ImportError: cannot import name 'XMLAConnection' from 'connection' (C:\Anaconda3\lib\site-packages\connection\__init__.py)
sunilmadi commented 4 years ago

hello all,

Even i received the error -- importError: cannot import name 'XMLAConnection' from 'connection' when trying to import xmla from python.

Any resolution for this. Greatly appreciate your help

aoulaa commented 1 year ago

sad it seems it's no longer supported

mohammad-dehghani1 commented 9 months ago

@bilalahmed1324 Hello all After installing xmla with pip, I was facing the same error as yours But after cloning this library from Git, my problem was solved

# create virtualenv 
python3 -m venv xyz
cd xyz
source bin/activate
git clone https://github.com/may-day/olap
cd olap/xmla
# optional if you have it already
pip install pipenv
pipenv install -dev
python setup.py develop
# now you should be good to go