Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

ModuleNotFound Cython error in Conda

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

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.

ModuleNotFound Cython error in Conda

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

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


/home/cenobyte/.sage/crash_logs/crash_n4vxbyv 7.log ------------------------------------------------------------ ------------ Unhandled SIGILL: An illegal instruction occurred. This probably occurred because a compiled *compiled* module has a bug in it and is not properly wrapped with sig_on(), sig_of

sig_of

I tried pip install cython but it's already installer 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.