Huh... After I posted my question, I googled it w/o any reference to
sage and I found that this is a python module warning. But installing
the python service-identity module did not work. First I tried
installing it via apt-get:
$ apt-get install python-service-identity
Same warning. Then I tried to install it via pip:
$ pip install service-identity
Requirement already satisfied.
Looks as if the apt-get actually did install the python module. When I
did what you suggest:
$ sage -pip install service_identity
That fixed it. So I guess sage has it's own version of python?
On 06/05/2017 01:29 PM, Dima Pasechnik wrote:
A module is a Python module, in this context, at least.
The command
$ ./sage -pip install service_identity
will install the module in question for you. This calls pip, a standard
Python package
manager, which will fetch the code from the appropriate repository
(<https://pypi.python.org/pypi/service_identity
<https://www.google.com/url?q=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fservice_identity&sa=D&sntz=1&usg=AFQjCNHfLqY456aafCfZu2hnQFtBLoujug>>
in this case) and build/install it.
Sage components, things you can install by doing
./sage -i
are sometimes also Python modules, but often are not.
HTH,
Dima
On Monday, June 5, 2017 at 6:12:12 PM UTC+1, jheim wrote:
What is a sage module? Is that the same as a plugin? I'm getting an
error that says the service_identity module is missing. It has some
directions for getting rid of the error message but I don't want to
mess
with it if I don't have to. I maintain a sage installation for
approximately 100 machines and I want the installation to be as routine
as possible.
Right now, for each installation, I simply do the configure, make, and
then "for PLUGIN in `sage -optional | grep not_installed | cut -d' '
-f1`; do sage -i "${PLUGIN}"; done. In other words, I compile sage and
then all the plugins. But after doing this for sage 7.6, I started
getting the error message reproduced below. If I could make it go away
by no installing one of the plugins, I'd probably just do that.
$ sage
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 7.6, Release Date: 2017-03-25 │
│ Type "notebook()" for the browser-based notebook interface. │
│ Type "help()" for help. │
└────────────────────────────────────────────────────────────────────┘
sage: exit;
Exiting Sage (CPU time 0m0.09s, Wall time 0m4.98s).
:0: UserWarning: You do not have a working installation of the
service_identity module: 'No module named service_identity'. Please
install it from <https://pypi.python.org/pypi/service_identity
<https://www.google.com/url?q=https%3A%2F%2Fpypi.python.org%2Fpypi%2Fservice_identity&sa=D&sntz=1&usg=AFQjCNHfLqY456aafCfZu2hnQFtBLoujug>>
and make
sure all of its dependencies are satisfied. Without the
service_identity module and a recent enough pyOpenSSL to support it,
Twisted can perform only rudimentary TLS client hostname verification.
Many valid certificate/hostname mappings may be rejected.
--
--
John G. Heim; [email protected] <javascript:>;
sip://[email protected] <javascript:>
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.