tazjin / nixery

Container registry which transparently builds images using the Nix package manager. Canonical repository is https://cs.tvl.fyi/depot/-/tree/tools/nixery
https://nixery.dev/
Apache License 2.0
1.83k stars 69 forks source link

Python cryptography module #163

Open rivoalrivoal opened 11 months ago

rivoalrivoal commented 11 months ago

Hello !

First, thank you for this awesome project.

I have a problem with cryptography module python : docker run --rm -it nixery.dev/shell/python3/python3packages.cryptography bash

When importing module cryptography in python, this error appears : python -c "from cryptography.fernet import Fernet"

Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'cryptography'

I have tried to change PYTHONPATH var to path of cryptography package (in /nix/store), but i have another error : No module named _cffi_backend. I don't think that's the solution

Do you have any insights into this issue?

Thank you!