Closed sinuso closed 7 months ago
That's strange. The pip package works for me. Did you check for a dependency conflict? Try installing in a virtual environment.
Thanks for this. Be informed that the .deb
package was created on Ubuntu so there might be issue(s) on non-Ubuntu based distros. Most notably the GLIBC
related.
In the case of pypi, I'm unable to reproduce the exception on my side. Despite of that, reinstalling the extra dependencies might be of help.
pip install "python-tgpt[all]"
Thanks for this. Be informed that the
.deb
package was created on Ubuntu so there might be issue(s) on non-Ubuntu based distros. Most notably theGLIBC
related.In the case of pypi, I'm unable to reproduce the exception on my side. Despite of that, reinstalling the extra dependencies might be of help.
pip install "python-tgpt[all]"
@Simatwa, I am doing it from Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-170-generic x86_64.
On a virtual machine it seems to work, but I have to install the package with sudo permissions. Without sudo permissions, this is the result after installing without errors:
:~$ pytgpt -v
Command 'pytgpt' not found, did you mean:
command 'pygpt' from snap pygpt (2.0.147)
See 'snap info <snapname>' for additional versions.
After installing with sudo, it works correctly on 3 virtual machines.
:~$ pytgpt -v
pytgpt, version 0.4.0
I did not mean a virtual machine, I meant a virtual python environment like conda or even pipx. You should be able to install it without sudo permissions completely in userspace as long as you have python installed. In order to run the command pytgpt
you will need to activate the venv before proceeding.
Thanks for this. Be informed that the
.deb
package was created on Ubuntu so there might be issue(s) on non-Ubuntu based distros. Most notably theGLIBC
related. In the case of pypi, I'm unable to reproduce the exception on my side. Despite of that, reinstalling the extra dependencies might be of help.pip install "python-tgpt[all]"
@Simatwa, I am doing it from Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-170-generic x86_64.
On a virtual machine it seems to work, but I have to install the package with sudo permissions. Without sudo permissions, this is the result after installing without errors:
:~$ pytgpt -v Command 'pytgpt' not found, did you mean: command 'pygpt' from snap pygpt (2.0.147) See 'snap info <snapname>' for additional versions.
After installing with sudo, it works correctly on 3 virtual machines.
:~$ pytgpt -v pytgpt, version 0.4.0
Will be fixed in the next release currently the startup binary is symbolically linked to system protected directory i.e /usr/bin
next release will be linked to /usr/local/bin
Unfortunately, no changes will be made in regard to the .deb package installation.
@Simatwa, Now I have this problem on all my machines. With recently installed virtual machines it works fine. It only happens to me with python-tgpt.
:~$ pip install "python-tgpt[all]"
Defaulting to user installation because normal site-packages is not writeable
ERROR: Ignored the following versions that require a different python version: 0.0.5 Requires-Python >=3.9; 0.0.6 Requires-Python >=3.9; 0.0.7 Requires-Python >=3.9; 0.0.8 Requires-Python >=3.9; 0.0.9 Requires-Python >=3.9; 0.1.0 Requires-Python >=3.9; 0.1.1 Requires-Python >=3.9; 0.1.2 Requires-Python >=3.9; 0.1.3 Requires-Python >=3.9; 0.1.4 Requires-Python >=3.9; 0.2.0 Requires-Python >=3.9; 0.2.1 Requires-Python >=3.9; 0.2.2 Requires-Python >=3.9; 0.2.3 Requires-Python >=3.9; 0.2.4 Requires-Python >=3.9; 0.2.5 Requires-Python >=3.9; 0.2.6 Requires-Python >=3.9; 0.2.7 Requires-Python >=3.9; 0.2.8 Requires-Python >=3.9; 0.2.9 Requires-Python >=3.9; 0.3.0 Requires-Python >=3.9; 0.3.1 Requires-Python >=3.9; 0.3.2 Requires-Python >=3.9; 0.3.3 Requires-Python >=3.9; 0.3.4 Requires-Python >=3.9; 0.3.5 Requires-Python >=3.9; 0.3.6 Requires-Python >=3.9; 0.3.7 Requires-Python >=3.9; 0.3.8 Requires-Python >=3.9; 0.3.9 Requires-Python >=3.9; 0.4.0 Requires-Python >=3.9; 0.4.1 Requires-Python >=3.9; 0.4.2 Requires-Python >=3.9; 0.4.3 Requires-Python >=3.9; 0.4.4 Requires-Python >=3.9; 0.4.5 Requires-Python >=3.9
ERROR: Could not find a version that satisfies the requirement python-tgpt[all] (from versions: none)
ERROR: No matching distribution found for python-tgpt[all]
I have removed the pip packages, the deb version and tried to install the deb package but it gives me an error
pip install python-tgpt
pytgpt -v