Hello.
First want to say what an incredible resource this forum is for users new to Eviews and we appreciate all the work that is put into replying to all the posts.
My company has recently begun using Databricks in the Azure environment. I was able to run and use pyeviews locally and it worked perfectly for my needs. However, when I try to import pyeviews in Databricks, I am getting a COM-related error. I am unsure of how to solve this and was hoping that somebody would have some insight :)
I am able to install the library using pip. When I run "import pyeviews as evp", I get the following error:
ImportError: cannot import name 'COMError' from '_ctypes' (/usr/lib/python3.8/lib-dynload/_ctypes.cpython-38-x86_64-linux-gnu.so)
Some online searching leads me to believe this is linked to the script only being made for Windows. I am unsure of how to approach solving this.
Thank you in advance
Setting up pyeviews in Databricks environment
Moderators: EViews Gareth, EViews Moderator
-
- Posts: 3
- Joined: Fri Oct 14, 2022 3:31 pm
-
- EViews Developer
- Posts: 749
- Joined: Tue Sep 16, 2008 3:00 pm
- Location: Irvine, CA
Re: Setting up pyeviews in Databricks environment
pyeviews only works on Windows machines as it relies on COM automation to talk to EViews, which itself is a mostly a Windows only program. Our Mac version of EViews (Student Version and University Edition) don't support COM automation, so pyeviews can't talk to it.
-
- Posts: 3
- Joined: Fri Oct 14, 2022 3:31 pm
Re: Setting up pyeviews in Databricks environment
Thanks Steve. Much appreciated.
Return to “Any Other Business”
Who is online
Users browsing this forum: No registered users and 1 guest