#pyenv

74 messages · Page 1 of 1 (latest)

fossil niche
#

sudo apt install pyenv ?

#

if not with apt, maybe with pip

#

or if it is installed, run which pyenv

wheat trench
fossil niche
#

maybe show the contents of .profile
cat ~/.profile

wheat trench
fossil niche
#

that's a mess

wheat trench
fossil niche
#

where did all of that mess come from?

wheat trench
#

maybe coz i try already some hours to fix that ><

#

with some youtube videos, make me do this mess

fossil niche
#

You could start with removing duplicate lines,
try adding the following at the bottom:
export PATH="$HOME/.pyenv/bin/:$PATH"

#

also, do echo $PATH and tell us what it says

wheat trench
fossil niche
#

well, you did not tell us what you were trying to achieve other than getting rid of the error. because getting rid of the rror is easy, you just need to remove everything inside ~/.profile

wheat trench
#

i remove everything and ...then?

fossil niche
#

What are you trying to achieve?

wheat trench
#

i get this message that i show you, many times when i restart linux or when i open i get No task bar and no terminal

#

and then i need to do some restart to work correct

#

even the keyboard not working when that happened

fossil niche
#

Do you really care about pyenv? Why not just uninstall it?

wheat trench
#

no i dont care at all but i thing that is my prob that i get the errors that i tell you

#

many times i need to do 5 restart from the tower to work on linux

fossil niche
#

delete every line inside .profile, and pip uninstall pyenv

#

you could keep "set path so it includes user's private bin if it exists"

wheat trench
fossil niche
#

what do you get when you do which python

wheat trench
fossil niche
#

and python -V ?

wheat trench
fossil niche
#

Capital V

#

do rm -rf ~/.pyenv

wheat trench
#

Python 3.10.12

fossil niche
#

and sudo apt install python

#

and redo which python

wheat trench
fossil niche
#

You are on mint, correct?

wheat trench
#

yes

fossil niche
#

ah, you miss-typed

#

sudo apt install python3.11

#

python should already be installed on linux mint

wheat trench
fossil niche
#

oh, great

#

it is already installed

wheat trench
#

now if i restart is ok?

fossil niche
#

I hope so

wheat trench
#

doing rr brb

fossil niche
#

Did you delete the lines inside .profile?

wheat trench
#

yes

fossil niche
#

good

wheat trench
#

i had blackscreen after rr and i rr again and it works now, my .profile is totaly empty inside

#

is that correct?

fossil niche
#

What do you mean by rr?

wheat trench
#

restart

fossil niche
#

That is not a major issue, but you may want to add ~/bin or ~/.local/bin to $PATH if you are using those directories

#

You can add this to your .profile if you want:
export PATH="$HOME/.local/bin:$PATH"

wheat trench
#

i did already

fossil niche
#

You don't have to put anything in your .profile

wheat trench
#

you thing that mess it was the problem that i had

#

and many times i was getting no bars etc?

fossil niche
#

I think the issue is that linux mint needs python in order to function, and the python version you were using was a version installed with pyenv, but since pyenv was mis-configured, python in general was messed up

#

but python is a pretty important package on linux mint

wheat trench
#

yes i read that

#

thank you so much for your help

#

i was on lm 19 and i was totaly happy i dont know why i wanded to update 🙂

fossil niche
#

I hope we fixed your problem. You can create another ticket if another issue pops up

wheat trench
#

ty so much for your help

fossil niche
#

t'is my pleasure

sudden trellis
#

@wheat trench mark the flair as solved and close it