Coder Social home page Coder Social logo

Comments (12)

SysAdminSmith avatar SysAdminSmith commented on July 25, 2024 1

PyPI has been updated with v3.8.3 which addresses this issue. Please check it out and let me know of any issues.

I can confirm that this appears to have fixed issues on my host. Thank you!

from gpu-utils.

Ricks-Lab avatar Ricks-Lab commented on July 25, 2024

This should be fixed in the version under development now. Can you clone the repository and test it out?

from gpu-utils.

SysAdminSmith avatar SysAdminSmith commented on July 25, 2024

This should be fixed in the version under development now. Can you clone the repository and test it out?

Trying now but having issues installing vext. May be because Im running python3.11.2? (my python skills are negligible)

from gpu-utils.

Ricks-Lab avatar Ricks-Lab commented on July 25, 2024

vext may not be needed. I have discovered that GtK seems to only work with the Native python version.

I have added a pip package. This will not require setting up a venv:
pip test package

Make sure all of gpu-utils packages are uninstalled.

from gpu-utils.

SysAdminSmith avatar SysAdminSmith commented on July 25, 2024

Error:

Fatal error from pip prevented installation. Full pip output in file:
    /home/<domain>/<user>/.local/pipx/logs/cmd_2023-10-10_06.49.47_pip_errors.log

Some possibly relevant errors from pip install:
    ERROR: Could not find a version that satisfies the requirement rickslab-gpu-utils-3-8-3-py3-none-any-whl (from versions: none)
    ERROR: No matching distribution found for rickslab-gpu-utils-3-8-3-py3-none-any-whl

Error installing rickslab-gpu-utils-3-8-3-py3-none-any-whl.

Again, fully accept I may be python'ing wrong haha :/

from gpu-utils.

Ricks-Lab avatar Ricks-Lab commented on July 25, 2024

I have just installed it on one of my systems with no issues. It is running Ubuntu 22.04.3 LTS.

Make sure all other rickslab-gpu-utils packages are removed. Once the whl package is downloaded, in stall with the following command:

pip install rickslab_gpu_utils-3.8.3-py3-none-any.whl

Maybe you have an old version of pip which can be upgraded with the following command:

python3 -m pip install --upgrade pip

If you are on an old distro, you may need to run pip3 instead of pip.

from gpu-utils.

SysAdminSmith avatar SysAdminSmith commented on July 25, 2024

Sorry for the delay, Internet went out for 24 hours (seriously).

Unfortunately, I may not be the man to assist with this as I clearly can't pip correctly.

I did ensure all other gpu_utils are uninstalled and I did upgrade pip. Further, I 'su user.root -c "sudo -S rm -v /usr/lib/python3.11/EXTERNALLY-MANAGED"' so that I could install outside of the envelope. I still got:

$ pip install /home/domain.local/user/rickslab_gpu_utils-3.8.3-py3-none-any.whl
Defaulting to user installation because normal site-packages is not writeable
Processing ./rickslab_gpu_utils-3.8.3-py3-none-any.whl
ERROR: Wheel 'rickslab-gpu-utils' located at /home/domain.local/user/rickslab_gpu_utils-3.8.3-py3-none-any.whl is invalid.

from gpu-utils.

seapoup avatar seapoup commented on July 25, 2024

I had the same issue invalid literal for int() with base 10 as mentioned in the opening post, running Debian 12, using version 3.8.0 from the Debian repository.
0xfffd7fff enabled write access and most functions, but no access to gpu-pac.
0xfff7ffff as returned by my system did not enable write access, also no access to gpu-pac.

I cloned the repository and created the venv, though installing the requirements pip3 install --no-cache-dir -r requirements-venv.txt I managed to recreate the errors for vext. The software then runs fine, but gpu-pac and some other commands require vext.

What fixed it for me was installing the replacement as written in the error message inside the venv pip3 install --no-cache-dir --use-pep517 vext. Installation of vext-gi goes fine afterwards. Also had to install numpy system-wide afterwards. gpu-pac now works with featuremask 0xfff7ffff.
Running python3.11 here. I have not touched the test package.

from gpu-utils.

Ricks-Lab avatar Ricks-Lab commented on July 25, 2024

Thanks for confirming that the current version on GitHub solves the original problem. I plan to finish testing and release a package to PyPI this weekend. I hope @seapoup and @SysAdminSmith can check it out when available. I will update here when it is released. Afterward, I will update the repository install instructions with your findings. I would like to verify if the --use-pep517 causes any other issues.

from gpu-utils.

Ricks-Lab avatar Ricks-Lab commented on July 25, 2024

PyPI has been updated with v3.8.3 which addresses this issue. Please check it out and let me know of any issues.

from gpu-utils.

seapoup avatar seapoup commented on July 25, 2024

PyPI has been updated with v3.8.3 which addresses this issue. Please check it out and let me know of any issues.

I can confirm that this appears to have fixed issues on my host. Thank you!

I can confirm that it the PyPi package works here as well.
It works out of the box by breaking system packages: python3 -m pip install rickslab-gpu-utils --break-system-packages

If pipx is used, it complains about missing gi. python3 -m pipx install rickslab-gpu-utils, after which gi is not installed, despite it (and cairo) being installed system wide python3-gi is already the newest version (3.42.2-3+b1). I have not managed to make it work in pipx with my very limited Python knowledge.

from gpu-utils.

Ricks-Lab avatar Ricks-Lab commented on July 25, 2024

Issue fixed in v3.8.4 released to PyPI and debian package at rickslab.com.

from gpu-utils.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.