[sage-support] Re: pyopenssl-0.13.p0.spkg not accessible at "http://www.sagemath.org/spkg/optional/"
Hi all, When I try "sage -pip install pyopenssl" (on using sage 6.8 compiled from source on ubuntu 14 lts) I get the error below. Any help would be greatly appreciated. Rudi rudi@matroid:~/sage-6.8$ ./sage -pip install pyopenssl Traceback (most recent call last): File "/home/rudi/sage-6.8/local/bin/pip", line 9, in load_entry_point('pip==6.1.1', 'console_scripts', 'pip')() File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 521, in load_entry_point File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 2632, in load_entry_point File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 2312, in load File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 2318, in resolve File "/home/rudi/sage-6.8/local/lib/python2.7/site-packages/pip-6.1.1-py2.7.egg/pip/__init__.py", line 15, in from pip.vcs import git, mercurial, subversion, bazaar # noqa File "/home/rudi/sage-6.8/local/lib/python2.7/site-packages/pip-6.1.1-py2.7.egg/pip/vcs/mercurial.py", line 10, in from pip.download import path_to_url File "/home/rudi/sage-6.8/local/lib/python2.7/site-packages/pip-6.1.1-py2.7.egg/pip/download.py", line 32, in from pip._vendor import requests, six File "/home/rudi/sage-6.8/local/lib/python2.7/site-packages/pip-6.1.1-py2.7.egg/pip/_vendor/__init__.py", line 92, in load_module raise ImportError("No module named '%s'" % (name,)) ImportError: No module named 'pip._vendor.requests' On Friday, April 17, 2015 at 4:06:15 PM UTC+2, Volker Braun wrote: > > Pyopenssl spkg has been removed, use "sage -pip install pyopenssl" instead > > > On Friday, April 17, 2015 at 10:01:14 AM UTC-4, ota.s...@gmail.com wrote: >> >> Hello, >> >> I am trying to compile sage-6.5 with ssl support but when the command >> "./sage -i pyopenssl" >> tries downloading the pyopenssl-0.13.p0.spkg package it gives error: >> --- >> IOError: [Errno 404] Not Found: '// >> www.sagemath.org/spkg/optional/pyopenssl-0.13.p0.spkg' >> Error: failed to download package pyopenssl-0.13.p0 >> --- >> I went to the address with browser and I saw the package description in >> the list of optional packages "http://www.sagemath.org/spkg/optional/; >> but when clicking pyopenssl-0.13.p0.spkg I get "page not found". >> >> Can someone update the web so that the package is download-able? >> >> Thank you >> ota >> > -- 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 sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: pyopenssl-0.13.p0.spkg not accessible at "http://www.sagemath.org/spkg/optional/"
with ubuntu libssl-dev will do it Le vendredi 17 avril 2015 16:01:14 UTC+2, ota.s...@gmail.com a écrit : > > Hello, > > I am trying to compile sage-6.5 with ssl support but when the command > "./sage -i pyopenssl" > tries downloading the pyopenssl-0.13.p0.spkg package it gives error: > --- > IOError: [Errno 404] Not Found: '// > www.sagemath.org/spkg/optional/pyopenssl-0.13.p0.spkg' > Error: failed to download package pyopenssl-0.13.p0 > --- > I went to the address with browser and I saw the package description in > the list of optional packages "http://www.sagemath.org/spkg/optional/; > but when clicking pyopenssl-0.13.p0.spkg I get "page not found". > > Can someone update the web so that the package is download-able? > > Thank you > ota > -- 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 sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
Re: [sage-support] Re: pyopenssl-0.13.p0.spkg not accessible at "http://www.sagemath.org/spkg/optional/"
Hi On 12 October 2015 at 18:09, Rudi Pendavinghwrote: > Hi all, > > When I try "sage -pip install pyopenssl" (on using sage 6.8 compiled from > source on ubuntu 14 lts) I get the error below. > > ImportError: No module named 'pip._vendor.requests' > You didn't have libssl-dev when you compiled sage the first time. sudo apt-get install libssl-dev sage -f python # rebuild the pythin in sage cd SAGE_ROOT; make # is this necessary? Sage prompts the user to run make again. sage -pip install pyopenssl Regards, Jan -- .~. /V\ Jan Groenewald /( )\www.aims.ac.za ^^-^^ -- 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 sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: pyopenssl-0.13.p0.spkg not accessible at http://www.sagemath.org/spkg/optional/
I did not get an ssl validation error when running sage -pip install pyopenssl, but it failed because ffi.h could not be found. After I installed my distribution's libffi-dev package, all was well. On Monday, April 20, 2015 at 9:01:43 AM UTC-7, ota.s...@gmail.com wrote: Thanks for suggestion. I checked and I already have installed libssl-dev (from the time I compiled version 6.4 probably) which I think is the debian equivalent of openssl-devel. To be sure I did recompile Python in sage and still get the same error with ssl validation. On Monday, April 20, 2015 at 4:16:24 PM UTC+2, Volker Braun wrote: You don't have ssl (the C library, not the python wrapper) Install openssl-devel in your distribution (e.g. yum install openssl-devel) and then recompile Python (sage -f python). On Monday, April 20, 2015 at 9:43:40 AM UTC-4, ota.s...@gmail.com wrote: Sorry for the delay, but only now I got time to try your suggestion (sage -pip install pyopenssl). However, I got into trouble with downloading the package due to certificate validation problem. I have as well tried to install certifi package but obviously I got the same error (see the log below). --- cat /home/sagerunner/.pip/pip.log /work/software/sage/sage-6.5/local/bin/pip run on Mon Apr 20 15:16:18 2015 Downloading/unpacking pyopenssl Getting page https://pypi.python.org/simple/pyopenssl/ Could not fetch URL https://pypi.python.org/simple/pyopenssl/: connection error: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed Will skip URL https://pypi.python.org/simple/pyopenssl/ when looking for download links for pyopenssl Getting page https://pypi.python.org/simple/ Could not fetch URL https://pypi.python.org/simple/: connection error: HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries exceeded with url: /simple/ (Caused by class 'httplib.CannotSendRequest': ) Will skip URL https://pypi.python.org/simple/ when looking for download links for pyopenssl Cannot fetch index base URL https://pypi.python.org/simple/ URLs to search for versions for pyopenssl: * https://pypi.python.org/simple/pyopenssl/ Getting page https://pypi.python.org/simple/pyopenssl/ Could not fetch URL https://pypi.python.org/simple/pyopenssl/: connection error: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed Will skip URL https://pypi.python.org/simple/pyopenssl/ when looking for download links for pyopenssl Could not find any downloads that satisfy the requirement pyopenssl Cleaning up... Removing temporary dir /tmp/pip_build_sagerunner... No distributions at all found for pyopenssl Exception information: Traceback (most recent call last): File /work/software/sage/sage-6.5/local/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/basecommand.py, line 122, in main status = self.run(options, args) File /work/software/sage/sage-6.5/local/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/commands/install.py, line 278, in run requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) File /work/software/sage/sage-6.5/local/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/req.py, line 1177, in prepare_files url = finder.find_requirement(req_to_install, upgrade=self.upgrade) File /work/software/sage/sage-6.5/local/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/index.py, line 277, in find_requirement raise DistributionNotFound('No distributions at all found for %s' % req) DistributionNotFound: No distributions at all found for pyopenssl --- Is there any way how to switch of ssl verification or otherwise circumvent this issue? Thank you On Friday, April 17, 2015 at 4:06:15 PM UTC+2, Volker Braun wrote: Pyopenssl spkg has been removed, use sage -pip install pyopenssl instead On Friday, April 17, 2015 at 10:01:14 AM UTC-4, ota.s...@gmail.com wrote: Hello, I am trying to compile sage-6.5 with ssl support but when the command ./sage -i pyopenssl tries downloading the pyopenssl-0.13.p0.spkg package it gives error: --- IOError: [Errno 404] Not Found: '// www.sagemath.org/spkg/optional/pyopenssl-0.13.p0.spkg' Error: failed to download package pyopenssl-0.13.p0 --- I went to the address with browser and I saw the package description in the list of optional packages http://www.sagemath.org/spkg/optional/; but when clicking pyopenssl-0.13.p0.spkg I get page not found. Can someone update the web so that the package
[sage-support] Re: pyopenssl-0.13.p0.spkg not accessible at http://www.sagemath.org/spkg/optional/
You don't have ssl (the C library, not the python wrapper) Install openssl-devel in your distribution (e.g. yum install openssl-devel) and then recompile Python (sage -f python). On Monday, April 20, 2015 at 9:43:40 AM UTC-4, ota.s...@gmail.com wrote: Sorry for the delay, but only now I got time to try your suggestion (sage -pip install pyopenssl). However, I got into trouble with downloading the package due to certificate validation problem. I have as well tried to install certifi package but obviously I got the same error (see the log below). --- cat /home/sagerunner/.pip/pip.log /work/software/sage/sage-6.5/local/bin/pip run on Mon Apr 20 15:16:18 2015 Downloading/unpacking pyopenssl Getting page https://pypi.python.org/simple/pyopenssl/ Could not fetch URL https://pypi.python.org/simple/pyopenssl/: connection error: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed Will skip URL https://pypi.python.org/simple/pyopenssl/ when looking for download links for pyopenssl Getting page https://pypi.python.org/simple/ Could not fetch URL https://pypi.python.org/simple/: connection error: HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries exceeded with url: /simple/ (Caused by class 'httplib.CannotSendRequest': ) Will skip URL https://pypi.python.org/simple/ when looking for download links for pyopenssl Cannot fetch index base URL https://pypi.python.org/simple/ URLs to search for versions for pyopenssl: * https://pypi.python.org/simple/pyopenssl/ Getting page https://pypi.python.org/simple/pyopenssl/ Could not fetch URL https://pypi.python.org/simple/pyopenssl/: connection error: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed Will skip URL https://pypi.python.org/simple/pyopenssl/ when looking for download links for pyopenssl Could not find any downloads that satisfy the requirement pyopenssl Cleaning up... Removing temporary dir /tmp/pip_build_sagerunner... No distributions at all found for pyopenssl Exception information: Traceback (most recent call last): File /work/software/sage/sage-6.5/local/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/basecommand.py, line 122, in main status = self.run(options, args) File /work/software/sage/sage-6.5/local/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/commands/install.py, line 278, in run requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) File /work/software/sage/sage-6.5/local/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/req.py, line 1177, in prepare_files url = finder.find_requirement(req_to_install, upgrade=self.upgrade) File /work/software/sage/sage-6.5/local/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/index.py, line 277, in find_requirement raise DistributionNotFound('No distributions at all found for %s' % req) DistributionNotFound: No distributions at all found for pyopenssl --- Is there any way how to switch of ssl verification or otherwise circumvent this issue? Thank you On Friday, April 17, 2015 at 4:06:15 PM UTC+2, Volker Braun wrote: Pyopenssl spkg has been removed, use sage -pip install pyopenssl instead On Friday, April 17, 2015 at 10:01:14 AM UTC-4, ota.s...@gmail.com wrote: Hello, I am trying to compile sage-6.5 with ssl support but when the command ./sage -i pyopenssl tries downloading the pyopenssl-0.13.p0.spkg package it gives error: --- IOError: [Errno 404] Not Found: '// www.sagemath.org/spkg/optional/pyopenssl-0.13.p0.spkg' Error: failed to download package pyopenssl-0.13.p0 --- I went to the address with browser and I saw the package description in the list of optional packages http://www.sagemath.org/spkg/optional/; but when clicking pyopenssl-0.13.p0.spkg I get page not found. Can someone update the web so that the package is download-able? Thank you ota -- 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 sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: pyopenssl-0.13.p0.spkg not accessible at http://www.sagemath.org/spkg/optional/
I was using the tutorial for building from source code located here: http://www.sagemath.org/doc/installation/source.html#step-by-step-installation-procedure Thanks: I've opened http://trac.sagemath.org/ticket/18261 So it would be good to update there plus putting the note about the package removal to the list of optional packages: http://www.sagemath.org/spkg/optional/ This I don't know how to fix. -- 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 sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: pyopenssl-0.13.p0.spkg not accessible at http://www.sagemath.org/spkg/optional/
Thanks for suggestion. I checked and I already have installed libssl-dev (from the time I compiled version 6.4 probably) which I think is the debian equivalent of openssl-devel. To be sure I did recompile Python in sage and still get the same error with ssl validation. On Monday, April 20, 2015 at 4:16:24 PM UTC+2, Volker Braun wrote: You don't have ssl (the C library, not the python wrapper) Install openssl-devel in your distribution (e.g. yum install openssl-devel) and then recompile Python (sage -f python). On Monday, April 20, 2015 at 9:43:40 AM UTC-4, ota.s...@gmail.com wrote: Sorry for the delay, but only now I got time to try your suggestion (sage -pip install pyopenssl). However, I got into trouble with downloading the package due to certificate validation problem. I have as well tried to install certifi package but obviously I got the same error (see the log below). --- cat /home/sagerunner/.pip/pip.log /work/software/sage/sage-6.5/local/bin/pip run on Mon Apr 20 15:16:18 2015 Downloading/unpacking pyopenssl Getting page https://pypi.python.org/simple/pyopenssl/ Could not fetch URL https://pypi.python.org/simple/pyopenssl/: connection error: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed Will skip URL https://pypi.python.org/simple/pyopenssl/ when looking for download links for pyopenssl Getting page https://pypi.python.org/simple/ Could not fetch URL https://pypi.python.org/simple/: connection error: HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries exceeded with url: /simple/ (Caused by class 'httplib.CannotSendRequest': ) Will skip URL https://pypi.python.org/simple/ when looking for download links for pyopenssl Cannot fetch index base URL https://pypi.python.org/simple/ URLs to search for versions for pyopenssl: * https://pypi.python.org/simple/pyopenssl/ Getting page https://pypi.python.org/simple/pyopenssl/ Could not fetch URL https://pypi.python.org/simple/pyopenssl/: connection error: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed Will skip URL https://pypi.python.org/simple/pyopenssl/ when looking for download links for pyopenssl Could not find any downloads that satisfy the requirement pyopenssl Cleaning up... Removing temporary dir /tmp/pip_build_sagerunner... No distributions at all found for pyopenssl Exception information: Traceback (most recent call last): File /work/software/sage/sage-6.5/local/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/basecommand.py, line 122, in main status = self.run(options, args) File /work/software/sage/sage-6.5/local/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/commands/install.py, line 278, in run requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) File /work/software/sage/sage-6.5/local/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/req.py, line 1177, in prepare_files url = finder.find_requirement(req_to_install, upgrade=self.upgrade) File /work/software/sage/sage-6.5/local/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/index.py, line 277, in find_requirement raise DistributionNotFound('No distributions at all found for %s' % req) DistributionNotFound: No distributions at all found for pyopenssl --- Is there any way how to switch of ssl verification or otherwise circumvent this issue? Thank you On Friday, April 17, 2015 at 4:06:15 PM UTC+2, Volker Braun wrote: Pyopenssl spkg has been removed, use sage -pip install pyopenssl instead On Friday, April 17, 2015 at 10:01:14 AM UTC-4, ota.s...@gmail.com wrote: Hello, I am trying to compile sage-6.5 with ssl support but when the command ./sage -i pyopenssl tries downloading the pyopenssl-0.13.p0.spkg package it gives error: --- IOError: [Errno 404] Not Found: '// www.sagemath.org/spkg/optional/pyopenssl-0.13.p0.spkg' Error: failed to download package pyopenssl-0.13.p0 --- I went to the address with browser and I saw the package description in the list of optional packages http://www.sagemath.org/spkg/optional/; but when clicking pyopenssl-0.13.p0.spkg I get page not found. Can someone update the web so that the package is download-able? Thank you ota -- 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 sage-support+unsubscr...@googlegroups.com. To post to this
[sage-support] Re: pyopenssl-0.13.p0.spkg not accessible at http://www.sagemath.org/spkg/optional/
Pyopenssl spkg has been removed, use sage -pip install pyopenssl instead But is there somewhere in the documentation (perhaps for sagenb?) that says one should do `./sage -i pyopenssl`? And if so, why was that not changed at the time of removing this optional package? On Friday, April 17, 2015 at 10:01:14 AM UTC-4, ota.s...@gmail.com wrote: Hello, I am trying to compile sage-6.5 with ssl support but when the command ./sage -i pyopenssl tries downloading the pyopenssl-0.13.p0.spkg package it gives error: --- IOError: [Errno 404] Not Found: '// www.sagemath.org/spkg/optional/pyopenssl-0.13.p0.spkg' Error: failed to download package pyopenssl-0.13.p0 --- I went to the address with browser and I saw the package description in the list of optional packages http://www.sagemath.org/spkg/optional/; but when clicking pyopenssl-0.13.p0.spkg I get page not found. Can someone update the web so that the package is download-able? Thank you ota -- 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 sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: pyopenssl-0.13.p0.spkg not accessible at http://www.sagemath.org/spkg/optional/
Pyopenssl spkg has been removed, use sage -pip install pyopenssl instead On Friday, April 17, 2015 at 10:01:14 AM UTC-4, ota.s...@gmail.com wrote: Hello, I am trying to compile sage-6.5 with ssl support but when the command ./sage -i pyopenssl tries downloading the pyopenssl-0.13.p0.spkg package it gives error: --- IOError: [Errno 404] Not Found: '// www.sagemath.org/spkg/optional/pyopenssl-0.13.p0.spkg' Error: failed to download package pyopenssl-0.13.p0 --- I went to the address with browser and I saw the package description in the list of optional packages http://www.sagemath.org/spkg/optional/; but when clicking pyopenssl-0.13.p0.spkg I get page not found. Can someone update the web so that the package is download-able? Thank you ota -- 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 sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: pyopenssl-0.13.p0.spkg not accessible at http://www.sagemath.org/spkg/optional/
I was using the tutorial for building from source code located here: http://www.sagemath.org/doc/installation/source.html#step-by-step-installation-procedure So it would be good to update there plus putting the note about the package removal to the list of optional packages: http://www.sagemath.org/spkg/optional/ On Friday, April 17, 2015 at 4:51:19 PM UTC+2, kcrisman wrote: Pyopenssl spkg has been removed, use sage -pip install pyopenssl instead But is there somewhere in the documentation (perhaps for sagenb?) that says one should do `./sage -i pyopenssl`? And if so, why was that not changed at the time of removing this optional package? On Friday, April 17, 2015 at 10:01:14 AM UTC-4, ota.s...@gmail.com wrote: Hello, I am trying to compile sage-6.5 with ssl support but when the command ./sage -i pyopenssl tries downloading the pyopenssl-0.13.p0.spkg package it gives error: --- IOError: [Errno 404] Not Found: '// www.sagemath.org/spkg/optional/pyopenssl-0.13.p0.spkg' Error: failed to download package pyopenssl-0.13.p0 --- I went to the address with browser and I saw the package description in the list of optional packages http://www.sagemath.org/spkg/optional/; but when clicking pyopenssl-0.13.p0.spkg I get page not found. Can someone update the web so that the package is download-able? Thank you ota -- 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 sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.