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

Multiprocessing - ModuleNotFoundError #77

Open
nbaghiro opened this issue Jul 27, 2021 · 0 comments
Open

Multiprocessing - ModuleNotFoundError #77

nbaghiro opened this issue Jul 27, 2021 · 0 comments

Comments

@nbaghiro
Copy link

python-local-lambda: 0.1.12
python: 3.9

Another issue has been opened related to this exact error but that was mentioned as specific to Windows and is closed now
https://github.com/HDE/python-lambda-local/issues/45

This same error happens to me on Mac and I think it is related to the comment linked below, can someone please confirm the cause of this issue and suggest on how to fix/work around it?

this seems to be related to the fact that python-lambda-local spawns a process where it executes the lambda and since Python doesn't let nested processes, that is probably causing this I would assume, but not sure why it doesn't throw the following error instead

AssertionError: daemonic processes are not allowed to have children
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 116, in spawn_main
    exitcode = _main(fd, parent_sentinel)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py", line 126, in _main
    self = reduction.pickle.load(from_parent)
ModuleNotFoundError: No module named 'request-fb247376-e9b9-49e4-bce1-8b3989f3a624'
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