Aug-10-2018, 04:18 PM
Pages: 1 2
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)
Error:sylvain@sylvain-HP-Laptop-15-bw0xx:~$ echo $PATH
/home/sylvain/.local/share/umake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
Aug-11-2018, 07:16 AM
I wrote again all. Unfortunately no progress:
With the uploads I get:
Error:sylvain@sylvain-HP-Laptop-15-bw0xx:~$ echo $PYENV_ROOT
sylvain@sylvain-HP-Laptop-15-bw0xx:~$
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
Error:sylvain@sylvain-HP-Laptop-15-bw0xx:~$ /home/sylvain/Téléchargements/pyenv-master/bin/pyenv install 3.6.3
Downloading Python-3.6.3.tar.xz...
-> https://www.python.org/ftp/python/3.6.3/Python-3.6.3.tar.xz
Installing Python-3.6.3...
BUILD FAILED (Ubuntu 17.10 using python-build 1.2.6-4-gb7eea900)
Inspect or clean up the working tree at /tmp/python-build.20180812112817.13188
Results logged to /tmp/python-build.20180812112817.13188.log
Last 10 log lines:
ensurepip._main()
File "/tmp/python-build.20180812112817.13188/Python-3.6.3/Lib/ensurepip/__init__.py", line 189, in _main
default_pip=args.default_pip,
File "/tmp/python-build.20180812112817.13188/Python-3.6.3/Lib/ensurepip/__init__.py", line 102, in bootstrap
_run_pip(args + [p[0] for p in _PROJECTS], additional_paths)
File "/tmp/python-build.20180812112817.13188/Python-3.6.3/Lib/ensurepip/__init__.py", line 27, in _run_pip
import pip
zipimport.ZipImportError: can't decompress data; zlib not available
Makefile:1079 : la recette pour la cible « install » a échouée
make: *** [install] Erreur 1
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.
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
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.
Pages: 1 2