-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
psutil fails to install on python3.6 and Ubuntu16.04 #1143
Comments
Can you post the install log that pip complains with here? |
I'm having the same problem, using python 3.5.4 on Ubuntu 14.04, install logs below:
EDIT: I just updated from python 3.4.3, which did correctly install |
Same issue for me:
|
You guys need Python header files. On Ubuntu: |
I was just about to comment the same, after I read the install file: https://github.com/giampaolo/psutil/blob/master/INSTALL.rst |
Thanks that worked! |
@Tommatheussen Thank you that worked for me as well! |
One more note that may be useful other people with this issue: I'm using a RedHat distro and Python 2.7, and After a bit of googling I was able to resolve this issue with |
ubuntu 16.04 i helped
|
Great man. Thank you ! |
|
@Kosemii I got this error when trying to install tfds-nightly to install tensorflow datasets library. |
I had the same error using a virtual environment. And doing To solve it, I had to:
|
Hi There,
While I appreciate the help, this issue has been resolved for a year now,
And essentially duplicate comments are being posted,
Please refrain from posting unless it's significantly different than
previous comments.
Thanks
…On Tue, 14 May 2019, 16:07 Vincent Houlbrèque, ***@***.***> wrote:
I had the same error using a virtual environment. And doing sudo apt-get
install python3.5-dev did not solve it at first.
To solve it, I had to:
- deactivate the virtualenv
- remove the virtualenv
- sudo apt-get install python3.5-dev
- recreate the virtualenv
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1143?email_source=notifications&email_token=AFO6NBFVCTDJADDS3DNLQCTPVLIUNA5CNFSM4D5YZULKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVLZGYA#issuecomment-492278624>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFO6NBHS7V2W36IPJ3FI64TPVLIUNANCNFSM4D5YZULA>
.
|
THANK YOU. |
thanks, that works for me! |
…(incl. docs) and downgrading to circleci/python:3.7.5 image for more sturdiness
|
In perioada 19.12.2019 - 05.01.2020 voi fi plecat in concediu de odihna.
Pentru urgente ma puteti contacta la numarul 0756.932.293
Sarbatori Fericite !
Alex Gagea
|
Thanks installing header files works for me ! |
Same error while trying to install in a virtualenv and I was baffled.
Environment: It turns out the virtualenv command is a python2 construct. The Ansible Tower docs are wrong in their recommendation:
Do this instead:
|
thx man, really help ! |
Thank you very much. it served me |
if you guys still have this issue just install gcc to your server |
if you try exec pip3 install lmdb , you can try yum install python3-devel |
thank you, it solves the issue :) |
OS: CentOS Linux release 8.0.1905 (Core) ym install -y gcc gcc-c++ libgcc platform-python-devel |
For python 3+: |
I'm using Windows 10 how can I resolve this issue please? |
Look at the previous comments, in particular #1143 (comment). On Windows you don't need to do that as |
install psutil with pip on python3.6 gives this error
I've tried installing different versions of psutil with the same error
Command "/usr/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-_0xq2q7o/psutil/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-k4askr37-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-_0xq2q7o/psutil/
The text was updated successfully, but these errors were encountered: