Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running poetry install in the backend - No file/folder found for package backend #494

Closed
Marcelfoxion opened this issue Feb 24, 2025 · 3 comments

Comments

@Marcelfoxion
Copy link

Hello everyone,

I'm encountering a red error when running poetry install in the backend:

Error: 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.
If you want to use Poetry only for dependency management but not for packaging, you can disable package mode by setting package-mode = false in your pyproject.toml file.

If you did intend to install the current project, you may need to set packages in your pyproject.toml file

Does the red error mean my poetry is not installed correctly?

Shall I just ignore it and move on and paste into the terminal the next commands ?

poetry shell
poetry run uvicorn main:app --reload --port 7001

Thank you in advance.
Kind regards

@abi
Copy link
Owner

abi commented Feb 24, 2025

I think as mentioned here (#493 (comment)), you can safely ignore this error. Are you able to run the project successfully?

@Marcelfoxion
Copy link
Author

Unfortunately no. I have no API keys when trying this PR cristianorevil/screenshot-to-code

error: OpenAI API key not found.

I created .env file with API keys but it still does't work. I've seen few comments of people struggling to make it work on azure.

Is this most recent azure implementation ?

(https://github.com/cristianorevil/screenshot-to-code)

@Marcelfoxion
Copy link
Author

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants