Ask Your Question

Unable to install PyNormaliz

asked 2021-06-04 10:50:54 +0200

hridaythakkar gravatar image

I would like to use PyNormaliz but the following commands don't install it:

sage -i pynormaliz

sage -p pynormaliz

The following error shows up: make: *** No rule to make target `all-toolchain'. Stop.

I have installed PyNormaliz from github but I'm not sure how to allow SageMath to use this library from /Users/.../.Library/Python/3.9/lib/python/site-packages/PyNormaliz-2.15-py3.9-macosx-10.9-x86_64.egg

Can you please advice how I can get SageMath to use PyNormaliz successfully?

Thanks in advance!

edit retag flag offensive close merge delete


Welcome to Ask Sage. Thank you for your question.

slelievre gravatar imageslelievre ( 2021-06-04 12:16:14 +0200 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2021-06-04 12:15:49 +0200

slelievre gravatar image

updated 2021-06-04 12:18:45 +0200

It would seem you are using the SageMath macOS app.

That app provides a lightweight version of Sage which has all the standard functionality but does not provide enough to extend Sage using sage -i.

The solution for you would be to install Sage

See a similar discussion in a post to sage-support:

edit flag offensive delete link more


It worked! Thanks so much @slelievre! I followed the instructions here:

hridaythakkar gravatar imagehridaythakkar ( 2021-06-08 16:50:28 +0200 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2021-06-04 10:50:54 +0200

Seen: 331 times

Last updated: Jun 08 '21