-
-
Notifications
You must be signed in to change notification settings - Fork 582
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
ModuleNotFoundError: No module named 'rpds.rpds' #1175
Comments
Please share something which reproduces, as everything works fine here. |
Hi, I have the same error.
|
Lambda isn't a supported environment inasmuch as it isn't something that runs in CI here, and I don't personally have access or test on it. Everything may work there (and it seems likely it does, given I know many users do use it) but I don't directly support it even at the level that I provide support at all. Please provide some reproducer that doesn't involve it -- something that I can run which produces the behavior you're indicating. |
According to this stackoverflow, the issue appeared with 4.18 : https://stackoverflow.com/questions/76667202/aws-lambda-function-cant-find-module. |
rpds as a dependency was introduced in 4.18, so that's not surprising. Feel free to follow up if you have a reproducer. Going to close for now, as I don't believe anything is wrong with the package itself, I suspect it's Lambda doing wrong things on installation, but if that turns out to not be the case happy to look into things with the reproducer. |
I am seeing this also when using AWS ZIP lambdas or AWS sam local. AWS Docker lambdas are working fine. I can knock together a project demonstrating this using AWS sam local if that helps? |
in my case, this error is caused by a mismatch of python versions
but
so the why two different python versionsblame nixpkgs/pkgs/applications/networking/gns3/default.nix mkGui = args: callPackage (import ./gui.nix (args)) {
inherit (libsForQt5) wrapQtAppsHook;
python3Packages = python311Packages;
};
ping nixpkgs gns3 maintainer @anthonyroussel |
revert d203ca98569fca1f9a0641a30cd9841b3b646c0a from NixOS/nixpkgs#326646 which created derivations with 2 python versions (3.11 + 3.12) which breaks the import of rpds: ModuleNotFoundError: No module named 'rpds.rpds' python-jsonschema/jsonschema#1175
The following issue is raised when importing jsonschema from the latest release of v.4.19.1. I used to work with v4.17.0 and there were no issues. Any fix ?
The text was updated successfully, but these errors were encountered: