Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python package works with sage python, but Sage package fails to load #1022

Open
antonleykin opened this issue Oct 7, 2019 · 1 comment
Open

Comments

@antonleykin
Copy link
Contributor

This is related to
sagemath/cysignals#115

If M2 is compiled --with-python in sage -sh, the package Python works... but Sage fails to load.

i1 : needsPackage "Sage"
-- success: python is present
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "", line 1, in <module>
    
  File "/Users/leykin/R/sage/local/lib/python2.7/site-packages/sage/all.py", line 77, in <module>
    from cysignals.signals import (AlarmInterrupt, SignalError,
  File "/Users/leykin/R/sage/local/lib/python2.7/site-packages/cysignals/__init__.py", line 3, in <module>
    init_cysignals()
  File "src/cysignals/signals.pyx", line 251, in cysignals.signals.init_cysignals
ValueError: signal only works in main thread
../../../../M2-anton/M2/Macaulay2/packages/Sage.m2:5:6:(2):[10]: error: python error
@antonleykin
Copy link
Contributor Author

@dimpase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant