I am looking for Sybase ASE client tools for Windows and Linux. I am trying to access the database using isql. But in order to use isql in python, one must have the Sybase ASE drivers/client tools installed.
The server my code (python) will be running is Linux, and my development machine is Windows, so I need driver/client tools for both environment
If you go to this SAP download link and search the page for Adaptive Server Enterprise you'll find several links for the ASE SDK.
NOTE: all of the links are for recent versions of the ASE 16.0 product; these should be backward compatible with older versions of ASE (eg, in case you're connecting to ASE 15.7)
Click on the appropriate link, provide the obligatory 'registration' details and you're provided with a copy of the ASE SDK package.
While the page does mention trial downloads, I've never found the ASE SDK to be limited by any licensing requirements.
Related
I need to query SQL Server from Python in a machine that I don't have admin rights. I can't install drivers in it. I'll query mainly from a Linux machine, but it would be nice if I it can also be used from Windows during development.
I want to make a simple query in MS SQL Server with a Python lib. A lib that doesn't need any driver installed in the Operating System. Is it possible? Everything that I found asks to install the Microsoft driver in the host OS.
A quick search turns up pydts but it's not supported by Microsoft and I have no idea how widely adopted it is or if it's being actively maintained. Here's the GitHub repo.
I have tried connecting exadata from python using cx_Oracle, but faced issue stating
cx_Oracle.DatabaseError: DPI - 1047: Cannot locate a 64bit Oracle client library.
I am trying to install a 64bit cx_Oracle, but I need to know can I connect from python to exadata.
Follow the cx_Oracle Linux installation instructions. The piece you are missing is access to Oracle Client libraries. As noted in the other answer, using Instant Client is the way to go. You'll need the "Basic" or "Basic Light" package for Linux x86-64. If you don't know your character set requirement, then use "Basic". You can use the latest 19c version. This will let you connect to Oracle DB 11.2 and newer.
If you have root access (?) you may find the RPM packages easier. If you want to use ZIP files, unzip the package, set your LD_LIBRARY_PATH environment variable to the directory, and run Python.
In your cx_Oracle scripts you use the same database credentials and connection string that you would use in SQL*Plus.
Welcome to Stack Overflow!
For the record, Oracle Exadata is a platform consisting of hardware and software designed for extreme Oracle Database performance. cx_Oracle is the Python client library to operate on an Oracle Database - hence you want to connect to an Oracle Database utilizing the Python programming language.
cx_Oracle depends on OCI (Oracle Call Interface). You need to download and install Oracle Client Library on your workstation before you can do import cx_Oracle from within Python.
You will find the Oracle Client Library here
Best of luck!
On Mac OS Sierra 10.12.6, I've recently installed Pentaho Community Edition (CE) 8.0 after my Enterprise Edition (EE) trial ended. EE had marketplace built in as a menu option but that's been removed from CE. Moreover, all my plugins have been removed (I was using the CPython Script Executor plugin).
Problem: I cannot get Pentaho Marketplace / plugins to work. The thing is, Pentaho docs claim Pentaho CE 6.0+ already comes with marketplace:
If you're using the Community Edition of Pentaho 6.0+ you don't have to worry about this - Marketplace comes with it and it's ready to be used.
This is clearly wrong, and I'm not the only one experiencing this.
I tried to install Marketplace 6.0 from Pentaho Marketplace, the latest version, but the download link brings you to a 404 page.
This Pentaho forums suggested marketplace 5.4. So I downloaded that, unzipped marketplace/ folder into data-integration/system (path suggested here in Pentaho Forums) and restarted Pentaho Data Integration App. Marketplace did not appear.
Likewise, Pentaho Forums suggested adding pentaho-marketplace to /Applications/data-integration/system/karaf/etc/org.apache.karaf.features.cfg:
#
# Comma separated list of features to install at startup
#
featuresBoot=config,pentaho-client-minimal,pentaho-marketplace
Again, I've restarted Pentaho App and Marketplace still does not appear.
Then I found I needed to restart the Pentaho BI server (info here):
./ctlscript.sh stop pentahoserver
Trying to do this I get
$ ./ctlscript.sh stop pentahoserver
/Applications/Pentaho/server/pentaho-server/tomcat/scripts/ctl.sh : Pentaho Server could not be stopped
Via sudo:
$ sudo ./ctlscript.sh stop pentahoserver
Execution by root not allowed
Question: How can I get Marketplace to appear, or if it's too much trouble, how can I simply just install the Python plugin I need? The problem is, the only available blog on it shows that I need to get the plugin from marketplace.
EDIT: for .sh script to run, you need to close down postgresql connection.
EDIT 2: I gave up on getting Marketplace to work and found CPython plugin here: http://www.pentaho.com/marketplace/. I unzipped into plugins and it worked.
I was able to install the CPython Script Executor plugin in the (CE) edition by accessing the Marketplace from within the Spoon client menu. The Marketplace was located under the Tools menu.
I need to compile the C++ source code of a version of Python DB API for IBM DB2:
I am new to this and according to the readme, I need to first download
Visual C++ 2003 (isnt it a too old version!?),
Platform SDK lastest version (i think its changed to Windows SDK and for I have Win10, i consider to download Windows 10 SDK),
.NET SDK Version 1.1
When I tried to download Win10 SDK, I saw that its 2.4GB!! Too heavy and I won't use it for more than these kind of compilations. Is there a lightweight core of it?
And is this .NET SDK means .NET Framework SDK?
If you need the windows 10 SDK. I recommend you use vs2017. MS's new licensing scheme makes it free for most of us mere mortals. :)
It installs in a bit less time than VS2013. It also includes some tools for python. And comes with the win10 SDK.
And no, MS does not provide any lite SDKs.
I expect to run Pylons on a Windows Server 2003 and IIS 6 on a Virtual Private Server (VPS). Most work with the VPS is done through the Plesk 8.6 panel. The Plesk panel has a lot of maintenance advantages for us. However, this Plesk configuration installs ActiveState Python 2.5.0. The Parallels Plesk documents for 8.6 and version 9 insist that only this configuration should be installed.
I'm not eager to settle for the baseline 2.5.0. but don't see any safe upgrade path. How has ActiveState Python 2.5.0 been for other users? Can you replace the Parallels\Plesk\Additional\Python
with another distribution? I don't want to break Plesk, please.
Previously, I followed these instructions, Serving a Pylons app with IIS - Pylons Cookbook
Using the default web site IP address, I had Python 2.6.3 installing the ISAPI-WSGI dll in IIS so that I successfully ran Pylons in a virutalenv through IIS using the IP address, no domain name. I would be so happy if I could run this successful configuration for my domains while I must use Plesk.
Tips and solutions appreciated.
The default Python install location is something like c:\python26. I think it's likely you could install the latest python there, without it conflicting with the ActiveState Python. (You may have to deal with path issues or conflicts over which copy 'owns' python source files in Explorer, though.)