Shu_qasar
Shu_qasar

Reputation: 72

Python Deprecation warning

DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working.

These are my import statements.

import pandas as pd

import numpy as np

import os

import pymssql

os.getcwd

os.chdir('D:\Sushil\Output')

How can we fix this, since I am running spyder IDE for development connecting to sql server.

Upvotes: 3

Views: 3852

Answers (2)

Shu_qasar
Shu_qasar

Reputation: 72

Yes the warning message was regards pymssql. I have upgraded to the newer version. It is working. No more warning message now.

Upvotes: 0

Hamza Khurshid
Hamza Khurshid

Reputation: 825

Looks like you are using older versions of python packages. Please update these packages using the following commands in cmd.

pip install --upgrade pymssql
pip install --upgrade pandas
pip install --upgrade numpy

Upvotes: 3

Related Questions