Hi team, I am setting up kedro for the first time...
# questions
s
Hi team, I am setting up kedro for the first time for a project, and I'm facing some issues in installations. Basically my environment and all the requirements (
requirements.txt, pyproject.toml, and kedro environment settings
) are all on "`0.18.3`" But when I try to run my desired notebook with commands, I face this issue Any ways I can fix this? I am unable to run my required pipeline
j
hi @Sabahat Zubair! if I understand correctly, you were onboarded to an existing project and you installed Kedro for the first time, right?
what you can try to do is to install the Kedro version from the error message instead of the latest one:
Copy code
pip install "kedro==0.18.3"
s
I tried this already... but doesnt work
Another thing, when I try to run a kedro command from the terminal, it gives me this error -> Missing required keys ['kedro init version'] from 'pyproject.toml'
Yet when I add this to the toml file, and run the notebook, it gives me the error "unrecognised parameter"
would it be possible to huddle over this?
m
@Sabahat Zubair Is the version of Kedro in the notebook the same as the one installed in your environment?
s
yes
m
And what’s the error message you get when you do
pip install "kedro==0.18.3"
?
s
There's no error message -> its tells me requirements already satisfied, but when I do a kedro run, or try to check the kedro version, it gives me an error
Like i'm not sure where the version 0.19.1 is coming from, all my installs from my files and ones Ive done manually for notebook, kedro environment are for 0.18.3
Could we maybe have a call to troubleshoot?
s
Maybe try doing this in a new python environment, to avoid any conflicts with existing packages or dependencies.
j
also @Sabahat Zubair have a look at the internal Slack :)
s
@Sabahat Zubair I have tried this multiple times, creating new environments and re-installing the requirements
@Juan Luis that's where I started out and was referred here 🙂
j
I know, but we're having an internal call and I'm inviting you there 🙏🏼
m
just out of curiosity in your notebook could you
Copy code
import sys 
print(sys.prefix) 
Print(sys.path) 

!pip show kedro
It really looks like your notebook runs “on” the wrong kernel… 😉
s
@Juan Luis hey, where? I cant see the call, my bad 👀
j
reaching out in private