Hi,
It seems you need to install gcc (or its hardened version?) in order to
compile and install psutil (one of the Spyder dependencies).
Cheers,
Carlos
El 01/10/16 a las 20:24, Андрей Логунов escribió:
Upon running the following command:
sudo pip3 install --upgrade spyder
after a while i end up with this:
...
running build_ext
building 'psutil._psutil_linux' extension
creating build/temp.linux-x86_64-3.5
creating build/temp.linux-x86_64-3.5/psutil
gcc -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code
-DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC
-DPSUTIL_VERSION=431 -I/usr/include/python3.5m -c
psutil/_psutil_linux.c -o
build/temp.linux-x86_64-3.5/psutil/_psutil_linux.o
gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file
or directory
error: command 'gcc' failed with exit status 1
----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools,
tokenize;__file__='/tmp/pip-build-3_rolkvo/psutil/setup.py';exec(compile(getattr(tokenize,
'open', open)(__file__).read().replace('\r\n', '\n'), __file__,
'exec'))" install --record /tmp/pip-or9xns0u-record/install-record.txt
--single-version-externally-managed --compile" failed with error code
1 in /tmp/pip-build-3_rolkvo/psutil/
--
You received this message because you are subscribed to the Google
Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at https://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.