Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #12531
| Path | csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Scott Kitterman <debian@kitterman.com> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: issues installing psutil with pip in virtual environment |
| Date | Sun, 26 Apr 2020 18:40:02 +0200 |
| Message-ID | <zZStY-35n-11@gated-at.bofh.it> (permalink) |
| References | <zZSki-322-11@gated-at.bofh.it> |
| X-Original-To | debian-python@lists.debian.org,Anil F Duggirala <anilduggirala@fastmail.fm> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Sun Apr 26 16:34:06 2020 |
| Old-Return-Path | <debian@kitterman.com> |
| X-Amavis-Spam-Status | No, score=-7.2 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -5.5 |
| Dkim-Signature | v=1; a=ed25519-sha256; c=relaxed/simple; d=kitterman.com; i=@kitterman.com; q=dns/txt; s=201903e; t=1587918828; h=date : in-reply-to : references : mime-version : content-type : content-transfer-encoding : subject : to : from : message-id : from; bh=JLpaGwQH9NIk0XAtJRhyHC+gwthqFUjvy/FxwMQ53hE=; b=qU+P7hAJnGCEXpBw6VqqpUv8eIwXAKdmP/iUg0Mr1LXOaasJyJgG/gJIgfK7lSpc0TVdc uQEUD3jfxxvM72MBA== |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/simple; d=kitterman.com; i=@kitterman.com; q=dns/txt; s=201903r; t=1587918828; h=date : in-reply-to : references : mime-version : content-type : content-transfer-encoding : subject : to : from : message-id : from; bh=JLpaGwQH9NIk0XAtJRhyHC+gwthqFUjvy/FxwMQ53hE=; b=aAkV5WbBvvhvlANPOICbXmL8bzSwQNO9MRPFg24CbYbpt4+slPz3PK5BPZa7Bpl5m2tLN KQHi4rphjI9iTxUXJ9ha8Ho5G3sGOyRrR++2I0jOqTgjeEFg70mJQdy7UAw6LrVxisoTHVH gM4Vr/dCe5gT3ABBjvAFstlwvcpDofbMg8zzVI1KaKb8au9Id/baaxYKiu5cErN+0eExe1/ sBzI+kGbnyOKqnSg+4OY3ol0hyRWlBeSwwwPO214kObo4Lq3KF4n6A0+bSydaquri/7rqPf nUsdmOE8WP394eB3vcunlY87KvUItEHJj7RdHdwq26MdnwpLxztw2/Udcz8A== |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | quoted-printable |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/18214 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/8B891BCF-DB85-49C0-9881-9E52FCFA07EC@kitterman.com |
| Approved | robomod@news.nic.it |
| Lines | 32 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Sun, 26 Apr 2020 16:33:45 +0000 |
| X-Original-Message-ID | <8B891BCF-DB85-49C0-9881-9E52FCFA07EC@kitterman.com> |
| X-Original-References | <1f5f91b2f030c2e939cef48b03b5991cdb060532.camel@fastmail.fm> |
| Xref | csiph.com linux.debian.maint.python:12531 |
Show key headers only | View raw
On April 26, 2020 4:06:00 PM UTC, Anil F Duggirala <anilduggirala@fastmail.fm> wrote:
>hello,
>I am running into an issue installing psutil: pip3 install psutil, in a
>virtual environment. I have upgraded my pip and setuptools with no
>avail. I am getting this error: https://pastebin.com/2Xb7UN9g
>Some have suggested installing the python3-dev package. Saying that I
>require "header" files (don't know what those are). So this means
>installing that package and creating a new venv, where those files are
>available. Is there a way to make this install work without installing
>that package? Is that package really necessary? Does this mean my
>virtual environments are somehow subject to what libraries are
>available in my system python installation? Is there some pip
>installabel package that provides these files?
>thank you,
No. No. Yes. Yes. No.
Pip doesn't provide the python interpreter. The solution is in the traceback you posted:
("sudo apt-get install gcc python%s-dev" % py3)
File "/tmp/pip-install-b88905i2/psutil/setup.py", line 116, in missdeps
s = hilite("C compiler or Python headers are not installed ", ok=False)
So install gcc and python3-dev and try again.
Scott K
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Find similar | Unroll thread
issues installing psutil with pip in virtual environment Anil F Duggirala <anilduggirala@fastmail.fm> - 2020-04-26 18:30 +0200 Re: issues installing psutil with pip in virtual environment Sandro Tosi <morph@debian.org> - 2020-04-26 18:40 +0200 Re: issues installing psutil with pip in virtual environment Scott Kitterman <debian@kitterman.com> - 2020-04-26 18:40 +0200
csiph-web