Closed PistilReaper closed 2 months ago
Hi, I think the error is caused by the option, which sets tf to 2.11.0. I think you can change the tf - requirements in the setup.py from ==2.11.0 to
= 2.7.0.
On Tue, 10 Sep 2024, 14:29 PistilReaper @.***> wrote:
Hi there! I'd like to try this extension of geppy in my research, but I met some problems when I try to install it in my environment. I cloned the repository and created a env with anaconda. When I ran pip install . from the root directory, I got error as follows:
INFO: pip is looking at multiple versions of tensorflow-text to determine which version is compatible with other requirements. This could take a while. Collecting tensorflow-text>=2.7.0 (from tf-models-official==2.7.0->geppy-memory==0.0.1) Downloading tensorflow_text-2.9.0-cp39-cp39-win_amd64.whl.metadata (2.1 kB) Downloading tensorflow_text-2.8.2-cp39-cp39-win_amd64.whl.metadata (2.1 kB) Downloading tensorflow_text-2.8.1-cp39-cp39-win_amd64.whl.metadata (2.0 kB) Downloading tensorflow_text-2.7.3-cp39-cp39-win_amd64.whl.metadata (1.8 kB) Collecting rotary-embedding-tensorflow (from geppy-memory==0.0.1) Downloading rotary-embedding-tensorflow-0.1.0.tar.gz (5.3 kB) Preparing metadata (setup.py) ... done INFO: pip is still looking at multiple versions of tensorflow-text to determine which version is compatible with other requirements. This could take a while. ERROR: Cannot install geppy-memory, geppy-memory==0.0.1 and tf-models-official because these package versions have conflicting dependencies.
The conflict is caused by: geppy-memory 0.0.1 depends on tensorflow==2.11.0 tf-models-official 2.7.0 depends on tensorflow>=2.7.0 rotary-embedding-tensorflow 0.1.0 depends on tensorflow>=2.3 tensorflow-text 2.10.0 depends on tensorflow<2.11 and >=2.10.0; platform_machine != "arm64" or platform_system != "Darwin" geppy-memory 0.0.1 depends on tensorflow==2.11.0 tf-models-official 2.7.0 depends on tensorflow>=2.7.0 rotary-embedding-tensorflow 0.1.0 depends on tensorflow>=2.3 tensorflow-text 2.9.0 depends on tensorflow<2.10 and >=2.9.0; platform_machine != "arm64" or platform_system != "Darwin" geppy-memory 0.0.1 depends on tensorflow==2.11.0 tf-models-official 2.7.0 depends on tensorflow>=2.7.0 rotary-embedding-tensorflow 0.1.0 depends on tensorflow>=2.3 tensorflow-text 2.8.2 depends on tensorflow<2.9 and >=2.8.0; platform_machine != "arm64" or platform_system != "Darwin" geppy-memory 0.0.1 depends on tensorflow==2.11.0 tf-models-official 2.7.0 depends on tensorflow>=2.7.0 rotary-embedding-tensorflow 0.1.0 depends on tensorflow>=2.3 tensorflow-text 2.8.1 depends on tensorflow<2.9 and >=2.8.0 geppy-memory 0.0.1 depends on tensorflow==2.11.0 tf-models-official 2.7.0 depends on tensorflow>=2.7.0 rotary-embedding-tensorflow 0.1.0 depends on tensorflow>=2.3 tensorflow-text 2.7.3 depends on tensorflow<2.8 and >=2.7.0
To fix this you could try to:
- loosen the range of package versions you've specified
- remove package versions to allow pip to attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
My python version is 3.9.19(by default). How may I fix this problem?
— Reply to this email directly, view it on GitHub https://github.com/maxreiss123/gep-llm/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHUWZPFPCW7LI5HVAZKXKQ3ZV3QYXAVCNFSM6AAAAABN6UUBCGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUYTMMZSGIYTAOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Many thanks to your help. That works.
Hi there! I'd like to try this extension of geppy in my research, but I met some problems when I try to install it in my environment. I cloned the repository and created a env with anaconda. When I ran
pip install .
from the root directory, I got error as follows:My python version is 3.9.19(by default). How may I fix this problem?