Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Singular in Jupyter notebook
PostPosted: Mon Feb 08, 2021 9:42 pm 
I installed the the Singular kernel for Jupyter and can write singular in a Jupyter notebook. That is wonderfull. But when I tried to reopen it: error

TypeError: ext.toLowerCase is not a function

it was not possible to view and edit my work. Maybe it is linked with the fact that I can't install PySingular with pip3:

Processing ./PySingular-0.9.7.tar.gz
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-q92swtcy/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-q92swtcy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-req-build-q92swtcy/pip-egg-info
cwd: /tmp/pip-req-build-q92swtcy/
Complete output (5 lines):
Package singular was not found in the pkg-config search path.
Perhaps you should add the directory containing `singular.pc'
to the PKG_CONFIG_PATH environment variable
No package 'singular' found
Could not find a suitable libsingular configuration. Do you have libsingular headers installed?
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Does someone can help me?

Thanks


Report this post
Top
  
Reply with quote  
 Post subject: Re: Singular in Jupyter notebook
PostPosted: Sun Feb 14, 2021 7:21 pm 
I found a solution: before saving I change the kernel (for example Python). The I can reload it and changing the kernel to execute it.


Report this post
Top
  
Reply with quote  
 Post subject: Re: Singular in Jupyter notebook
PostPosted: Tue Jan 25, 2022 10:55 pm 
How did you install the singular kernel in Jupyter?


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

It is currently Fri May 13, 2022 10:53 am
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group