-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Poetry Install Bug #8286
Comments
As you can see, I found quite a significant amount of bugs with Poetry. I am trying to build the GenossGPT model GPT4All. I can't if Poetry, even in seen virtual environment fails because of the bugs seen. Bug #1: Poetry requires the --all flag to be set when clearing cache. It clearly says that the -a function does not exist as you can see. That is a bug, as it did previously. Bug #2: Poetry's install command fails to find and install the dependencies required to run GenossGPT. In the output printed above, it says it is installing dependencies from its .lock file, but there are none listed. See attached my .lock file for your viewing needs:
|
(1) you typed There are no bugs here, please refer to the documentation. |
Well, I am going to counter and say that it doesn't work outside the virtual environmemt either. The virtual environment Poetry was in, is its own. |
you haven't told us how you installed poetry but I guess to get into this it was not by a supported method. Uninstall it, and start over but following the docs. you haven't shared your pyproject.toml so if there is a problem with that no-one else can do anything about it |
I followed the guide to install Poetry in the first place. I have shared my .toml. You didn't look. |
do you mean this? [tool.poetry]
name = "gpt4all"
version = "0.1.0"
description = ""
authors = ["Your Name "]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api" if so the answer is clear: you haven't added any dependencies. Of course poetry doesn't install anything. But then that Oh, later you provide a blob of text that is a I suspect this is your first time with poetry and you don't know what you're doing. That's fine, that's how we all start out. But please: don't raise an issue declaring that you have found lots of bugs - first read and follow the docs. Please close. |
No, I meant this: [tool.poetry] name = "GenossGPT" version = "0.0.1" description = "An LLVM that utilises the GPT4.0 Architecture." authors = ["Nickolas De Been"] readme = "README.md" [tool.poetry.dependencies] python = "^3.11" [tool.poetry.scripts] genossgpt = "genossgpt.main:main_function" [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api" |
As I say - same answer. You haven't provided any dependencies, poetry doesn't know about dependencies, there is no bug. Please close. |
This is not the case, as GitHub does not support the uploading of .lock and .toml files. |
Wrong, because I went with the defaults that Poetry requested. I simply pressed enter on all questions. Poetry failed to ask for dependencies, otherwise I would have seen them. |
GenossGPT is made from the GPT4All repository: |
Let's not bicker about your formatting or your ability to enter dependencies:
bottom line: you haven't added any dependencies and that's where you are. Please close. |
Arguing is what you think I'm doing. I am doing what I know and see. And this is following instructions on the repositories page. It said nothing about dependencies that are required. I haven't seen you respond with any dependencies yet, so rather then trying to create an argument as you think I am doing, which is an accusation at best, print the dependencies required. And this is with a please and a thank you on top. |
I think I have come to a thought as to why Poetry failed to install any dependencies: https://github.com/OpenGenerativeAI/GenossGPT The GenossGPT or OpenGenerativeAI page in this case (both are the same though) also failed to list any dependencies as Poetry isn't there's to manage the repository of in the first place. |
Poetry was installed via curl. Following the "docs" instructions. |
It does...
because you didn't list any in the pyproject.toml. If your project needs
That's not how poetry works. |
Well, I just gave up on it. If the OpenGenerativeAI and GPT4All project's both fail list even a single dependency, Poetry is not going to build nor install anything. |
please close |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Good afternoon from Fedora 38, and Australia as a result.
I am a freelance programmer, but I am about to go into a Diploma of Game Development.
The text was updated successfully, but these errors were encountered: