On 22 February 2015 at 18:31, Volker Braun <[email protected]> wrote:
> I think thats fixed in pyopenssl-0.14. I opened a ticket at
> http://trac.sagemath.org/ticket/17831
>
> Easiest solution is probably pip install pyopenssl
I have never used pip so I am guessing what to do here: I did ./sage
-sh to get into a sage shell, then typed "pip install pyopenssl" and
various things happened ending with this error:
distutils.errors.DistutilsError: Setup script exited with error:
command 'gcc' failed with exit status 1
----------------------------------------
Cleaning up...
Command /usr/local/sage/sage-1/local/bin/python -c "import setuptools,
tokenize;__file__='/tmp/pip_build_jec/cryptography/setup.py';exec(compile(getattr(tokenize,
'open', open)(__file__).read().replace('\r\n', '\n'), __file__,
'exec'))" install --record /tmp/pip-fJS89s-record/install-record.txt
--single-version-externally-managed --compile failed with error code 1
in /tmp/pip_build_jec/cryptography
Storing debug log for failure in /home/jec/.pip/pip.log
I can post the pip.log if that will help.
John
>
> On Saturday, February 21, 2015 at 12:47:31 PM UTC+1, John Cremona wrote:
>>
>> Has something changed between 6.4 and 6.5 regarding running a notebook
>> server (default, not ipython) with secure=True? I repeatedly get the
>> message
>>
>> RuntimeError: HTTPS cannot be used without pyOpenSSL installed. See
>> the Sage README for more information.
>> sage@fermat:~$ cat start_sage_server
>> /usr/local/bin/sage --notebook default interface='' accounts=True
>> secure=True automatic_login=False
>> despite having explicitly installed pyopenssl (using ./sage -i
>> pyopenssl after building finished) followed by ./sage -g python and
>> then make (which rebuilt a whole lot of things previously built by
>> make).
>>
>> I am building from source on ubuntu 14.04 using a git repository which
>> is updated on each release.
>>
>> I have even done a "makedistclean" to start from scratch and releated
>> all the above, but the command line
>>
>> /usr/local/bin/sage --notebook default interface='' accounts=True
>> secure=True automatic_login=False
>>
>> still gives the quoted error.
>>
>> John Cremona
>>
>> PS yes, I know that I can tell all the users of the machine to switch
>> to the cloud, as most of them have. that is not really the point.
>
> --
> 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 http://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.
--
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 http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.