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):Why did this only failed on ubuntu not with fedora? the first one.
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'
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?