Python Install Packages

Status
Not open for further replies.

zmtpcrio

New Member
Messages
9
Reaction score
0
Points
1
Hi,

First, thanks to everyone for helping me get Python up and running!

I am curious if anyone have experience installing Python packages. I am a user of Microsoft Azure and would like to utilize pymssql. I probably will use pandas at some point too (and possibly others). Regardless, I'm looking for an equivalent of pip install XXXXXX for .whl files. Any help on how to do this would be greatly appreciated!

George

Following is a simplified version of the code I am running:

import pymssql
server = "zmt.database.windows.net"
user = "XXXXXXXX"
password = "XXXXXXXXX"
conn = pymssql.connect(server, user, password, "zmt")
conn.autocommit(True)
cursor = conn.cursor()
cursor.execute("select * from awareness")
a_day=[]
a_low=[]
a_mid=[]
a_high=[]

for row in cursor:
a_day.append(row[0])
a_low.append(row[1])
a_mid.append(row[2])
a_high.append(row[3])
conn.close()


etc... I'll then work with these lists and others to produce some values to return and display.

Appreciate the help!
George
 

zmtpcrio

New Member
Messages
9
Reaction score
0
Points
1
Didn't realize that. Submitted the post to tech support. Is there a paid services community forum?
 

Livewire

Abuse Compliance Officer
Staff member
Messages
18,169
Reaction score
216
Points
63
Not at the moment, primarily because the premium support desk has paid staff who can help get it solved with more accuracy than we generally can. Plus, the premium servers are configured differently (as you might've guessed, since Python doesn't work on free but does on paid), so some of the "tricks of the trade" we're used to on free either don't work or have better solutions there :)
 
Status
Not open for further replies.
Top