Ask Your Question
1

Using ? for help in version 9.1

asked 2020-08-17 12:15:07 +0200

julesbesac gravatar image

updated 2020-08-26 21:46:29 +0200

slelievre gravatar image

The use of a question mark (?) for help produces several deprecation warnings:

/opt/sagemath-9.1/local/lib/python3.7/site-packages/requests/models.py:847: DeprecationWarning: invalid escape sequence \*
  """

/opt/sagemath-9.1/local/lib/python3.7/site-packages/requests/api.py:67: DeprecationWarning: invalid escape sequence \*
  """

/opt/sagemath-9.1/local/lib/python3.7/site-packages/requests/api.py:80: DeprecationWarning: invalid escape sequence \*
  """

/opt/sagemath-9.1/local/lib/python3.7/site-packages/requests/api.py:93: DeprecationWarning: invalid escape sequence \*
  """

/opt/sagemath-9.1/local/lib/python3.7/site-packages/requests/api.py:108: DeprecationWarning: invalid escape sequence \*
  """

/opt/sagemath-9.1/local/lib/python3.7/site-packages/requests/api.py:122: DeprecationWarning: invalid escape sequence \*
  """

/opt/sagemath-9.1/local/lib/python3.7/site-packages/requests/api.py:136: DeprecationWarning: invalid escape sequence \*
  """

/opt/sagemath-9.1/local/lib/python3.7/site-packages/requests/api.py:148: DeprecationWarning: invalid escape sequence \*
  """

/opt/sagemath-9.1/local/lib/python3.7/site-packages/requests/sessions.py:498: DeprecationWarning: invalid escape sequence \*
  """

/opt/sagemath-9.1/local/lib/python3.7/site-packages/requests/sessions.py:509: DeprecationWarning: invalid escape sequence \*
  """

/opt/sagemath-9.1/local/lib/python3.7/site-packages/requests/sessions.py:520: DeprecationWarning: invalid escape sequence \*
  """

/opt/sagemath-9.1/local/lib/python3.7/site-packages/requests/sessions.py:533: DeprecationWarning: invalid escape sequence \*
  """

/opt/sagemath-9.1/local/lib/python3.7/site-packages/requests/sessions.py:544: DeprecationWarning: invalid escape sequence \*
  """

/opt/sagemath-9.1/local/lib/python3.7/site-packages/requests/sessions.py:555: DeprecationWarning: invalid escape sequence \*
  """

/opt/sagemath-9.1/local/lib/python3.7/site-packages/requests/sessions.py:565: DeprecationWarning: invalid escape sequence \*
  """

Am I doing something wrong?

edit retag flag offensive close merge delete

Comments

A few questions :

  • What platform and OS are you using ?

  • How did you install Sage (i.e. compiled from tarball or installed from your distro) ?

  • Do you use Python 2 or 3 (IIRC, 9.1 will be the las Python 2-compatible release) ?

  • What interface (command line, Jupyter notebook, emacs, other) ?

FWIW, WorksForMe(TM) in 9.2.beta8 on Debian testing running on core i7.

Emmanuel Charpentier gravatar imageEmmanuel Charpentier ( 2020-08-17 20:47:54 +0200 )edit

Some answers:

  • The OS is Windows 10 running on a PC.

  • I installed Sage by downloading the installer from this web page: http://ftp.rediris.es/mirror/sagemath...

  • As fas as I know, the 9.1 version of Sage uses Python 3. I guess I do not understand the third question...

  • The interface I use is Jupyter notebook. The deprecation warning appears the first time the question mark (?) is used. It does not appear when using version 8.9 of Sage on the same PC.

julesbesac gravatar imagejulesbesac ( 2020-08-19 10:39:11 +0200 )edit

I have exactly the same problem. Also using sage 9.1, windows 10, Jupyter notebook.

Ingrid gravatar imageIngrid ( 2020-11-16 04:59:24 +0200 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-08-26 18:40:10 +0200

Emmanuel Charpentier gravatar image

I don't remember having seen this problem reported for Unix/Mac platforms. As far as I can tell, this may be Windows-specific. This port is a beast to maintain ; a slght misconfiguration can happe, especially if the underlying Cygwin platform has moved...

You could try :

  • to report this issue on sage-support, and, if it seems platform-specific,

  • to open a Windows-specific issue on the Github page of this Windows installer.

HTH,

edit flag offensive delete link more

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-17 12:15:07 +0200

Seen: 349 times

Last updated: Aug 26 '20