Python Forum
Python 3.9 alpha how to install psutil?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python 3.9 alpha how to install psutil?
#9
Quote:After this, just append the pyenv initializator command on your “.bashrc” file
Remark: If you use ZSH instead of Bash, update the “.zshrc” file.

export PATH="~/.pyenv/bin:$PATH"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"

After that, logout/login or exec this command to reload configuration; (in case of zsh, change this file to .zshrc;

source ~/.bashrc

Did not understand this?

Tested with.
Quote:Traceback (most recent call last):
File "test.py", line 18, in <module>
from pip._internal.operations.prepare import Installed
ImportError: cannot import name 'Installed' from 'pip._internal.operations.prepare' (/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py)
Quote:Traceback (most recent call last):
File "test.py", line 56, in <module>
root.title( "Testprogram " + platform.linux_distribution()[0] + platform.linux_distribution()[1])
AttributeError: module 'platform' has no attribute 'linux_distribution'
Why did this only failed on ubuntu not with fedora? the first one.
I also have issue its hard to find out charges for release. So hard to know what its charged.

https://www.programcreek.com/python/exam...stribution
it is outdated code?
Reply


Messages In This Thread
Python 3.9 alpha how to install psutil? - by lmh1 - Apr-09-2020, 04:36 PM
RE: Python 3.9 alpha how to install psutil? - by lmh1 - Apr-10-2020, 03:23 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  alpha advantage api question jacksfrustration 1 546 Oct-09-2023, 03:39 PM
Last Post: Larz60+
  TypeError: max_value() missing 2 required positional arguments: 'alpha' and 'beta' Anldra12 2 4,305 May-15-2021, 04:15 PM
Last Post: Anldra12
  Alpha numeric element list search rhubarbpieguy 1 1,859 Apr-01-2020, 12:41 PM
Last Post: pyzyx3qwerty
  psutil for monitor a software finish process and notification Pyguys 0 2,923 Mar-27-2020, 11:15 PM
Last Post: Pyguys
  ModuleNotFoundError: No module named 'psutil' after creating .exe ? ABhishek 3 11,631 Jul-30-2019, 01:44 PM
Last Post: ABhishek
  Replace all alpha characters within double quotes with underscores? walterbyrd 1 2,829 Nov-26-2017, 01:13 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020