Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install 'warnings' package in Python?

Tags:

python

package

I've seen Python programs using

import warnings

How to install that package? I tried

pip install --upgrade warnings

and got an error

Collecting warnings
  Could not find a version that satisfies the requirement warnings (from versions: )
No matching distribution found for warnings
like image 622
qazwsx Avatar asked Dec 18 '22 02:12

qazwsx


1 Answers

warnings is builtin. No need to install it.

like image 131
internet_user Avatar answered Dec 27 '22 02:12

internet_user