Hello! I think I have solved my problem: for future reference, the solution was written in the documentation (http://doc.sagemath.org/html/en/developer/packaging.html). I have opened ticket 18929 (http://trac.sagemath.org/ticket/18929) to include igraph library: hopefully, soon it will be available in Sage! Thank you very much! Michele
On Thursday, July 16, 2015 at 12:04:28 PM UTC+2, Volker Braun wrote: > > I think that means you don't have openssl-devel so the pip built in Sage > doesn't work. > > > On Thursday, July 16, 2015 at 12:03:12 PM UTC+2, michele...@imtlucca.it > wrote: >> >> Exactly, Nathann, this is what I meant. Sorry if I was not clear in the >> first place. >> Anyway, that command does not work: am I doing anything wrong? >> Thank you for your time! >> >> michele@Lena:~/Programmi/sage$ ./sage -pip install python-igraph >> Traceback (most recent call last): >> File "/home/michele/Programmi/sage/local/bin/pip", line 9, in <module> >> 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/michele/Programmi/sage/local/lib/python2.7/site-packages/pip-6.1.1-py2.7.egg/pip/__init__.py", >> >> line 15, in <module> >> from pip.vcs import git, mercurial, subversion, bazaar # noqa >> File >> "/home/michele/Programmi/sage/local/lib/python2.7/site-packages/pip-6.1.1-py2.7.egg/pip/vcs/mercurial.py", >> >> line 10, in <module> >> from pip.download import path_to_url >> File >> "/home/michele/Programmi/sage/local/lib/python2.7/site-packages/pip-6.1.1-py2.7.egg/pip/download.py", >> >> line 32, in <module> >> from pip._vendor import requests, six >> File >> "/home/michele/Programmi/sage/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 Thursday, July 16, 2015 at 11:54:22 AM UTC+2, Nathann Cohen wrote: >>> >>> > sage -pip install python-igraph >>> >>> I think that he meant "how do we proceed to have such a package be >>> shipped in Sage by default". >>> >>> Nathann >>> >> -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.