when I try to import:
>>> import IPython.lib.pretty._
IPython.lib.pretty._PrettyPrinterBase(
IPython.lib.pretty._exception_base(
IPython.lib.pretty._safe_getattr(
IPython.lib.pretty._counter_pprint(
IPython.lib.pretty._exception_pprint(
IPython.lib.pretty._seq_pprinter_factory(
IPython.lib.pretty._default_pprint(
IPython.lib.pretty._function_pprint(
IPython.lib.pretty._set_pprinter_factory(
IPython.lib.pretty._defaultdict_pprint( IPython.lib.pretty._get_mro(
IPython.lib.pretty._singleton_pprinters
IPython.lib.pretty._deferred_type_pprinters
IPython.lib.pretty._ordereddict_pprint(
IPython.lib.pretty._sorted_for_pprint(
IPython.lib.pretty._deque_pprint(
IPython.lib.pretty._re_pattern_pprint(
IPython.lib.pretty._super_pprint(
IPython.lib.pretty._dict_pprinter_factory(
IPython.lib.pretty._re_pattern_type(
IPython.lib.pretty._type_pprint(
IPython.lib.pretty._env_type(
IPython.lib.pretty._repr_pprint(
IPython.lib.pretty._type_pprinters
понедельник, 4 ноября 2019 г., 14:47:05 UTC+3 пользователь Александр
Ватузов написал:
>
> sage building is sucsess now. But running sage makes error
>
> cannot import name '_baseclass_reprs' from 'IPython.lib.pretty'
>
> it looks like new libreary, but don't undestend, which one
>
> понедельник, 4 ноября 2019 г., 12:51:24 UTC+3 пользователь Dima Pasechnik
> написал:
>>
>>
>>
>> On Mon, 4 Nov 2019, 09:47 Александр Ватузов, <[email protected]> wrote:
>>
>>> it builds cython lib?
>>>
>> yes
>>
>>>
>>> понедельник, 4 ноября 2019 г., 12:35:17 UTC+3 пользователь Dima
>>> Pasechnik написал:
>>>>
>>>>
>>>>
>>>> On Mon, 4 Nov 2019, 09:27 Александр Ватузов, <[email protected]> wrote:
>>>>
>>>>> "./sage -pip install cython" installs cython for python3: Requirement
>>>>> already satisfied: cython in ./local/lib/python3.7/site-packages
>>>>> (0.29.14);
>>>>> and
>>>>> "Requirement already satisfied: gmpy2 in
>>>>> ./local/lib/python3.7/site-packages (2.0.8)"
>>>>>
>>>>> So I think that, may be, cython need gmpy2 installed in other way? I
>>>>> still have na error:
>>>>>
>>>> try
>>>>
>>>> ./sage -f gmpy2
>>>>
>>>>
>>>>> [sagelib-8.9] cimport gmpy2
>>>>> [sagelib-8.9] ^
>>>>> [sagelib-8.9]
>>>>> ------------------------------------------------------------
>>>>> [sagelib-8.9]
>>>>> [sagelib-8.9] sage/rings/complex_double.pyx:110:8: 'gmpy2.pxd' not
>>>>> found
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> воскресенье, 3 ноября 2019 г., 23:52:01 UTC+3 пользователь Simon King
>>>>> написал:
>>>>>>
>>>>>> Hi Dima,
>>>>>>
>>>>>> On 2019-11-02, Dima Pasechnik <[email protected]> wrote:
>>>>>> > There "python" is Sage's Python, "pip" manages its modules, etc.
>>>>>>
>>>>>> IIRC, that's not true for Sage's py-3 version. Namely, if one opens a
>>>>>> sage-with-py-3 shell, then "python" still means "python2". So, if you
>>>>>> really want Sage-with-py-3's Python installation, you should either
>>>>>> do
>>>>>> "sage -python" or (in a Sage shell) "python3". And I think the same
>>>>>> holds for pip.
>>>>>>
>>>>>> Best regards,
>>>>>> Simon
>>>>>>
>>>>>> --
>>>>> 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 view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/sage-support/8a5eb4d3-d9a4-4630-8d74-f3e5c3e0f276%40googlegroups.com
>>>>>
>>>>> <https://groups.google.com/d/msgid/sage-support/8a5eb4d3-d9a4-4630-8d74-f3e5c3e0f276%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> --
>>> 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 view this discussion on the web visit
>>> https://groups.google.com/d/msgid/sage-support/14f34695-6908-466f-ba2e-709230fc8aed%40googlegroups.com
>>>
>>> <https://groups.google.com/d/msgid/sage-support/14f34695-6908-466f-ba2e-709230fc8aed%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/sage-support/dccdee54-b1d8-40c7-96f2-4651c1c775da%40googlegroups.com.