newbee@newbee ~/Documentos/fio-de-ariadne $ sudo pip install poetry
DEPRECATION: Python 2.7 reached the end of its life on January 1st,
2020. Please upgrade your Python as Python 2.7 is no longer maintained.
A future version of pip will drop support for Python 2.7. More details
about Python 2 support in pip, can be found at
https://pip.pypa.io/en/latest/development/release-process/#python-2-support
WARNING: The directory '/home/newbee/.cache/pip' or its parent directory
is not owned or is not writable by the current user. The cache has been
disabled. Check the permissions and owner of that directory. If
executing pip with sudo, you may want sudo's -H flag.
Collecting poetry
Downloading poetry-1.0.5-py2.py3-none-any.whl (220 kB)
|████████████████████████████████| 220 kB 1.7 MB/s
Collecting virtualenv<17.0.0,>=16.7.9; python_version >= "2.7" and
python_version < "2.8"
Downloading virtualenv-16.7.10-py2.py3-none-any.whl (3.4 MB)
|████████████████████████████████| 3.4 MB 13.1 MB/s
Collecting shellingham<2.0,>=1.1
Downloading shellingham-1.3.2-py2.py3-none-any.whl (11 kB)
Collecting clikit<0.5.0,>=0.4.2
Downloading clikit-0.4.3-py2.py3-none-any.whl (88 kB)
|████████████████████████████████| 88 kB 12.7 MB/s
Collecting functools32<4.0.0,>=3.2.3; python_version >= "2.7" and
python_version < "2.8"
Downloading functools32-3.2.3-2.tar.gz (31 kB)
Collecting pkginfo<2.0,>=1.4
Downloading pkginfo-1.5.0.1-py2.py3-none-any.whl (25 kB)
Collecting cleo<0.8.0,>=0.7.6
Downloading cleo-0.7.6-py2.py3-none-any.whl (21 kB)
Collecting subprocess32<4.0,>=3.5; python_version >= "2.7" and
python_version < "2.8" or python_version >= "3.4" and python_version < "3.5"
Downloading subprocess32-3.5.4.tar.gz (97 kB)
|████████████████████████████████| 97 kB 32.6 MB/s
Requirement already satisfied: requests<3.0,>=2.18 in
/usr/lib/python2.7/dist-packages (from poetry) (2.18.4)
Collecting cachy<0.4.0,>=0.3.0
Downloading cachy-0.3.0-py2.py3-none-any.whl (20 kB)
Collecting cachecontrol[filecache]<0.13.0,>=0.12.4
Downloading CacheControl-0.12.6-py2.py3-none-any.whl (19 kB)
Collecting tomlkit<0.6.0,>=0.5.11
Downloading tomlkit-0.5.11-py2.py3-none-any.whl (31 kB)
Collecting pexpect<5.0.0,>=4.7.0
Downloading pexpect-4.8.0-py2.py3-none-any.whl (59 kB)
|████████████████████████████████| 59 kB 19.0 MB/s
Collecting pathlib2<3.0,>=2.3; python_version >= "2.7" and
python_version < "2.8" or python_version >= "3.4" and python_version < "3.5"
Downloading pathlib2-2.3.5-py2.py3-none-any.whl (18 kB)
Collecting pyrsistent<0.15.0,>=0.14.2
Downloading pyrsistent-0.14.11.tar.gz (104 kB)
|████████████████████████████████| 104 kB 9.3 MB/s
Collecting requests-toolbelt<0.9.0,>=0.8.0
Downloading requests_toolbelt-0.8.0-py2.py3-none-any.whl (54 kB)
|████████████████████████████████| 54 kB 20.7 MB/s
Collecting jsonschema<4.0,>=3.1
Downloading jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
|████████████████████████████████| 56 kB 26.9 MB/s
Collecting html5lib<2.0,>=1.0
Downloading html5lib-1.0.1-py2.py3-none-any.whl (117 kB)
|████████████████████████████████| 117 kB 13.0 MB/s
Collecting keyring<19.0.0,>=18.0.1; python_version >= "2.7" and
python_version < "2.8" or python_version >= "3.4" and python_version < "3.5"
Downloading keyring-18.0.1-py2.py3-none-any.whl (35 kB)
Collecting glob2<0.7,>=0.6; python_version >= "2.7" and python_version <
"2.8" or python_version >= "3.4" and python_version < "3.5"
Downloading glob2-0.6.tar.gz (10 kB)
Collecting typing<4.0,>=3.6; python_version >= "2.7" and python_version
< "2.8" or python_version >= "3.4" and python_version < "3.5"
Downloading typing-3.7.4.1-py2-none-any.whl (26 kB)
Collecting pyparsing<3.0,>=2.2
Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
|████████████████████████████████| 67 kB 15.3 MB/s
Collecting importlib-metadata<1.2.0,>=1.1.3; python_version < "3.8"
Downloading importlib_metadata-1.1.3-py2.py3-none-any.whl (29 kB)
Collecting pylev<2.0,>=1.3
Downloading pylev-1.3.0-py2.py3-none-any.whl (4.9 kB)
Requirement already satisfied: enum34<2.0,>=1.1; python_version >= "2.7"
and python_version < "2.8" in /usr/lib/python2.7/dist-packages (from
clikit<0.5.0,>=0.4.2->poetry) (1.1.6)
Collecting pastel<0.3.0,>=0.2.0
Downloading pastel-0.2.0-py2.py3-none-any.whl (6.0 kB)
Collecting msgpack>=0.5.2
Downloading msgpack-1.0.0.tar.gz (232 kB)
|████████████████████████████████| 232 kB 13.6 MB/s
Requirement already satisfied: lockfile>=0.9; extra == "filecache" in
/usr/lib/python2.7/dist-packages (from
cachecontrol[filecache]<0.13.0,>=0.12.4->poetry) (0.12.2)
Collecting ptyprocess>=0.5
Downloading ptyprocess-0.6.0-py2.py3-none-any.whl (39 kB)
Collecting scandir; python_version < "3.5"
Downloading scandir-1.10.0.tar.gz (33 kB)
Requirement already satisfied: six in /usr/lib/python2.7/dist-packages
(from pathlib2<3.0,>=2.3; python_version >= "2.7" and python_version <
"2.8" or python_version >= "3.4" and python_version < "3.5"->poetry)
(1.11.0)
Requirement already satisfied: attrs>=17.4.0 in
/usr/lib/python2.7/dist-packages (from jsonschema<4.0,>=3.1->poetry)
(17.4.0)
Requirement already satisfied: setuptools in
/usr/local/lib/python2.7/dist-packages (from
jsonschema<4.0,>=3.1->poetry) (39.1.0)
Collecting webencodings
Downloading webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
Collecting secretstorage<3; (sys_platform == "linux2" or sys_platform ==
"linux") and python_version < "3.5"
Downloading SecretStorage-2.3.1.tar.gz (16 kB)
Collecting entrypoints
Downloading entrypoints-0.3-py2.py3-none-any.whl (11 kB)
Collecting contextlib2; python_version < "3"
Downloading contextlib2-0.6.0.post1-py2.py3-none-any.whl (9.8 kB)
Collecting zipp>=0.5
Downloading zipp-1.2.0-py2.py3-none-any.whl (4.8 kB)
Collecting configparser>=3.5; python_version < "3"
Downloading configparser-4.0.2-py2.py3-none-any.whl (22 kB)
Requirement already satisfied: cryptography in
/usr/lib/python2.7/dist-packages (from secretstorage<3; (sys_platform ==
"linux2" or sys_platform == "linux") and python_version <
"3.5"->keyring<19.0.0,>=18.0.1; python_version >= "2.7" and
python_version < "2.8" or python_version >= "3.4" and python_version <
"3.5"->poetry) (2.1.4)
Installing collected packages: virtualenv, shellingham, typing, pylev,
pastel, clikit, functools32, pkginfo, cleo, subprocess32, cachy,
msgpack, cachecontrol, tomlkit, ptyprocess, pexpect, scandir, pathlib2,
pyrsistent, requests-toolbelt, contextlib2, zipp, configparser,
importlib-metadata, jsonschema, webencodings, html5lib, secretstorage,
entrypoints, keyring, glob2, pyparsing, poetry
Running setup.py install for functools32 ... done
Running setup.py install for subprocess32 ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python -u -c 'import sys, setuptools, tokenize;
sys.argv[0] = '"'"'/tmp/pip-install-LKAezx/subprocess32/setup.py'"'"';
__file__='"'"'/tmp/pip-install-LKAezx/subprocess32/setup.py'"'"';f=getattr(tokenize,
'"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
install --record /tmp/pip-record-0LfomA/install-record.txt
--single-version-externally-managed --compile --install-headers
/usr/local/include/python2.7/subprocess32
cwd: /tmp/pip-install-LKAezx/subprocess32/
Complete output (60 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
copying subprocess32.py -> build/lib.linux-x86_64-2.7
running build_ext
running build_configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for unistd.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking sys/cdefs.h usability... yes
checking sys/cdefs.h presence... yes
checking for sys/cdefs.h... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for pipe2... yes
checking for setsid... yes
checking whether dirfd is declared... yes
configure: creating ./config.status
config.status: creating _posixsubprocess_config.h
building '_posixsubprocess32' extension
creating build/temp.linux-x86_64-2.7
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -Wdate-time
-D_FORTIFY_SOURCE=2 -g
-fdebug-prefix-map=/build/python2.7-5Z483E/python2.7-2.7.17=.
-fstack-protector-strong -Wformat -Werror=format-security -fPIC
-I/usr/include/python2.7 -c _posixsubprocess.c -o
build/temp.linux-x86_64-2.7/_posixsubprocess.o
_posixsubprocess.c:16:10: fatal error: Python.h: Arquivo ou
diretório inexistente
#include "Python.h"
^~~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python -u -c
'import sys, setuptools, tokenize; sys.argv[0] =
'"'"'/tmp/pip-install-LKAezx/subprocess32/setup.py'"'"';
__file__='"'"'/tmp/pip-install-LKAezx/subprocess32/setup.py'"'"';f=getattr(tokenize,
'"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
install --record /tmp/pip-record-0LfomA/install-record.txt
--single-version-externally-managed --compile --install-headers
/usr/local/include/python2.7/subprocess32 Check the logs for full
command output.
newbee@newbee ~/Documentos/fio-de-ariadne $ sudo pip install shell
DEPRECATION: Python 2.7 reached the end of its life on January 1st,
2020. Please upgrade your Python as Python 2.7 is no longer maintained.
A future version of pip will drop support for Python 2.7. More details
about Python 2 support in pip, can be found at
https://pip.pypa.io/en/latest/development/release-process/#python-2-support
WARNING: The directory '/home/newbee/.cache/pip' or its parent directory
is not owned or is not writable by the current user. The cache has been
disabled. Check the permissions and owner of that directory. If
executing pip with sudo, you may want sudo's -H flag.
Collecting shell
Downloading shell-1.0.1-py2.py3-none-any.whl (5.4 kB)
Installing collected packages: shell
Successfully installed shell-1.0.1
newbee@newbee ~/Documentos/fio-de-ariadne $ createenv
createenv: comando não encontrado
newbee@newbee ~/Documentos/fio-de-ariadne $ python version
python: can't open file 'version': [Errno 2] No such file or directory
newbee@newbee ~/Documentos/fio-de-ariadne $ python3 version
python3: can't open file 'version': [Errno 2] No such file or directory
newbee@newbee ~/Documentos/fio-de-ariadne $ python --version
Python 3.6.5 :: Anaconda, Inc.
newbee@newbee ~/Documentos/fio-de-ariadne $