Code Monkey home page Code Monkey logo

Comments (5)

KeithMyers avatar KeithMyers commented on June 3, 2024

No issues for me on Ubuntu 20.04.1. Other than the same issue that python3.6 is not installed anymore and has moved on to python3.8. gpu-plot plots my 3 cards normally and the other utilities all work. Nvidia cards though.

from gpu-utils.

csecht avatar csecht commented on June 3, 2024

Hmmmm.
I'm having a different problem from my remote machine, on which I previously have run gpu-plot over ssh -X. On that system, which has Ubuntu 18.04 and Python 3.6, it does not even launch the plotter window:

(rickslab-gpu-utils-env) craig@linux-GA-MA790X-UD4:~/gpu-utils-master$ ./gpu-chk
Using python 3.6.9
           Python version OK. 
Using Linux Kernel 5.4.0-42-generic
           OS kernel OK. 
Using Linux distribution: Ubuntu 18.04.5 LTS
           Distro has been Validated. 
AMD: amdgpu version: 20.10-1048554
           AMD driver OK. 
python3 venv is installed
           python3-venv OK. 
rickslab-gpu-utils-env available
           rickslab-gpu-utils-env OK. 
In rickslab-gpu-utils-env
           rickslab-gpu-utils-env is activated. 

(rickslab-gpu-utils-env) craig@linux-GA-MA790X-UD4:~/gpu-utils-master$ ./gpu-plot
Traceback (most recent call last):
  File "./gpu-plot", line 75, in <module>
    import pandas as pd
  File "/usr/lib/python3/dist-packages/pandas/__init__.py", line 58, in <module>
    from pandas.io.api import *
  File "/usr/lib/python3/dist-packages/pandas/io/api.py", line 19, in <module>
    from pandas.io.packers import read_msgpack, to_msgpack
  File "/usr/lib/python3/dist-packages/pandas/io/packers.py", line 68, in <module>
    from pandas.util._move import (
ValueError: module functions cannot set METH_CLASS or METH_STATIC

from gpu-utils.

Ricks-Lab avatar Ricks-Lab commented on June 3, 2024

I just created a new virtual env on my 18.04 system and installed requirements with no issues. Are you able to run the version from PyPI with pip install?

With 20.04, python3.6 doesn't come as the default. Perhaps a change to the UserGuide would make this more clear.

from gpu-utils.

Ricks-Lab avatar Ricks-Lab commented on June 3, 2024

Can you post your output from pip freeze while in the activated venv? Here is my output:

(gpu-utils-env) rick@Eos:~/pydev/gpu-utils$ pip freeze
cycler==0.10.0
kiwisolver==1.2.0
matplotlib==3.2.2
numpy==1.19.0
pandas==1.0.5
pkg-resources==0.0.0
pyparsing==2.4.7
python-dateutil==2.8.1
pytz==2020.1
ruamel.yaml==0.16.10
ruamel.yaml.clib==0.2.0
six==1.15.0
vext==0.7.3
vext.gi==0.7.0

from gpu-utils.

csecht avatar csecht commented on June 3, 2024

Problem solved. Following your suggestion, gpu-plot from a PyPi installation now works on both 18.04 and 20.04, with or without venv. I'm not sure where I went wrong with previous git downloads.

Probably not needed now, but as requested:

(rickslab-gpu-utils-env) craig@craig-Linux2:~/gpu-utils-master$ pip freeze
certifi==2020.6.20
cycler==0.10.0
kiwisolver==1.2.0
matplotlib==3.3.1
numpy==1.19.1
pandas==1.1.1
Pillow==7.2.0
pyparsing==2.4.7
python-dateutil==2.8.1
pytz==2020.1
ruamel.yaml==0.16.12
ruamel.yaml.clib==0.2.2
six==1.15.0
vext==0.7.4
vext.gi==0.7.4

I will work up a pull request for a couple edits to the User Guide.
-edit-
Well, one edit. I see you already covered the Python version issue for venv.

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.