Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 674
Shu_qasar Avatar asked May 10 '26 02:05

Shu_qasar


1 Answers

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
like image 83
Hamza Khurshid Avatar answered May 12 '26 16:05

Hamza Khurshid



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!