-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
Issue while installation #2005
Comments
Can you try to install using this guide?
|
I got exactly the same error on macos using the python3.11 venv poetry install commands you list.
|
I can see it's already an issue here but has been marked stale. I'll try installing ffmpy with pip before running the poetry command |
ok - so i had success - but also had to remove ffmpy and docx2txt from the Then i set up my venv, activated it and pip installed poetry, ffmpy and docx2txt.
|
Yeah I'm also faced this issue but I soved this. |
Can you try with last changes? |
Yeah |
I´ve tried and have the same error. I had PGPT allready installed, but pulled latest updates regarding Llama 3 as default, and new version of pyprject.toml. Then i poetry update and poetry locked, and installed dependencies to run it fully local. I got the error during this last installation. |
What version of |
After applying this solution, it worked without error: pip install build |
Can you try to remove |
@jaluma python3.11 -m venv .venv |
I don´t have any ".venv" folder since i created the environment directlly on IntelliJ. |
Pre-check
Description
While i try to install, i am getting following error:
(gpt) C:\Users\genco\OneDrive\Desktop\private-gpt-main>pip install build
Collecting build
Downloading build-1.2.1-py3-none-any.whl.metadata (4.3 kB)
Requirement already satisfied: packaging>=19.1 in c:\programdata\anaconda3\envs\gpt\lib\site-packages (from build) (23.2)
Collecting pyproject_hooks (from build)
Downloading pyproject_hooks-1.1.0-py3-none-any.whl.metadata (1.3 kB)
Requirement already satisfied: colorama in c:\programdata\anaconda3\envs\gpt\lib\site-packages (from build) (0.4.6)
Downloading build-1.2.1-py3-none-any.whl (21 kB)
Downloading pyproject_hooks-1.1.0-py3-none-any.whl (9.2 kB)
Installing collected packages: pyproject_hooks, build
Successfully installed build-1.2.1 pyproject_hooks-1.1.0
(gpt) C:\Users\genco\OneDrive\Desktop\private-gpt-main>poetry install --extras "ui llms-ollama embeddings-ollama vector-stores-qdrant"
Installing dependencies from lock file
Package operations: 15 installs, 0 updates, 2 removals
ChefBuildError
Backend subprocess exited when trying to invoke get_requires_for_build_wheel
C:\ProgramData\anaconda3\envs\gpt\python.exe: can't open file 'C:\ProgramData\anaconda3\envs\gpt\Lib\site-packages\pyproject_hooks\_in_process\_in_process.py': [Errno 2] No such file or directory
at C:\ProgramData\anaconda3\envs\gpt\Lib\site-packages\poetry\installation\chef.py:164 in _prepare
160│
161│ error = ChefBuildError("\n\n".join(message_parts))
162│
163│ if error is not None:
→ 164│ raise error from None
165│
166│ return path
167│
168│ def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:
Note: This error originates from the build backend, and is likely not a problem with poetry but with ffmpy (0.3.1) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "ffmpy (==0.3.1)"'.
Steps to Reproduce
simply followed the guidelines.
Expected Behavior
complete installation
Actual Behavior
failed installation.
Environment
windows 11 with nvidia rtx 4060 with ollama.
Additional Information
No response
Version
No response
Setup Checklist
NVIDIA GPU Setup Checklist
nvidia-smi
to verify).sudo docker run --rm --gpus all nvidia/cuda:11.0.3-base-ubuntu20.04 nvidia-smi
)The text was updated successfully, but these errors were encountered: