Code Monkey home page Code Monkey logo

Comments (7)

zshamrock avatar zshamrock commented on May 18, 2024 1
(base) alex@precision:~$ sudo python3
[sudo] password for alex: 
Python 3.7.3 (default, Apr  3 2019, 05:39:12) 
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import platform
>>> platform.processor()
''

Same if running as the normal user.

Thank you ;) Upgraded my laptop this year as well.

from auto-cpufreq.

zshamrock avatar zshamrock commented on May 18, 2024 1

Yes, confirm, it reports correct architecture line now:

Architecture: x86_64.

from auto-cpufreq.

AdnanHodzic avatar AdnanHodzic commented on May 18, 2024

As I said in the other bug report, I think these problems could be related to using older package version for "psuti"l which were installed from apt repos:

sudo pip3 show psutil | grep -i version

Recommended version should be >= 5.5.1

Hence, could you please try upgrading both using pip3 by running:

sudo pip3 install --upgrade psutil

And let me know if the problem still persits after this?

from auto-cpufreq.

zshamrock avatar zshamrock commented on May 18, 2024

Still the same. The current version indeed was 5.5.1, I upgraded it to 5.6.7, and still it doesn't report the architecture.

from auto-cpufreq.

AdnanHodzic avatar AdnanHodzic commented on May 18, 2024

Could you please run the following and past back the output:

python3
import platform
platform.processor()

Off topic: that's a nice CPU you have there :)

from auto-cpufreq.

zshamrock avatar zshamrock commented on May 18, 2024

This is what other platform methods report:

>>> platform.architecture()
('64bit', 'ELF')
>>> platform.linux_distribution()
__main__:1: DeprecationWarning: dist() and linux_distribution() functions are deprecated in Python 3.5
('debian', '10.2', '')
>>> platform.machine()
'x86_64'
>>> platform.platform()
'Linux-4.19.0-6-amd64-x86_64-with-debian-10.2'
>>> platform.processor()
''
>>> platform.release()
'4.19.0-6-amd64'
>>> platform.system()
'Linux'
>>> platform.version()
'#1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11)'

from auto-cpufreq.

AdnanHodzic avatar AdnanHodzic commented on May 18, 2024

Okay, please pull the latest changes and re-run auto-cpufreq, your problem should be fixed. Please confirm,

from auto-cpufreq.

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.