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

G6k + SageMath seems broken (in Conda) #110

Open
malb opened this issue Nov 21, 2022 · 2 comments
Open

G6k + SageMath seems broken (in Conda) #110

malb opened this issue Nov 21, 2022 · 2 comments

Comments

@malb
Copy link
Contributor

malb commented Nov 21, 2022

Trying to build a conda environment which has G6K in SageMath, I'm getting:

Python 3.9.13 | packaged by conda-forge | (main, May 27 2022, 16:58:50) 
[GCC 10.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import g6k
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/malb/projects/lattices/g6k/g6k/__init__.py", line 23, in <module>
    from .siever_params import SieverParams  # noqa
ImportError: /home/malb/projects/lattices/g6k/g6k/siever_params.cpython-39-x86_64-linux-gnu.so: undefined symbol: _ZGVeN8v_log
>>> 
@malb
Copy link
Contributor Author

malb commented Nov 21, 2022

This seems related to some vectorisation: scipy/scipy#15414

@ndrahmani
Copy link

I installed sage on Conda then I have installed fpylll and fplll using
sage --python install fpylll,fplll
then used

sage --pip install -r requirements.txt
sage --python setup.py build_ext --inplace 

and then add the path to sage environment and it works fine for me

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

2 participants