-
Notifications
You must be signed in to change notification settings - Fork 34
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
Unable to load context in jupyter notebook: error in function _parse_requirements
#64
Comments
Hello, I think this error is both easy to solve for your use case... but cannot be totally fixed with On the short termIf you use
|
As currently I'm not using |
…Galilei#30 Galileo-Galilei#31 Galileo-Galilei#72 Galileo-Galilei#29 Galileo-Galilei#62 - context access - kedro 16.5 - hook auto registration
Hi,
I have a problem when running
kedro jupyter notebook
. The context variable is not loaded. When I do%reload_kedro
in my notebook, I see this error:c:\users\quark.conda\envs\tfm-env\lib\site-packages\kedro_mlflow\utils.py in _parse_requirements(path, encoding)
71
72 def _parse_requirements(path, encoding="utf-8"):
---> 73 with open(path, mode="r", encoding=encoding) as file_handler:
74 requirements = [
75 x.strip() for x in file_handler if x.strip() and not x.startswith("-r")
FileNotFoundError: [Errno 2] No such file or directory: 'src\requirements.txt'
However, the requirements file is there. I needed to modify that function to do nothing and I got the context variable available again.
Thanks in adavance!
The text was updated successfully, but these errors were encountered: