Aug-10-2018, 04:18 PM
@ Dead_Eye Many thanks. Time here is 18h14. I will look to all that to-morrow, because my internet works badly at the end of the evening.
remember me how to delete python2.7 in Linux
|
Aug-10-2018, 04:18 PM
@ Dead_Eye Many thanks. Time here is 18h14. I will look to all that to-morrow, because my internet works badly at the end of the evening.
Aug-11-2018, 05:40 AM
I went to nano. I wrote the 3 lines. I gave the name of the file (sylas). I don't understand M-D(DOS format)
I wrote again all. Unfortunately no progress:
With the uploads I get: sylvain@sylvain-HP-Laptop-15-bw0xx:~/Téléchargements$ cd pyenv-master;ls bin CONDUCT.md plugins src CHANGELOG.md libexec pyenv.d terminal_output.png COMMANDS.md LICENSE pyenv-installer-master test completions Makefile README.md
Aug-11-2018, 08:41 AM
Maybe with this you can help me!
sylvain@sylvain-HP-Laptop-15-bw0xx:~/Téléchargements/pyenv-master/bin$ ./pyenv pyenv 1.2.6 Usage: pyenv <command> [<args>] Some useful pyenv commands are: commands List all available pyenv commands local Set or show the local application-specific Python version global Set or show the global Python version shell Set or show the shell-specific Python version install Install a Python version using python-build uninstall Uninstall a specific Python version rehash Rehash pyenv shims (run this after installing executables) version Show the current Python version and its origin versions List all Python versions available to pyenv which Display the full path to an executable whence List all Python versions that contain the given executable See `pyenv help <command>' for information on a specific command. For full documentation, see: https://github.com/pyenv/pyenv#readme
Aug-12-2018, 08:14 AM
For the moment I use pyenv with; "/home/sylvain/Téléchargements/pyenv-master/bin/pyenv"(Téléchargemets stands for uploads). It works . So I learned that if you have not installed Python-2.7.14 with pyenv, you cannot uninstall it with pyenv.
Aug-12-2018, 09:38 AM
@snippsat I should like very much to have 3.6.3 instead of 2.7.14 as default. 3.6.3 is already installed but not with pyenv. So I tried to install it pyenv. Impossible
Aug-12-2018, 12:02 PM
(Aug-12-2018, 09:38 AM)sylas Wrote: @snippsat I should like very much to have 3.6.3 instead of 2.7.14 as default.As usually you have messed it up and not followed @DeaD_EyE instruction. I also have tutorial here(setting up pyenv) which i have linked to you before. Quote:I went to nano. I wrote the 3 lines. I gave the name of the file (sylas). I don't understand M-D(DOS format)Arggg you shall give the file a new name it has be ~/.bashrc (just save as same name) you just save after adding 3 lines under.export PATH="~/.pyenv/bin:$PATH" eval "$(pyenv init -)" eval "$(pyenv virtualenv-init -)"So if i look at ~/.bashrc last 10 lines,you see that i have placed those 3 lines last.mint@mint ~ $ tail -n 10 ~/.bashrc fi if [ -x /usr/bin/mint-fortune ]; then /usr/bin/mint-fortune fi export PATH="~/.pyenv/bin:$PATH" eval "$(pyenv init -)" eval "$(pyenv virtualenv-init -)" Quote:/pyenv-master/bin/pyenv install 3.6.3This is just wrong as you try to use it from Repo download. This how it look when installed correct and when i updatet to 3.7. # Update pyenv mint@mint ~ $ pyenv update # Look at what's available mint@mint ~ $ pyenv install --list Available versions: .... 3.6.6 3.6.6rc1 3.7.0 3.7-dev 3.8-dev .... # Update needed sudo apt-get update sudo apt-get install libffi-dev # Install 3.7 mint@mint ~ $ pyenv install 3.7.0 Installing Python-3.7.0... Installed Python-3.7.0 to /home/mint/.pyenv/versions/3.7.0 # Set python and pip to point to 3.7 mint@mint ~ $ pyenv global 3.7.0 mint@mint ~ $ python -V Python 3.7.0 mint@mint ~ $ pip -V pip 10.0.1 from /home/mint/.pyenv/versions/3.7.0/lib/python3.7/site-packages/pip (python 3.7) mint@mint ~ $ # FinishThis will be my last post about this ![]() If you can get someone to help you like live on PC that would be fine, because you can not follow instruction given.
Aug-12-2018, 03:07 PM
This may be last help I ask. When I install python 3.7 with pyenv, it takes about 5 mn to upload, then at the install case, after about 3 mn it stops saying he can't install because "can't decompress data, zlib not available". If you have an idea please tell me.
Otherwise, to-morrow I will reread the huge information I have.
Aug-13-2018, 04:28 AM
@DeaD_EyE Many many thanks. Now 3.7.0 is my default language. Problem solved , with your 3 lines:
apt install build-essential apt-get install libssl-dev zlib1g-dev libncurses5-dev libncursesw5-dev libreadline-dev libsqlite3-dev apt-get install libgdbm-dev libdb5.3-dev libbz2-dev libexpat1-dev liblzma-dev tk-dev
Aug-17-2018, 08:32 AM
This is good. I had the last week not much time to look.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians! |
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
python2 python3 messed up : How to fix ? | hary | 15 | 11,208 |
Dec-30-2020, 08:26 PM Last Post: hary |
|
using pudb on python2 code | ErnestTBass | 2 | 2,358 |
Aug-10-2020, 08:12 PM Last Post: snippsat |
|
Trying to run a python2 script | dagamer1991 | 3 | 3,307 |
Aug-12-2019, 12:33 PM Last Post: buran |
|
python2.7 executables thus the system python2.7 was erroring utility.execute()? | vivekm | 1 | 2,303 |
May-20-2019, 11:24 AM Last Post: vivekm |
|
Python2 is not supported | Skaperen | 2 | 2,944 |
Mar-01-2019, 07:50 PM Last Post: stranac |
|
Problem in a python2 file | sylas | 15 | 10,498 |
Aug-08-2018, 08:54 AM Last Post: sylas |
|
byte string in python2 | Skaperen | 4 | 5,325 |
Nov-23-2017, 03:13 AM Last Post: Skaperen |
|
Different outputs in Python2 and Python3 | MikeHill | 3 | 4,803 |
Jun-07-2017, 08:58 PM Last Post: Ofnuts |