Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pyenv local 3.8.3
Also look here check also this.

Check that ~/.bashrc is correct.
Add last in file as you see.
tom@tom-VirtualBox:~$ cat ~/.bashrc
# sources /etc/bash.bashrc).
if ! shopt -oq posix; then
  if [ -f /usr/share/bash-completion/bash_completion ]; then
    . /usr/share/bash-completion/bash_completion
  elif [ -f /etc/bash_completion ]; then
    . /etc/bash_completion

# Load pyenv automatically
export PATH="~/.pyenv/bin:$PATH"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
Check PATH.
tom@tom-VirtualBox:~$ echo $PATH
See that this are there.
Snippsat - Halleluia !!

it's all working now !
and i made the exe i wanted !

thank you so much ! this has been quite a journey - but eventually we made it !!

i feel so good
thank you so much
snippsat likes this post
okay, there's one problem,

everytime i close the terminal and start it back - i have to type eval "$(pyenv init -)" in order for it to - when i type python - to show 3.8.3
otherwise - it reverts back to python 2.7
You most make sure that this is 3. Add to ~/.bashrc correct.
The purpose of a .bashrc file is to provide a place where you can set up variables,aliases,
that define what terminal/shell use every time open a new terminal.
how do i open the .bashrc file ?
(May-28-2020, 04:25 PM)astral_travel Wrote: how do i open the .bashrc file ?
Point 3 do i explain it,postet this link 3-4 times in this Thread Wink
So nano ~/.bashrc open file nano text editor that come with most Linux distors.

Can use what editor you want,if like gedit better.
gedit ~/.bashrc
If need install sudo apt install gedit.
Then add lines in tutorial.
okay, i added to the .bashrc file what was needed (some of it was already there), and it worked !

thanks allot man !
snippsat likes this post

Top Page

Forum Jump:

Users browsing this thread: 1 Guest(s)