Ask Your Question
1

DeprecationWarning on SageMath 9.1 Console

asked 2020-08-20 16:56:38 +0200

Nalakuvara gravatar image

updated 2021-08-20 18:54:19 +0200

slelievre gravatar image

When I open SageMath Console, it will show such a paragraph:

/opt/sagemath-9.1/local/lib/python3.7/site-packages/psutil/_pscygwin.py:311:
DeprecationWarning: invalid escape sequence \d  
 search = re.compile('cpu\d')  

/opt/sagemath-9.1/local/lib/python3.7/site-packages/psutil/_pscygwin.py:876:
DeprecationWarning: invalid escape sequence \d  
 def uids(self, _uids_re=re.compile(b'Uid:\t(\d+)')):  

/opt/sagemath-9.1/local/lib/python3.7/site-packages/psutil/_pscygwin.py:887:
DeprecationWarning: invalid escape sequence \d  
 def gids(self, _gids_re=re.compile(b'Gid:\t(\d+)')):

The operating system I use is Windows 10 1909, the SageMath I use is version 9.1.

Is this a bug?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2020-08-22 08:42:05 +0200

FrédéricC gravatar image

This should be harmless.

edit flag offensive delete link more

Comments

And it probably only shows up the first time you start Sage.

slelievre gravatar imageslelievre ( 2021-08-20 18:54:38 +0200 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2020-08-20 16:56:38 +0200

Seen: 414 times

Last updated: Aug 20 '21