[sage-support] Error running the postinst script for pplpy-0.8.4

2020-05-06 Thread Carlos Rodriguez
Ubuntu 20.4
on imac late 2013.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CANkXF2Xj%2B1-nUOeRm85kVO8O_VGDjhu_E64jvYOdZjDe28B34Q%40mail.gmail.com.
Found local metadata for pplpy-0.8.4
Attempting to download package pplpy-0.8.4.tar.gz from mirrors
http://mirrors.mit.edu/sage/spkg/upstream/pplpy/pplpy-0.8.4.tar.gz
[..]
pplpy-0.8.4

Setting up build directory for pplpy-0.8.4
Finished extraction
No patch files found in ../patches

Host system:
Linux crod569-iMac 5.4.0-29-generic #33-Ubuntu SMP Wed Apr 29 14:32:27 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

C compiler: gcc
C compiler version:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:hsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.3.0-10ubuntu2' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2) 

Package 'pplpy' is currently not installed
No legacy uninstaller found for 'pplpy'; nothing to do
Installing pplpy-0.8.4
Installing package pplpy using pip3
Ignoring indexes: https://pypi.org/simple
Created temporary directory: /tmp/pip-ephem-wheel-cache-g4tbfrhw
Created temporary directory: /tmp/pip-req-tracker-hbq7l0jx
Created requirements tracker '/tmp/pip-req-tracker-hbq7l0jx'
Created temporary directory: /tmp/pip-install-ottmjklf
Processing /home/crod569/sage/local/var/tmp/sage/build/pplpy-0.8.4/src
  Created temporary directory: /tmp/pip-req-build-bvwuaki6
  Added file:///home/crod569/sage/local/var/tmp/sage/build/pplpy-0.8.4/src to build tracker '/tmp/pip-req-tracker-hbq7l0jx'
  Running setup.py (path:/tmp/pip-req-build-bvwuaki6/setup.py) egg_info for package from file:///home/crod569/sage/local/var/tmp/sage/build/pplpy-0.8.4/src
Running command python setup.py egg_info
running egg_info
creating pip-egg-info/pplpy.egg-info
writing pip-egg-info/pplpy.egg-info/PKG-INFO
writing dependency_links to pip-egg-info/pplpy.egg-info/dependency_links.txt
writing requirements to pip-egg-info/pplpy.egg-info/requires.txt
writing top-level names to pip-egg-info/pplpy.egg-info/top_level.txt
writing manifest file 'pip-egg-info/pplpy.egg-info/SOURCES.txt'
Compiling ppl/linear_algebra.pyx because it changed.
Compiling ppl/mip_problem.pyx because it changed.
Compiling ppl/polyhedron.pyx because it changed.
Compiling ppl/generator.pyx because it changed.
Compiling ppl/constraint.pyx because it changed.
Compiling ppl/bit_arrays.pyx because it changed.
[1/6] Cythonizing ppl/bit_arrays.pyx
[2/6] Cythonizing ppl/constraint.pyx
[3/6] Cythonizing ppl/generator.pyx
[4/6] Cythonizing ppl/linear_algebra.pyx
[5/6] Cythonizing ppl/mip_problem.pyx
[6/6] Cythonizing ppl/polyhedron.pyx
reading manifest file 'pip-egg-info/pplpy.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
/home/crod569/sage/local/lib/python3.7/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-req-build-bvwuaki6/ppl/bit_arrays.pxd
  tree = Parsing.p_module(s, pxd, full_module_name)
/home/crod569/sage/local/lib/python3.7/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-req-build-bvwuaki6/ppl/constraint.pxd
  tree = Parsing.p_module(s, pxd, fu

[sage-support] How to use notebook in sage 9.0?

2020-05-06 Thread Szabolcs Horvát
I use sage 9.0 and sage 8.9 on macOS. I compiled them myself so I would 
gain access to other ILP solvers than GLPK.

They work fine in command line mode. But if I start Sage 9.0 as sage 
--notebook, it gives me an interface to create a new notebook, which only 
has the kernel "Sage 8.9".  How can I get the Sage 9.0 kernel?

This help page is not helpful:

https://doc.sagemath.org/html/en/reference/repl/sage/repl/ipython_kernel/install.html

It does not explain how to install the kernel.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/f8bf42ac-11d2-4c19-a16c-6a9caa6960f2%40googlegroups.com.


Re: [sage-support] How to use notebook in sage 9.0?

2020-05-06 Thread Dima Pasechnik
On Wed, May 6, 2020 at 6:58 PM Szabolcs Horvát  wrote:
>
> I use sage 9.0 and sage 8.9 on macOS. I compiled them myself so I would gain 
> access to other ILP solvers than GLPK.
>
> They work fine in command line mode. But if I start Sage 9.0 as sage 
> --notebook, it gives me an interface to create a new notebook, which only has 
> the kernel "Sage 8.9".  How can I get the Sage 9.0 kernel?

 sage -notebook=jupyter

should give you jupyter notebook.

sagenb would only work with Python2 Sage (by default Sage 9.0 is built
with Python3, not 2)


>
> This help page is not helpful:
>
> https://doc.sagemath.org/html/en/reference/repl/sage/repl/ipython_kernel/install.html
>
> It does not explain how to install the kernel.
>
> --
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/f8bf42ac-11d2-4c19-a16c-6a9caa6960f2%40googlegroups.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAAWYfq3puX7JEe1EB0UHScx_Ap5q7%2Bxcp09Bh4HedE1P9fNT%3DQ%40mail.gmail.com.


Re: [sage-support] How to use notebook in sage 9.0?

2020-05-06 Thread Szabolcs Horvát


On Wednesday, 6 May 2020 20:11:50 UTC+2, Dima Pasechnik wrote:
>
> On Wed, May 6, 2020 at 6:58 PM Szabolcs Horvát  > wrote: 
> > 
> > I use sage 9.0 and sage 8.9 on macOS. I compiled them myself so I would 
> gain access to other ILP solvers than GLPK. 
> > 
> > They work fine in command line mode. But if I start Sage 9.0 as sage 
> --notebook, it gives me an interface to create a new notebook, which only 
> has the kernel "Sage 8.9".  How can I get the Sage 9.0 kernel? 
>
>  sage -notebook=jupyter 
>
> should give you jupyter notebook. 
>
> sagenb would only work with Python2 Sage (by default Sage 9.0 is built 
> with Python3, not 2) 
>
>
Yes, I do get a Jupyter page in the browser, but not a notebook. In order 
to create a notebook, one must click "New" and choose the Jupyter kernel to 
use. There is no Sage 9.0 kernel there. There are some of the Python 
kernels I use independently of Sage, and there is Sage 8.9. How can I 
install the Sage 9.0 kernel? Is there documentation on this?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/4feab8f6-c3dc-450d-92c3-95039aa1d7e2%40googlegroups.com.


Re: [sage-support] How to use notebook in sage 9.0?

2020-05-06 Thread Dima Pasechnik
this looks like a conflict between two versions of Sage (more
precisely, of jupyter).

Not sure how this can happen, though. You migh try to start "sage -sh"
of your Sage 9.0 and at its
prompt start

jupyter-notebook

it should give you an option to open URL of the shape
http://localhost:/?token=

where you should ge the correct jupyter kernel (hopefully)


On Wed, May 6, 2020 at 7:19 PM Szabolcs Horvát  wrote:
>
>
>
> On Wednesday, 6 May 2020 20:11:50 UTC+2, Dima Pasechnik wrote:
>>
>> On Wed, May 6, 2020 at 6:58 PM Szabolcs Horvát  wrote:
>> >
>> > I use sage 9.0 and sage 8.9 on macOS. I compiled them myself so I would 
>> > gain access to other ILP solvers than GLPK.
>> >
>> > They work fine in command line mode. But if I start Sage 9.0 as sage 
>> > --notebook, it gives me an interface to create a new notebook, which only 
>> > has the kernel "Sage 8.9".  How can I get the Sage 9.0 kernel?
>>
>>  sage -notebook=jupyter
>>
>> should give you jupyter notebook.
>>
>> sagenb would only work with Python2 Sage (by default Sage 9.0 is built
>> with Python3, not 2)
>>
>
> Yes, I do get a Jupyter page in the browser, but not a notebook. In order to 
> create a notebook, one must click "New" and choose the Jupyter kernel to use. 
> There is no Sage 9.0 kernel there. There are some of the Python kernels I use 
> independently of Sage, and there is Sage 8.9. How can I install the Sage 9.0 
> kernel? Is there documentation on this?
>
> --
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/4feab8f6-c3dc-450d-92c3-95039aa1d7e2%40googlegroups.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAAWYfq1viv3gEHKxfPCRqLBmvFc9gOsCKJiu1c_s_yQoDF8XWg%40mail.gmail.com.


Re: [sage-support] How to use notebook in sage 9.0?

2020-05-06 Thread Szabolcs Horvát
Thanks for the help Dima, but sadly, even this did not work :-( Is there a
simple way to set up the kernel manually?

On Wed, 6 May 2020 at 20:32, Dima Pasechnik  wrote:

> this looks like a conflict between two versions of Sage (more
> precisely, of jupyter).
>
> Not sure how this can happen, though. You migh try to start "sage -sh"
> of your Sage 9.0 and at its
> prompt start
>
> jupyter-notebook
>
> it should give you an option to open URL of the shape
> http://localhost:/?token=
>
> where you should ge the correct jupyter kernel (hopefully)
>
>
> On Wed, May 6, 2020 at 7:19 PM Szabolcs Horvát  wrote:
> >
> >
> >
> > On Wednesday, 6 May 2020 20:11:50 UTC+2, Dima Pasechnik wrote:
> >>
> >> On Wed, May 6, 2020 at 6:58 PM Szabolcs Horvát 
> wrote:
> >> >
> >> > I use sage 9.0 and sage 8.9 on macOS. I compiled them myself so I
> would gain access to other ILP solvers than GLPK.
> >> >
> >> > They work fine in command line mode. But if I start Sage 9.0 as sage
> --notebook, it gives me an interface to create a new notebook, which only
> has the kernel "Sage 8.9".  How can I get the Sage 9.0 kernel?
> >>
> >>  sage -notebook=jupyter
> >>
> >> should give you jupyter notebook.
> >>
> >> sagenb would only work with Python2 Sage (by default Sage 9.0 is built
> >> with Python3, not 2)
> >>
> >
> > Yes, I do get a Jupyter page in the browser, but not a notebook. In
> order to create a notebook, one must click "New" and choose the Jupyter
> kernel to use. There is no Sage 9.0 kernel there. There are some of the
> Python kernels I use independently of Sage, and there is Sage 8.9. How can
> I install the Sage 9.0 kernel? Is there documentation on this?
> >
> > --
> > 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/4feab8f6-c3dc-450d-92c3-95039aa1d7e2%40googlegroups.com
> .
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "sage-support" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/sage-support/X5sXp3a-TmA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/CAAWYfq1viv3gEHKxfPCRqLBmvFc9gOsCKJiu1c_s_yQoDF8XWg%40mail.gmail.com
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAJDnrnr6JSSFOWA_eL1YZ2i%2B5dv85s0JVGgHwbpxbZiB_idbZQ%40mail.gmail.com.


Re: [sage-support] How to use notebook in sage 9.0?

2020-05-06 Thread John H Palmieri
Silly question, but are you sure you are starting up Sage 9.0 when you do 
all of this ("sage --notebook" or "sage --sh")? If you give an explicit 
path to the Sage 9.0 version, does that help? Do you have any Sage-related 
environment variables which could be interfering with things?


On Wednesday, May 6, 2020 at 12:54:16 PM UTC-7, Szabolcs Horvát wrote:
>
> Thanks for the help Dima, but sadly, even this did not work :-( Is there a 
> simple way to set up the kernel manually?
>
> On Wed, 6 May 2020 at 20:32, Dima Pasechnik  > wrote:
>
>> this looks like a conflict between two versions of Sage (more
>> precisely, of jupyter).
>>
>> Not sure how this can happen, though. You migh try to start "sage -sh"
>> of your Sage 9.0 and at its
>> prompt start
>>
>> jupyter-notebook
>>
>> it should give you an option to open URL of the shape
>> http://localhost:/?token=
>>
>> where you should ge the correct jupyter kernel (hopefully)
>>
>>
>> On Wed, May 6, 2020 at 7:19 PM Szabolcs Horvát > > wrote:
>> >
>> >
>> >
>> > On Wednesday, 6 May 2020 20:11:50 UTC+2, Dima Pasechnik wrote:
>> >>
>> >> On Wed, May 6, 2020 at 6:58 PM Szabolcs Horvát  
>> wrote:
>> >> >
>> >> > I use sage 9.0 and sage 8.9 on macOS. I compiled them myself so I 
>> would gain access to other ILP solvers than GLPK.
>> >> >
>> >> > They work fine in command line mode. But if I start Sage 9.0 as sage 
>> --notebook, it gives me an interface to create a new notebook, which only 
>> has the kernel "Sage 8.9".  How can I get the Sage 9.0 kernel?
>> >>
>> >>  sage -notebook=jupyter
>> >>
>> >> should give you jupyter notebook.
>> >>
>> >> sagenb would only work with Python2 Sage (by default Sage 9.0 is built
>> >> with Python3, not 2)
>> >>
>> >
>> > Yes, I do get a Jupyter page in the browser, but not a notebook. In 
>> order to create a notebook, one must click "New" and choose the Jupyter 
>> kernel to use. There is no Sage 9.0 kernel there. There are some of the 
>> Python kernels I use independently of Sage, and there is Sage 8.9. How can 
>> I install the Sage 9.0 kernel? Is there documentation on this?
>> >
>> > --
>> > 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-s...@googlegroups.com .
>> > To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-support/4feab8f6-c3dc-450d-92c3-95039aa1d7e2%40googlegroups.com
>> .
>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "sage-support" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/sage-support/X5sXp3a-TmA/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> sage-s...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-support/CAAWYfq1viv3gEHKxfPCRqLBmvFc9gOsCKJiu1c_s_yQoDF8XWg%40mail.gmail.com
>> .
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/124d3fe3-1b3a-4c5e-aee5-f2a44bb446cd%40googlegroups.com.


Re: [sage-support] Error running the postinst script for pplpy-0.8.4

2020-05-06 Thread Vincent Delecroix

https://groups.google.com/forum/#!topic/sage-support/UP9siQO00vs

Le 06/05/2020 à 17:34, Carlos Rodriguez a écrit :

Ubuntu 20.4
on imac late 2013.



--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/3a2666c9-03f7-89df-6cda-24568cafe31a%40gmail.com.