473,407 Members | 2,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Python Oracle Interface

cpiyush
31
Hello,

When I am trying to install any MySQLDB or Oracle API on python2.4, I am getting this error & the setup got aborted everytime, the error msg is:-

error: The .NET Framework SDK needs to be installed before building extensions for Python.

Can you tell me the reason & solution for this error.

Thanks.
Mar 14 '07 #1
13 2442
bartonc
6,596 Expert 4TB
Hello,

When I am trying to install any MySQLDB or Oracle API on python2.4, I am getting this error & the setup got aborted everytime, the error msg is:-

error: The .NET Framework SDK needs to be installed before building extensions for Python.

Can you tell me the reason & solution for this error.

Thanks.
That error is from a compiler. You can install the python package called 'python-mysqld' with no problems. I believe the compiler will need the SDK to work.
Mar 14 '07 #2
bartonc
6,596 Expert 4TB
That error is from a compiler. You can install the python package called 'python-mysqld' with no problems. I believe the compiler will need the SDK to work.
Perhaps you have tried to run a script called "setup.py".? This is not the way to install a package. On windows, get the .msi installer binary file to automatically install.
Mar 14 '07 #3
cpiyush
31
Perhaps you have tried to run a script called "setup.py".? This is not the way to install a package. On windows, get the .msi installer binary file to automatically install.
Yes I tried the "setup.py" with its option 'install'. OK I will be specific to tell that I tried to install "eGenix mx-Extension Series for Python". They mentioned to use "python setup.py install" command to install it as no .msi file was provided with it.

Can you tell me the procedure for this?
Mar 14 '07 #4
bartonc
6,596 Expert 4TB
Yes I tried the "setup.py" with its option 'install'. OK I will be specific to tell that I tried to install "eGenix mx-Extension Series for Python". They mentioned to use "python setup.py install" command to install it as no .msi file was provided with it.

Can you tell me the procedure for this?
I'm using eGenix mx on Windows. I installed "egenix-mx-commercial-2.0.7.win32-py2.4.exe", so they have binary installers. You understand that this is for ODBC connection, right?
Mar 14 '07 #5
cpiyush
31
I'm using eGenix mx on Windows. I installed "egenix-mx-commercial-2.0.7.win32-py2.4.exe", so they have binary installers. You understand that this is for ODBC connection, right?
Ok.
I got it now. Let me try this & then I will put that what I was doing & where was I wrong.

btw Thanks a lot bartonc for giving concern to my problem.
Mar 14 '07 #6
bartonc
6,596 Expert 4TB
Ok.
I got it now. Let me try this & then I will put that what I was doing & where was I wrong.

btw Thanks a lot bartonc for giving concern to my problem.
You are quite welcome. I have written connection (I call it a server) class. Everything is posted in Python>Code forum. See the announcement at the top of the page for a link.
Mar 14 '07 #7
cpiyush
31
Hi.

I am a novice user for Python-Orcale interface.

I have installed the "eGenix.com mx Extension Series for Python" an Oracle interface to Python (egenix-mx-base-2.0.6.win32-py2.4.exe).

But I don't know how to use it. There is no documentation provided with this.

Can you help me please that how to start with this?

Regards,

Piyush Chechani
Mar 16 '07 #8
bartonc
6,596 Expert 4TB
Hi.

I am a novice user for Python-Orcale interface.

I have installed the "eGenix.com mx Extension Series for Python" an Oracle interface to Python (egenix-mx-base-2.0.6.win32-py2.4.exe).

But I don't know how to use it. There is no documentation provided with this.

Can you help me please that how to start with this?

Regards,

Piyush Chechani
In This post I've given a class that uses that package. Check it out and post here with questions.
Mar 16 '07 #9
cpiyush
31
In This post I've given a class that uses that package. Check it out and post here with questions.
Hi...

Can you plz provide me any kind of document related to this..which helps me in understanding this inteface more properly.

Thanks.
Mar 19 '07 #10
bartonc
6,596 Expert 4TB
Hi...

Can you plz provide me any kind of document related to this..which helps me in understanding this inteface more properly.

Thanks.
On my system, the ODBC docs are in "D:\Python24\Lib\site-packages\mx\ODBC\Doc". It's an HTML doc that matches what's on the web site.
Mar 19 '07 #11
bartonc
6,596 Expert 4TB
On my system, the ODBC docs are in "D:\Python24\Lib\site-packages\mx\ODBC\Doc". It's an HTML doc that matches what's on the web site.
Here is the web link.
Mar 19 '07 #12
cpiyush
31
On my system, the ODBC docs are in "D:\Python24\Lib\site-packages\mx\ODBC\Doc". It's an HTML doc that matches what's on the web site.
Hi..

Actually I was looking in docs of BASE PACKAGE, & there is no information about connection object.
But now I got it at http://www.egenix.com/files/python/D...tml#connection.

Thanks.
Mar 19 '07 #13
bartonc
6,596 Expert 4TB
Hi..

Actually I was looking in docs of BASE PACKAGE, & there is no information about connection object.
But now I got it at http://www.egenix.com/files/python/D...tml#connection.

Thanks.
Thanks for that link.
Mar 19 '07 #14

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Noelle QUEMENER | last post by:
Hi, I am working on a new project which aim is - to centralise data in an Oracle Database, - to do some calculations (based on models), - to visualize these data on diverse client PC (heavy...
6
by: Dan Ellis | last post by:
Hi, I've been down so many dead ends trying to get something working, so I'm really hoping someone can help out. I need to access an Oracle database running on a Windows server from Python...
3
by: Nagendra | last post by:
Hi all, I need to access an Oracle database through a python script using ODBC drivers(currently i have eval copies of Easysoft and datadirect Oracle ODBC drivers). Desired platforms are solaris,...
5
by: madunix | last post by:
i want to implememt private area(authorized users)in the internet main page. Our Backend Database Server running Oracle 9i on AIX I am looking for a solution to pull up live data form Backend...
4
by: hot.favorite | last post by:
Hi, I'm fairly new to Python so please pardon any dumbness on my part. I plan to write an app in Python that will run on Linux and would need to connect to Oracle and MySQL. I could use...
63
by: Nick Palmer | last post by:
Hi all, Is there a DB2 equivilant to Oracle's DB Link functionality ? I have two DB2 databases and I need to get access to the tables in one from the other. In Oracle I would just create a DB...
17
by: dananrg | last post by:
I'm a little confused about what's out there for database modules at: http://python.org/topics/database/modules.html What I'd like to do is use Python to access an Oracle 9.X database for...
2
by: Vinod Sadanandan | last post by:
All, Below listed are the new features in Oracle 11g ,please join me in this discussion to generate a testcase and analyze each of the listed features . Precompilers:...
0
by: mh | last post by:
I'm pleased to announce the initial release of OraPIG, the Oracle Python Interface Generator. OraPIG generates Python wrapper classes for Oracle packages. If you use Oracle and Python, this...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.