Open trp86 opened 2 years ago
Hey @trp86
Thanks for opening this issue.
This looks very much like either the installation of packages listed in poetry did not go well on your end.
Can you post the output of the poetry install
command?
Alternatively, you can activate the virtual-environment with poetry shell
. And then do a pip list
. You should see typer
in there.
Just FYI, I started a clean EC2 instance and followed these steps and it did work.
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
source $HOME/.poetry/env
sudo yum install git
git clone https://github.com/datarootsio/skeleton-pyspark.git
cd skeleton-pyspark/
sudo yum install python38
poetry install
sudo yum install java-1.8.0-openjdk.x86_64
export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-1.amzn2.0.2.x86_64/jre/
poetry run spark-submit run.py dev
I followed the steps mentioned in HOWTO.rst file and I am getting a error. Below are the steps I followed.
1) Cloned the git hub repo
git clone https://github.com/datarootsio/skeleton-pyspark.git
2) Installed poetry 3) Executed poetry --version commandcodebind@c029ac673028:~/codebase/python/skeleton-pyspark$ poetry --version Poetry version 1.1.12
4) Executedpoetry install
and it was executed successfully 5) Executedpoetry run spark-submit run.py dev
and getting the below error.Can someone please help me here ?