-
-
Notifications
You must be signed in to change notification settings - Fork 47
FileNotFoundError: [Errno 2] No such file or directory: 'locale' #110
Comments
@exarkun I have good news and bad news.
% pypi2nix -V "2.7" -e treq -E "libffi openssl" -v Keep in mind that I was using pypi2nix from current master.
There is a plan to fix circular dependencies this year, but major refactoring, how Nix wraps python packages, is needed. Thank you for reporting this problem. Once I (or anybody else) tackles this problem we need many examples to prove that solution works. |
I don't see how libffi and openssl relate to missing "locale". The problem comes from click package, as it tries to ensure that locales are set to UTF-8 by running EDIT: I initially encountered the same problem when I installed pypi2nix in a Docker container (https://github.com/LnL7/nix-docker) and tried to run it there. |
I was running into a similar problem when I wanted to deploy a click based application with numtide/nix-builder. To solve this issue I also installed
When you build your docker image with the nix function buildDockerImage, then you would probably point |
@seppeljordan Thank you very much! |
i think this issue was solved. please reopen if i'm wrong |
The text was updated successfully, but these errors were encountered: