Python Forum
Connect a Teradata DB to Python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Connect a Teradata DB to Python
#1
Hi Forum,
I have 2 issues.
I want to do some work on some datasets that are in a Teradata DB so
1. I am trying to connect to it & run queries.
2. I downloaded the driver 'teradata-15.10.0.21.tar' am am trying to find a way to get it to install.

I'm using Python (Spyder 3.3.2) with Teradata SQL Assistant Database version 14.10, Provider Version 16.20.
I'm on a Windows 7 O/s.

Re Issue 1, Can anyone step me through the connection steps?

Re Issue 2, The commands for the prompt I've tried all sya they can't find 'teradata' as I haven't seen a way to apply a directory path to the file??

Thanks
Reply
#2
see: https://developer.teradata.com/tools/ref...hon-module
Reply
#3
Thanks,

As I was saying, this doesn't find the file and I expect I need to supply a directory path.

ModuleNotFoundError: No module named 'teradata'
Reply
#4
you probably need to install one of the drivers on this page (I don't know which)
https://developer.teradata.com/
Reply
#5
Thanks again Larz60+,

I've now got to the stage where I have added the teradata-15.10.0.21 file to the directory;
C:\ProgramData\Anaconda3\Lib\teradata-15.10.0.21.

I then ran pip install teradata and also pip install teradata-15.10.0.21 on the cmd prompt.

I got the attached error.

Any suggests?

Thanks Peter
   
Reply
#6
teradata does not install with pip. The links that I gave you are to their site.
There are installation instructions there, look around.
Reply
#7
Thanks again, but I need to know (because I've tried exhaustively) how & what to use to install teradata-15.10.0.21 and not tell me what doesn't do this...
Reply
#8
windows install:
http://downloads.teradata.com/download/t...on-package
Reply
#9
Thanks again,

I think you are misunderstanding my question.


Hi Forum,
I have 2 issues.
I want to do some work on some datasets that are in a Teradata DB so
1. I am trying to connect to it & run queries.
2. I downloaded the driver 'teradata-15.10.0.21.tar' am am trying to find a way to get it to install.


I already have teradata TTU 16.20 installed.

I want to connect my Teradata DB to Python & I found on the 'net that it would be useful to download & import Teradata 15.10.0.21.

This what I'm trying to connect
Reply
#10
Sorry, I did misunderstand and cannot answer your question.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  connect sql by python using txt. file dawid294 2 446 Jan-12-2024, 08:54 PM
Last Post: deanhystad
  How to Connect to PostgreSQL Through Jump Server and SSH Tunnel using Python? nishans 1 1,022 Jan-02-2024, 10:37 AM
Last Post: khanzain
  python connect to mssql wailoonho 7 1,619 Dec-07-2023, 02:06 AM
Last Post: wailoonho
  Using Python to connect to an XML ? jehoshua 12 1,997 Jul-11-2023, 12:34 AM
Last Post: jehoshua
  Trying to make a bot to connect on discord with Selenium Python johnsmith43 2 52,315 Mar-21-2022, 02:56 PM
Last Post: Cloudytechnical
  How to connect Mysql databse with python and VSCode IDE madhusoodhananER 1 8,739 Oct-31-2019, 10:15 AM
Last Post: Larz60+
  Import data from excel to Teradata steve87bg 3 4,777 Sep-18-2019, 01:36 PM
Last Post: steve87bg
  write csv data into teradata table sandy 0 5,130 Feb-13-2019, 12:11 AM
Last Post: sandy
  Issue while inserting data into Teradata via python dataframe sandy 2 4,229 Feb-10-2019, 08:06 PM
Last Post: sandy
  Python connect to Sybase IQ FORTITUDE 1 4,797 Jan-24-2019, 02:14 AM
Last Post: micseydel

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020