Discussion:
[python-win32] Build 219, adodbapi: no module apibase
Irwin, Edward
2014-09-09 19:11:34 UTC
Permalink
Vernon,

Any update on a new compiled version of pywin that includes all the adodbapi components?

If not, how should I go about making my system work? I want to document the exact steps so our sys admin can replicate on other systems that are running PyWin. So far I have identified that apibase.py and process_connect_string.py are missing. I first tried to run adodbapi-2.6.0.7\setup.py to repair it, but that did not resolve my issues. Next, I manually copied the files to site-packages\adodbapi and everything seemed to work. How should I be patching my site-package of adodbapi? Is there another option?

Sys.version '2.7.5 (default, May 15 2013, 22:43:36) [MSC v.1500 32 bit (Intel)]'


Thanks

Ed
Vernon D. Cole
2014-09-10 16:52:14 UTC
Permalink
Dear Edward:

I feel your pain. The whole idea of including adodbapi as part of
pywin32 was to eliminate having to download and install it as a separate
product. Having it broken in this release sadly means a trip back in time
to the bad old days. Here are the steps I took to attempt to reproduce
your problem:
1) create an new Windaws 8.1 virtual machine on Azure
2) install Python 2.7.8 32 bit from python.org using msi.
3) instal pywin32 v 219 for 32 bit Python 2.7 from
http://sourceforge.net/projects/pywin32
4) put a "python" command on the search path using the method of my choice
5) download adodbapi from http://sourceforge.net/projects/adodbapi
6) unzip adodbapi
7) running *as an administrator*,in the unzipped directory, "python
setup.py install"

C:\Users\vernon>c:\python27\python.exe
Python 2.7.8 (default, Jun 30 2014, 16:03:49) [MSC v.1500 32 bit (Intel)]
on win
32
Type "help", "copyright", "credits" or "license" for more information.
import adodbapi
adodbapi.version
'adodbapi v2.6.0.6'
exit()
And that should do it.
Vernon,
Any update on a new compiled version of pywin that includes all the adodbapi components?
If not, how should I go about making my system work? I want to document
the exact steps so our sys admin can replicate on other systems that are
running PyWin. So far I have identified that apibase.py and
process_connect_string.py are missing. I first tried to run
adodbapi-2.6.0.7\setup.py to repair it, but that did not resolve my
issues. Next, I manually copied the files to site-packages\adodbapi and
everything seemed to work. How should I be patching my site-package of
adodbapi? Is there another option?
Sys.version '2.7.5 (default, May 15 2013, 22:43:36) [MSC v.1500 32 bit (Intel)]'
Thanks
Ed
_______________________________________________
python-win32 mailing list
https://mail.python.org/mailman/listinfo/python-win32
Irwin, Edward
2014-09-10 20:10:18 UTC
Permalink
Vernon,

I tested and it worked like a charm. Thank you for helping me dispatch that headache so quickly.

Ed

From: Vernon D. Cole [mailto:***@gmail.com]
Sent: Wednesday, September 10, 2014 12:52 PM
To: Irwin, Edward
Cc: python-***@python.org
Subject: Re: [python-win32] Build 219, adodbapi: no module apibase

Dear Edward:
I feel your pain. The whole idea of including adodbapi as part of pywin32 was to eliminate having to download and install it as a separate product. Having it broken in this release sadly means a trip back in time to the bad old days. Here are the steps I took to attempt to reproduce your problem:
1) create an new Windaws 8.1 virtual machine on Azure
2) install Python 2.7.8 32 bit from python.org<http://python.org> using msi.
3) instal pywin32 v 219 for 32 bit Python 2.7 from http://sourceforge.net/projects/pywin32
4) put a "python" command on the search path using the method of my choice
5) download adodbapi from http://sourceforge.net/projects/adodbapi
6) unzip adodbapi
7) running as an administrator,in the unzipped directory, "python setup.py install"
C:\Users\vernon>c:\python27\python.exe
Python 2.7.8 (default, Jun 30 2014, 16:03:49) [MSC v.1500 32 bit (Intel)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
import adodbapi
adodbapi.version
'adodbapi v2.6.0.6'
exit()
And that should do it.


On Tue, Sep 9, 2014 at 7:11 PM, Irwin, Edward <***@loudoun.gov<mailto:***@loudoun.gov>> wrote:
Vernon,

Any update on a new compiled version of pywin that includes all the adodbapi components?

If not, how should I go about making my system work? I want to document the exact steps so our sys admin can replicate on other systems that are running PyWin. So far I have identified that apibase.py and process_connect_string.py are missing. I first tried to run adodbapi-2.6.0.7\setup.py to repair it, but that did not resolve my issues. Next, I manually copied the files to site-packages\adodbapi and everything seemed to work. How should I be patching my site-package of adodbapi? Is there another option?

Sys.version '2.7.5 (default, May 15 2013, 22:43:36) [MSC v.1500 32 bit (Intel)]'


Thanks

Ed

_______________________________________________
python-win32 mailing list
python-***@python.org<mailto:python-***@python.org>
https://mail.python.org/mailman/listinfo/python-win32

Loading...