For me, I needed a file called myproject.py. (Could be an empty file.)
myproject.py
Otherwise running poetry install would throw:
poetry install
Error: The current project could not be installed: No file/folder found for package myproject