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

Installation failed with poetry #39

Open
aicoder2048 opened this issue Nov 29, 2023 · 3 comments · May be fixed by #41
Open

Installation failed with poetry #39

aicoder2048 opened this issue Nov 29, 2023 · 3 comments · May be fixed by #41

Comments

@aicoder2048
Copy link

Hi,
I am running on Windows 11, and I have created a separate venv for this project.

when I run "poetry install --with dev", I got the following five lines of message, error message
Installing dependencies from lock file
No dependencies to install or update
Installing the current project: rags (0.0.2)
The current project could not be installed: No file/folder found for package rags
If you do not want to install the current project use --no-root

To resolve the problem, I have deleted venv and github repo, and then recreated the venv and re-clone the repo, but the problem above persist.

Pls help,
thanks,
Sean

@snehankekre
Copy link

You need to add --no-root to the install command:

poetry install --with dev --no-root

@aicoder2048
Copy link
Author

not sure what does it mean "If you do not want to install the current project use --no-root" , when it is trying to "Installing the current project: rags (0.0.2)". I will try with no-root, thanks.

@snehankekre
Copy link

snehankekre commented Nov 30, 2023

This is simplifying a lot, but it essentially means "don't install rags as a Python package in my environment. Only install the dependencies from pyproject.toml".

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

Successfully merging a pull request may close this issue.

2 participants