Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't import XMLAConnection #14

Open
bilalahmed1324 opened this issue Feb 26, 2019 · 5 comments
Open

Can't import XMLAConnection #14

bilalahmed1324 opened this issue Feb 26, 2019 · 5 comments

Comments

@bilalahmed1324
Copy link

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
Copy link

Got this problem as well. =(

@agaleana
Copy link

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
Copy link

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
Copy link

aoulaa commented Jan 17, 2023

sad it seems it's no longer supported

@mohammad-dehghani1
Copy link

mohammad-dehghani1 commented Feb 24, 2024

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants