I'm new to kedro and I have a problem when opening Jupyter Lab/Notebook from Kedro using the command kedro jupyter lab
.
The error was:
TypeError: Can't instantiate abstract class ProjectContext with abstract methods project_name, project_version
Run with --verbose to see the full exception
Error: Unable to load Kedro context with environment None
. Make sure it exists in the project configuration.
Error: Can't instantiate abstract class ProjectContext with abstract methods project_name, project_version
I have been following the steps in kedro official docs website , but didn't succeed. For replication purpose, here are the steps I performed:
- Create new conda environment:
conda create --name myenv
- Activate the environment:
source activate myenv
- Create new kedro project with pyspark starter:
kedro new --starter=pyspark
- Go to newly created project folder:
cd my_project
- Install requirements:
kedro install
- Open jupyter lab:
kedro jupyter lab --no-browser
Step 6 where gave me the error. As a side note, I had to do point 5 twice because the first time gave me incompatible error, but then I executed it again and it works.
Sorry in advance if I didn't put too much detail as this is the first time asking in stackoverflow. Feel free to ask any details you need, I'll be gladly to answer them.
Thank you.