installation - Installing python-dev in virtualenv -


i trying install mysqlclient python in virtualenv. fails following:

 #include "python.h"                  ^  compilation terminated. error: command 'x86_64-linux-gnu-gcc' failed exit status 1 

after research, found out require python-dev installation. have installed in main directories (i.e /usr/bin ... ) not installed virtualenv each time type:

sudo apt-get install python-dev 

i following response:

reading package lists... done building dependency tree        reading state information... done python-dev newest version. 0 upgraded, 0 newly installed, 0 remove , 453 not upgraded. 

showing availability, outside virtualenv mysqlclient installs properly. issue how rectify python-dev installation virtualenv


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -