Can't install pgAdmin4Error while installing pip install pgadmin4-1.4-py2.py3-none-any.whlPgadmin4 not running in python 3.6 and Ubuntu 17.10Run Pgadmin4 behind reverse proxyHow to install PgAdmin4 on Ubuntu 18.04 Server modeProblem with qt5 while trying to run pgadmin4pgAdmin4 error “Failed to launch the application server, server thread exiting.”Updating Pgadmin4 from 3.4 to 4.2Pgadmin4: No module named 'idna'PgAdmin4 “the application server could not be contacted” Ubuntu 19.04pgAdmin4 disable master password

Is every sentence we write or utter either true or false?

Sinning and G-d's will, what's wrong with this logic?

Fantasy Military Arms and Armor: the Dwarven Grand Armory

How do English-speaking kids loudly request something?

Project Euler Problem 45

1kV DC Circuit - Insulation on ground wire?

Male viewpoint in an erotic novel

Bioluminescent microorganisms in everything

Is it possible extrude faces along normals individually in OpenSCAD?

Do 643,000 Americans go bankrupt every year due to medical bills?

Friend is very nit picky about side comments I don't intend to be taken too seriously

Why are UK MPs allowed to abstain (but it counts as a no)?

How should Thaumaturgy's "three times as loud as normal" be interpreted?

How to best explain that you are taking pictures in a space for practice reasons?

Infinitely many primes

How do I write a vertically-stacked definition of a sequence?

Word for something that used to be popular but not anymore

Template default argument loses its reference type

How do I play this harmonic? (Guitar)

Was Rosie the Riveter sourced from a Michelangelo painting?

Do aarakocra have arms as well as wings?

Is future tense in English really a myth?

How strong is aircraft grade Spruce?

Passport - tiny rip on the edge of my passport page



Can't install pgAdmin4


Error while installing pip install pgadmin4-1.4-py2.py3-none-any.whlPgadmin4 not running in python 3.6 and Ubuntu 17.10Run Pgadmin4 behind reverse proxyHow to install PgAdmin4 on Ubuntu 18.04 Server modeProblem with qt5 while trying to run pgadmin4pgAdmin4 error “Failed to launch the application server, server thread exiting.”Updating Pgadmin4 from 3.4 to 4.2Pgadmin4: No module named 'idna'PgAdmin4 “the application server could not be contacted” Ubuntu 19.04pgAdmin4 disable master password






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I am trying to install pgAdmin4 on Ubuntu 18.04 following this tutorial, but I get the following error with command pip install pgadmin4-2.1-py2.py3-none-any.whl:



src/_fastmath.c:31:10: fatal error: Python.h: No such file or directory
#include "Python.h"
^~~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

----------------------------------------
Command "/home/hugolvc/pgAdmin4/pgAdmin4/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-Eiam7O/pycrypto/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('rn', 'n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-xfTq9G/install-record.txt --single-version-externally-managed --compile --install-headers /home/hugolvc/pgAdmin4/pgAdmin4/include/site/python2.7/pycrypto" failed with error code 1 in /tmp/pip-install-Eiam7O/pycrypto/


I just followed the tutorial step by step.



EDIT



The result of python --version is Python 2.7.15rc1, but I also have installed 3.6 and 3.7.



The result of locate x86_64-linux-gnu-gcc is:



/usr/bin/x86_64-linux-gnu-gcc
/usr/bin/x86_64-linux-gnu-gcc-5
/usr/bin/x86_64-linux-gnu-gcc-7
/usr/bin/x86_64-linux-gnu-gcc-ar
/usr/bin/x86_64-linux-gnu-gcc-ar-5
/usr/bin/x86_64-linux-gnu-gcc-ar-7
/usr/bin/x86_64-linux-gnu-gcc-nm
/usr/bin/x86_64-linux-gnu-gcc-nm-5
/usr/bin/x86_64-linux-gnu-gcc-nm-7
/usr/bin/x86_64-linux-gnu-gcc-ranlib
/usr/bin/x86_64-linux-gnu-gcc-ranlib-5
/usr/bin/x86_64-linux-gnu-gcc-ranlib-7
/usr/share/man/man1/x86_64-linux-gnu-gcc-5.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-7.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-ar-5.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-ar-7.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-ar.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-nm-5.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-nm-7.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-nm.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-ranlib-5.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-ranlib-7.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-ranlib.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc.1.gz


The result of sudo find / -name "Python.h" is:



/home/hugolvc/.local/share/Trash/files/Python-3.7.0/Include/Python.h
find: ‘/run/user/1000/gvfs’: Permission denied









share|improve this question


























  • you have python-dev installed?

    – George Udosen
    Mar 30 at 10:27











  • Give python --version and post it. Also Type locate x86_64-linux-gnu-gcc and output will be like /usr/bin/x86_64-linux-gnu-gcc

    – Marmayogi
    Mar 30 at 11:32












  • The include "Python.h" is missing in your system. Issue command sudo find / -name "Python.h" and output should be such as /usr/include/python3.7m/Python.h, and/or /usr/include/python2.7/Python.h. Please @Hugo Luis Villalobos Canto, post all the output of commands as part of your question (i.e. edit your question and post!)

    – Marmayogi
    Mar 30 at 11:45












  • Just now, I tried to install pgAdmin4 based on your tutorial and I was successful! I suspect that the problem is with your Python installation. Type command python3 --version and you should see output as Python 3.6.7. Have you run command such as sudo apt-get install build-essential libssl-dev libffi-dev python-dev python3-venv during python installation?

    – Marmayogi
    Mar 30 at 12:05












  • FYI, after installation of pgAdmin4, I typed pip3 -V whose output is pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)

    – Marmayogi
    Mar 30 at 12:11

















0















I am trying to install pgAdmin4 on Ubuntu 18.04 following this tutorial, but I get the following error with command pip install pgadmin4-2.1-py2.py3-none-any.whl:



src/_fastmath.c:31:10: fatal error: Python.h: No such file or directory
#include "Python.h"
^~~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

----------------------------------------
Command "/home/hugolvc/pgAdmin4/pgAdmin4/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-Eiam7O/pycrypto/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('rn', 'n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-xfTq9G/install-record.txt --single-version-externally-managed --compile --install-headers /home/hugolvc/pgAdmin4/pgAdmin4/include/site/python2.7/pycrypto" failed with error code 1 in /tmp/pip-install-Eiam7O/pycrypto/


I just followed the tutorial step by step.



EDIT



The result of python --version is Python 2.7.15rc1, but I also have installed 3.6 and 3.7.



The result of locate x86_64-linux-gnu-gcc is:



/usr/bin/x86_64-linux-gnu-gcc
/usr/bin/x86_64-linux-gnu-gcc-5
/usr/bin/x86_64-linux-gnu-gcc-7
/usr/bin/x86_64-linux-gnu-gcc-ar
/usr/bin/x86_64-linux-gnu-gcc-ar-5
/usr/bin/x86_64-linux-gnu-gcc-ar-7
/usr/bin/x86_64-linux-gnu-gcc-nm
/usr/bin/x86_64-linux-gnu-gcc-nm-5
/usr/bin/x86_64-linux-gnu-gcc-nm-7
/usr/bin/x86_64-linux-gnu-gcc-ranlib
/usr/bin/x86_64-linux-gnu-gcc-ranlib-5
/usr/bin/x86_64-linux-gnu-gcc-ranlib-7
/usr/share/man/man1/x86_64-linux-gnu-gcc-5.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-7.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-ar-5.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-ar-7.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-ar.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-nm-5.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-nm-7.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-nm.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-ranlib-5.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-ranlib-7.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-ranlib.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc.1.gz


The result of sudo find / -name "Python.h" is:



/home/hugolvc/.local/share/Trash/files/Python-3.7.0/Include/Python.h
find: ‘/run/user/1000/gvfs’: Permission denied









share|improve this question


























  • you have python-dev installed?

    – George Udosen
    Mar 30 at 10:27











  • Give python --version and post it. Also Type locate x86_64-linux-gnu-gcc and output will be like /usr/bin/x86_64-linux-gnu-gcc

    – Marmayogi
    Mar 30 at 11:32












  • The include "Python.h" is missing in your system. Issue command sudo find / -name "Python.h" and output should be such as /usr/include/python3.7m/Python.h, and/or /usr/include/python2.7/Python.h. Please @Hugo Luis Villalobos Canto, post all the output of commands as part of your question (i.e. edit your question and post!)

    – Marmayogi
    Mar 30 at 11:45












  • Just now, I tried to install pgAdmin4 based on your tutorial and I was successful! I suspect that the problem is with your Python installation. Type command python3 --version and you should see output as Python 3.6.7. Have you run command such as sudo apt-get install build-essential libssl-dev libffi-dev python-dev python3-venv during python installation?

    – Marmayogi
    Mar 30 at 12:05












  • FYI, after installation of pgAdmin4, I typed pip3 -V whose output is pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)

    – Marmayogi
    Mar 30 at 12:11













0












0








0








I am trying to install pgAdmin4 on Ubuntu 18.04 following this tutorial, but I get the following error with command pip install pgadmin4-2.1-py2.py3-none-any.whl:



src/_fastmath.c:31:10: fatal error: Python.h: No such file or directory
#include "Python.h"
^~~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

----------------------------------------
Command "/home/hugolvc/pgAdmin4/pgAdmin4/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-Eiam7O/pycrypto/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('rn', 'n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-xfTq9G/install-record.txt --single-version-externally-managed --compile --install-headers /home/hugolvc/pgAdmin4/pgAdmin4/include/site/python2.7/pycrypto" failed with error code 1 in /tmp/pip-install-Eiam7O/pycrypto/


I just followed the tutorial step by step.



EDIT



The result of python --version is Python 2.7.15rc1, but I also have installed 3.6 and 3.7.



The result of locate x86_64-linux-gnu-gcc is:



/usr/bin/x86_64-linux-gnu-gcc
/usr/bin/x86_64-linux-gnu-gcc-5
/usr/bin/x86_64-linux-gnu-gcc-7
/usr/bin/x86_64-linux-gnu-gcc-ar
/usr/bin/x86_64-linux-gnu-gcc-ar-5
/usr/bin/x86_64-linux-gnu-gcc-ar-7
/usr/bin/x86_64-linux-gnu-gcc-nm
/usr/bin/x86_64-linux-gnu-gcc-nm-5
/usr/bin/x86_64-linux-gnu-gcc-nm-7
/usr/bin/x86_64-linux-gnu-gcc-ranlib
/usr/bin/x86_64-linux-gnu-gcc-ranlib-5
/usr/bin/x86_64-linux-gnu-gcc-ranlib-7
/usr/share/man/man1/x86_64-linux-gnu-gcc-5.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-7.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-ar-5.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-ar-7.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-ar.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-nm-5.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-nm-7.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-nm.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-ranlib-5.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-ranlib-7.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-ranlib.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc.1.gz


The result of sudo find / -name "Python.h" is:



/home/hugolvc/.local/share/Trash/files/Python-3.7.0/Include/Python.h
find: ‘/run/user/1000/gvfs’: Permission denied









share|improve this question
















I am trying to install pgAdmin4 on Ubuntu 18.04 following this tutorial, but I get the following error with command pip install pgadmin4-2.1-py2.py3-none-any.whl:



src/_fastmath.c:31:10: fatal error: Python.h: No such file or directory
#include "Python.h"
^~~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

----------------------------------------
Command "/home/hugolvc/pgAdmin4/pgAdmin4/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-Eiam7O/pycrypto/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('rn', 'n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-xfTq9G/install-record.txt --single-version-externally-managed --compile --install-headers /home/hugolvc/pgAdmin4/pgAdmin4/include/site/python2.7/pycrypto" failed with error code 1 in /tmp/pip-install-Eiam7O/pycrypto/


I just followed the tutorial step by step.



EDIT



The result of python --version is Python 2.7.15rc1, but I also have installed 3.6 and 3.7.



The result of locate x86_64-linux-gnu-gcc is:



/usr/bin/x86_64-linux-gnu-gcc
/usr/bin/x86_64-linux-gnu-gcc-5
/usr/bin/x86_64-linux-gnu-gcc-7
/usr/bin/x86_64-linux-gnu-gcc-ar
/usr/bin/x86_64-linux-gnu-gcc-ar-5
/usr/bin/x86_64-linux-gnu-gcc-ar-7
/usr/bin/x86_64-linux-gnu-gcc-nm
/usr/bin/x86_64-linux-gnu-gcc-nm-5
/usr/bin/x86_64-linux-gnu-gcc-nm-7
/usr/bin/x86_64-linux-gnu-gcc-ranlib
/usr/bin/x86_64-linux-gnu-gcc-ranlib-5
/usr/bin/x86_64-linux-gnu-gcc-ranlib-7
/usr/share/man/man1/x86_64-linux-gnu-gcc-5.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-7.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-ar-5.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-ar-7.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-ar.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-nm-5.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-nm-7.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-nm.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-ranlib-5.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-ranlib-7.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc-ranlib.1.gz
/usr/share/man/man1/x86_64-linux-gnu-gcc.1.gz


The result of sudo find / -name "Python.h" is:



/home/hugolvc/.local/share/Trash/files/Python-3.7.0/Include/Python.h
find: ‘/run/user/1000/gvfs’: Permission denied






pgadmin






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 30 at 14:24







HuLu ViCa

















asked Mar 30 at 4:44









HuLu ViCaHuLu ViCa

1033 bronze badges




1033 bronze badges















  • you have python-dev installed?

    – George Udosen
    Mar 30 at 10:27











  • Give python --version and post it. Also Type locate x86_64-linux-gnu-gcc and output will be like /usr/bin/x86_64-linux-gnu-gcc

    – Marmayogi
    Mar 30 at 11:32












  • The include "Python.h" is missing in your system. Issue command sudo find / -name "Python.h" and output should be such as /usr/include/python3.7m/Python.h, and/or /usr/include/python2.7/Python.h. Please @Hugo Luis Villalobos Canto, post all the output of commands as part of your question (i.e. edit your question and post!)

    – Marmayogi
    Mar 30 at 11:45












  • Just now, I tried to install pgAdmin4 based on your tutorial and I was successful! I suspect that the problem is with your Python installation. Type command python3 --version and you should see output as Python 3.6.7. Have you run command such as sudo apt-get install build-essential libssl-dev libffi-dev python-dev python3-venv during python installation?

    – Marmayogi
    Mar 30 at 12:05












  • FYI, after installation of pgAdmin4, I typed pip3 -V whose output is pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)

    – Marmayogi
    Mar 30 at 12:11

















  • you have python-dev installed?

    – George Udosen
    Mar 30 at 10:27











  • Give python --version and post it. Also Type locate x86_64-linux-gnu-gcc and output will be like /usr/bin/x86_64-linux-gnu-gcc

    – Marmayogi
    Mar 30 at 11:32












  • The include "Python.h" is missing in your system. Issue command sudo find / -name "Python.h" and output should be such as /usr/include/python3.7m/Python.h, and/or /usr/include/python2.7/Python.h. Please @Hugo Luis Villalobos Canto, post all the output of commands as part of your question (i.e. edit your question and post!)

    – Marmayogi
    Mar 30 at 11:45












  • Just now, I tried to install pgAdmin4 based on your tutorial and I was successful! I suspect that the problem is with your Python installation. Type command python3 --version and you should see output as Python 3.6.7. Have you run command such as sudo apt-get install build-essential libssl-dev libffi-dev python-dev python3-venv during python installation?

    – Marmayogi
    Mar 30 at 12:05












  • FYI, after installation of pgAdmin4, I typed pip3 -V whose output is pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)

    – Marmayogi
    Mar 30 at 12:11
















you have python-dev installed?

– George Udosen
Mar 30 at 10:27





you have python-dev installed?

– George Udosen
Mar 30 at 10:27













Give python --version and post it. Also Type locate x86_64-linux-gnu-gcc and output will be like /usr/bin/x86_64-linux-gnu-gcc

– Marmayogi
Mar 30 at 11:32






Give python --version and post it. Also Type locate x86_64-linux-gnu-gcc and output will be like /usr/bin/x86_64-linux-gnu-gcc

– Marmayogi
Mar 30 at 11:32














The include "Python.h" is missing in your system. Issue command sudo find / -name "Python.h" and output should be such as /usr/include/python3.7m/Python.h, and/or /usr/include/python2.7/Python.h. Please @Hugo Luis Villalobos Canto, post all the output of commands as part of your question (i.e. edit your question and post!)

– Marmayogi
Mar 30 at 11:45






The include "Python.h" is missing in your system. Issue command sudo find / -name "Python.h" and output should be such as /usr/include/python3.7m/Python.h, and/or /usr/include/python2.7/Python.h. Please @Hugo Luis Villalobos Canto, post all the output of commands as part of your question (i.e. edit your question and post!)

– Marmayogi
Mar 30 at 11:45














Just now, I tried to install pgAdmin4 based on your tutorial and I was successful! I suspect that the problem is with your Python installation. Type command python3 --version and you should see output as Python 3.6.7. Have you run command such as sudo apt-get install build-essential libssl-dev libffi-dev python-dev python3-venv during python installation?

– Marmayogi
Mar 30 at 12:05






Just now, I tried to install pgAdmin4 based on your tutorial and I was successful! I suspect that the problem is with your Python installation. Type command python3 --version and you should see output as Python 3.6.7. Have you run command such as sudo apt-get install build-essential libssl-dev libffi-dev python-dev python3-venv during python installation?

– Marmayogi
Mar 30 at 12:05














FYI, after installation of pgAdmin4, I typed pip3 -V whose output is pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)

– Marmayogi
Mar 30 at 12:11





FYI, after installation of pgAdmin4, I typed pip3 -V whose output is pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)

– Marmayogi
Mar 30 at 12:11










1 Answer
1






active

oldest

votes


















1
















Install python-dev package using the command below:



sudo apt-get install python-dev # for python2
sudo apt-get install python3-dev # for python3





share|improve this answer



























  • sudo apt-get install python-dev Reading package lists... Done Building dependency tree Reading state information... Done python-dev is already the newest version (2.7.15~rc1-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    – HuLu ViCa
    Mar 30 at 14:35











  • Do you use pip3 or pip? You must install python3-dev for pip3.

    – M.Fooladgar
    Mar 30 at 14:40











  • Ok, that was it. It worked. Thanks a lot!!!

    – HuLu ViCa
    Mar 30 at 15:34













Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);














draft saved

draft discarded
















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1129835%2fcant-install-pgadmin4%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1
















Install python-dev package using the command below:



sudo apt-get install python-dev # for python2
sudo apt-get install python3-dev # for python3





share|improve this answer



























  • sudo apt-get install python-dev Reading package lists... Done Building dependency tree Reading state information... Done python-dev is already the newest version (2.7.15~rc1-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    – HuLu ViCa
    Mar 30 at 14:35











  • Do you use pip3 or pip? You must install python3-dev for pip3.

    – M.Fooladgar
    Mar 30 at 14:40











  • Ok, that was it. It worked. Thanks a lot!!!

    – HuLu ViCa
    Mar 30 at 15:34















1
















Install python-dev package using the command below:



sudo apt-get install python-dev # for python2
sudo apt-get install python3-dev # for python3





share|improve this answer



























  • sudo apt-get install python-dev Reading package lists... Done Building dependency tree Reading state information... Done python-dev is already the newest version (2.7.15~rc1-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    – HuLu ViCa
    Mar 30 at 14:35











  • Do you use pip3 or pip? You must install python3-dev for pip3.

    – M.Fooladgar
    Mar 30 at 14:40











  • Ok, that was it. It worked. Thanks a lot!!!

    – HuLu ViCa
    Mar 30 at 15:34













1














1










1









Install python-dev package using the command below:



sudo apt-get install python-dev # for python2
sudo apt-get install python3-dev # for python3





share|improve this answer















Install python-dev package using the command below:



sudo apt-get install python-dev # for python2
sudo apt-get install python3-dev # for python3






share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 30 at 15:55

























answered Mar 30 at 14:26









M.FooladgarM.Fooladgar

4694 silver badges7 bronze badges




4694 silver badges7 bronze badges















  • sudo apt-get install python-dev Reading package lists... Done Building dependency tree Reading state information... Done python-dev is already the newest version (2.7.15~rc1-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    – HuLu ViCa
    Mar 30 at 14:35











  • Do you use pip3 or pip? You must install python3-dev for pip3.

    – M.Fooladgar
    Mar 30 at 14:40











  • Ok, that was it. It worked. Thanks a lot!!!

    – HuLu ViCa
    Mar 30 at 15:34

















  • sudo apt-get install python-dev Reading package lists... Done Building dependency tree Reading state information... Done python-dev is already the newest version (2.7.15~rc1-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    – HuLu ViCa
    Mar 30 at 14:35











  • Do you use pip3 or pip? You must install python3-dev for pip3.

    – M.Fooladgar
    Mar 30 at 14:40











  • Ok, that was it. It worked. Thanks a lot!!!

    – HuLu ViCa
    Mar 30 at 15:34
















sudo apt-get install python-dev Reading package lists... Done Building dependency tree Reading state information... Done python-dev is already the newest version (2.7.15~rc1-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

– HuLu ViCa
Mar 30 at 14:35





sudo apt-get install python-dev Reading package lists... Done Building dependency tree Reading state information... Done python-dev is already the newest version (2.7.15~rc1-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

– HuLu ViCa
Mar 30 at 14:35













Do you use pip3 or pip? You must install python3-dev for pip3.

– M.Fooladgar
Mar 30 at 14:40





Do you use pip3 or pip? You must install python3-dev for pip3.

– M.Fooladgar
Mar 30 at 14:40













Ok, that was it. It worked. Thanks a lot!!!

– HuLu ViCa
Mar 30 at 15:34





Ok, that was it. It worked. Thanks a lot!!!

– HuLu ViCa
Mar 30 at 15:34


















draft saved

draft discarded















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1129835%2fcant-install-pgadmin4%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Tamil (spriik) Luke uk diar | Nawigatjuun

Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

Where does the image of a data connector as a sharp metal spike originate from?Where does the concept of infected people turning into zombies only after death originate from?Where does the motif of a reanimated human head originate?Where did the notion that Dragons could speak originate?Where does the archetypal image of the 'Grey' alien come from?Where did the suffix '-Man' originate?Where does the notion of being injured or killed by an illusion originate?Where did the term “sophont” originate?Where does the trope of magic spells being driven by advanced technology originate from?Where did the term “the living impaired” originate?