ModuleNotFound Cython error in Conda

asked 2023-08-15 19:57:24 +0100

cenobyte gravatar image

updated 2023-08-15 20:22:05 +0100

Emmanuel Charpentier gravatar image

I followed the exact instructions found here: https://doc.sagemath.org/html/en/inst...

It seems to install fine but as soon as I launch it, I get the errors below;

the target
process, check the setting of /proc/sys/kernel/yama/ptrace_s
cope, or try
again as the root user.  For more details, see /etc/sysctl.d
/10-ptrace.conf
ptrace: Inappropriate ioctl for device.
No stack.
Traceback (most recent call last):
  File "<string>", line 25, in <module>
ModuleNotFoundError: No module named 'Cython'
Error while executing Python code.
warning: Inferior ID 1 is not running.
Saved trace to /home/cenobyte/.sage/crash_logs/crash_n4vxbyv
7.log
------------------------------------------------------------
------------
Unhandled SIGILL: An illegal instruction occurred.
This probably occurred because a *compiled* module has a bug
in it and is not properly wrapped with sig_on(), sig_of

I tried pip install cython but it's already installer

Ubuntu 22 python 3.7 and 3.9 tried both with the same result. I have no idea how to fix this or if it's fixable. Sage 10, but using python 3.7.installs sage 9.6 with the same problem.

edit retag flag offensive close merge delete

Comments

Edited for legibility : if you need to quote code or putput, indent the block by four spaces, or uise the 010101 button.

Emmanuel Charpentier gravatar imageEmmanuel Charpentier ( 2023-08-15 20:23:17 +0100 )edit