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.

Reply via email to