Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.python > #4727
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Thomas Güttler <guettliml@thomas-guettler.de> |
| Newsgroups | de.comp.lang.python |
| Subject | Re: [Python-de] Oracle ansprechend |
| Date | Wed, 29 Mar 2017 11:34:22 +0200 |
| Lines | 64 |
| Message-ID | <mailman.117.1490780063.2634.python-de@python.org> (permalink) |
| References | <d96551a8-7391-6417-6b48-9eac69c8bde5@thomas-guettler.de> <2b817542-217c-e6da-4b7e-770db667d2ec@inqbus.de> <ecfa98e0-eac7-1a77-dfdb-073ef866e212@thomas-guettler.de> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=windows-1252; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Trace | news.uni-berlin.de 8Y4mhnFMjgXAXRFDVWRLxQBPlN6A+Rshclh83P8r4J8Q== |
| Return-Path | <guettliml@thomas-guettler.de> |
| X-Original-To | python-de@python.org |
| Delivered-To | python-de@mail.python.org |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
| In-Reply-To | <2b817542-217c-e6da-4b7e-770db667d2ec@inqbus.de> |
| X-BeenThere | python-de@python.org |
| X-Mailman-Version | 2.1.23 |
| Precedence | list |
| List-Id | Die Deutsche Python Mailingliste <python-de.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-de>, <mailto:python-de-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-de/> |
| List-Post | <mailto:python-de@python.org> |
| List-Help | <mailto:python-de-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-de>, <mailto:python-de-request@python.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <ecfa98e0-eac7-1a77-dfdb-073ef866e212@thomas-guettler.de> |
| X-Mailman-Original-References | <d96551a8-7391-6417-6b48-9eac69c8bde5@thomas-guettler.de> <2b817542-217c-e6da-4b7e-770db667d2ec@inqbus.de> |
| Xref | csiph.com de.comp.lang.python:4727 |
Show key headers only | View raw
Am 28.03.2017 um 14:50 schrieb Dr. Volker Jaenisch:
> Servus Thomas!
Servus Volker,
danke für den Hinweis.
Ich hatte riesiges Glück: Ich habe gestern **nicht** damit angefangen.
Heute nochmal telefoniert ... Es wird bald von Oracle auf MS-SQL umgestiegen.
Dann wird es vermutlich eine http Schnittstelle geben.
Super. Manchmal hilft nichts-tun und heulen :-)
Gruß,
Thomas
>
>
> Am 28.03.2017 um 13:49 schrieb Thomas Güttler:
>> Hallo,
>>
>> seit Jahren arbeite ich PostgreSQL und da bin ich nun etwas verwöhnt.
>> Der psycopg2 Adapter ist überall verfügbar.
>>
>> Aber nun soll ich mich mit Oracle verbinden. Ich bekommt diese Meldung:
>>
>> (oracle-test)foo@host:~/tmp/oracle-test> pip install cx_Oracle
>> Collecting cx-Oracle
>> Using cached cx_Oracle-5.3.tar.gz
>> Complete output from command python setup.py egg_info:
>> Traceback (most recent call last):
>> File "<string>", line 20, in <module>
>> File "/home/pypi/tmp/pip-build-aJfsPO/cx-Oracle/setup.py", line
>> 174, in <module>
>> raise DistutilsSetupError("cannot locate an Oracle software " \
>> distutils.errors.DistutilsSetupError: cannot locate an Oracle
>> software installation
> Ja Oracle ist ein Krampf!
>
> Ich habe Oracle den Instant-Client genommen:
>
> http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html
>
> Dabei ist wichtig den Richtigen für die richtige DB-Version zu finden.
> Die sind zwar abwärtskompatibel aber nur bedingt weit.
>
> Dann müssen diese beiden Umgebungs-Variablen gesetzt werden:
>
> export LD_LIBRARY_PATH=/opt/oracle/instantclient_10_2:$LD_LIBRARY_PATH
> export PATH=/opt/oracle/instantclient_10_2:$PATH
>
> Danach sollte cx-oracle über pip installierbar sein.
>
> Beste Grüße
>
> Volker
>
--
Thomas Guettler http://www.thomas-guettler.de/
Back to de.comp.lang.python | Previous | Next | Find similar
Re: [Python-de] Oracle ansprechend Thomas Güttler <guettliml@thomas-guettler.de> - 2017-03-29 11:34 +0200
csiph-web