-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Closed
Description
Trying to follow your instructions, I went into the backend
folder and tried poetry install
.
❯ echo "OPENAI_API_KEY=sk-aaa...xxx" > .env
❯ poetry install
Creating virtualenv backend-dR2C48Xf-py3.11 in /home/antouank/.cache/pypoetry/virtualenvs
Installing dependencies from lock file
Package operations: 20 installs, 0 updates, 0 removals
• Installing certifi (2023.7.22)
• Installing h11 (0.14.0)
• Installing idna (3.4)
• Installing sniffio (1.3.0)
• Installing anyio (3.7.1)
• Installing httpcore (1.0.2)
• Installing typing-extensions (4.8.0)
• Installing click (8.1.7)
• Installing distro (1.8.0)
• Installing httpx (0.25.1)
• Installing pydantic (1.10.13)
• Installing soupsieve (2.5)
• Installing starlette (0.27.0)
• Installing tqdm (4.66.1)
• Installing beautifulsoup4 (4.12.2)
• Installing fastapi (0.95.2)
• Installing openai (1.2.4)
• Installing python-dotenv (1.0.0)
• Installing uvicorn (0.24.0.post1)
• Installing websockets (12.0)
Installing the current project: backend (0.1.0)
The current project could not be installed: [Errno 2] No such file or directory: '/home/antouank/_REPOS_/screenshot-to-code/backend/README.md'
If you do not want to install the current project use --no-root
I added a README but no difference really.
I also tried running it at the root folder as well, again it throws an error.
❯ touch README.md
❯ poetry install
Installing dependencies from lock file
No dependencies to install or update
Installing the current project: backend (0.1.0)
The current project could not be installed: No file/folder found for package backend
If you do not want to install the current project use --no-root
❯ cd ..
❯ poetry install
Poetry could not find a pyproject.toml file in /home/antouank/_REPOS_/screenshot-to-code or its parents
What am I missing?
( what is "poetry" anyway? )
Metadata
Metadata
Assignees
Labels
No labels