You need to install `pynormaliz` by doing `conda install pynormaliz`.

Isuru

On Sun, Jun 6, 2021 at 8:56 AM Dima Pasechnik <[email protected]> wrote:

> you should do these installations at conda prompt,
> not at Sage's prompt.
>
> On Sun, 6 Jun 2021, 13:10 Hriday Bharat Thakkar, <[email protected]>
> wrote:
>
>> This is an update. I followed the steps for installation of normaliz via
>> conda. I did the following and was able to install normaliz but when I
>> import normaliz there's an error "Normaliz not found."  It asks me restart
>> my kernel in order to use the updated packages. Can you please advice how I
>> can restart my kernel or what I need to do differently? It seems like conda
>> install normaliz worked.
>>
>> Attached is the steps I did:
>>
>>
>>
>> On Sunday, June 6, 2021 at 5:24:38 PM UTC+5:30 Hriday Bharat Thakkar
>> wrote:
>>
>>> I followed the instructions in
>>> https://doc.sagemath.org/html/en/installation/conda.html#sec-installation-conda
>>>
>>> but I'm still unable to install normaliz using 'sage -i normaliz'. Here
>>> is the screenshot. Can you please let me know if I've done something
>>> incorrectly or if there is some other way to install normaliz/pynormaliz.
>>> Thanks!
>>> On Sunday, June 6, 2021 at 2:44:46 PM UTC+5:30 [email protected] wrote:
>>>
>>>>
>>>>
>>>> On Sun, 6 Jun 2021, 09:49 Hriday Bharat Thakkar, <[email protected]>
>>>> wrote:
>>>>
>>>>> I would like to use the Normaliz library to compute Ehrhart
>>>>> polynomials, etc. I have successfully installed Normaliz from their github
>>>>> and Python's IDLE environment detects it but SageMath doesn't seem to be
>>>>> able to detect this installation.
>>>>>
>>>>> Can you please advice how I can get SageMath to use Normaliz? So far,
>>>>> I've tried installing Normaliz using two ways:
>>>>> 1. sage -i normaliz (error: make: *** No rule to make target
>>>>> `all-toolchain'.  Stop.)
>>>>>
>>>>
>>>> this might need Sage built from source.
>>>>
>>>> 2. conda install normaliz libnormaliz from
>>>>> https://doc.sagemath.org/html/en/reference/spkg/normaliz.html
>>>>> (error for 2. is attached as a screenshot)
>>>>>
>>>>
>>>> this needs conda channel with Sage (conda-forge). See
>>>>
>>>>
>>>> https://doc.sagemath.org/html/en/installation/conda.html#sec-installation-conda
>>>>
>>>>
>>>>
>>>>
>>>>> Thanks much!
>>>>>
>>>>>
>>>>> --
>>>>> 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/8781be82-0f35-4529-ba3d-cad5e867f9a4n%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/sage-support/8781be82-0f35-4529-ba3d-cad5e867f9a4n%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/fb0e28e8-d427-4dc8-9ff6-c8c5c81bdf30n%40googlegroups.com
>> <https://groups.google.com/d/msgid/sage-support/fb0e28e8-d427-4dc8-9ff6-c8c5c81bdf30n%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/CAAWYfq1Za4-aMv0501AUCHQJDeHPOHwqnx4EUoiQd%2B%3DpLexBTA%40mail.gmail.com
> <https://groups.google.com/d/msgid/sage-support/CAAWYfq1Za4-aMv0501AUCHQJDeHPOHwqnx4EUoiQd%2B%3DpLexBTA%40mail.gmail.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/CA%2B01voMB3jtKBP4i%2BBTF_KScS1GpBawFgSVf9R%2BJPXAXPRa-hA%40mail.gmail.com.

Reply via email to