Failed to build Python 3.6.5


up vote
0
down vote
favorite
I want to install new Python version (3.6.5) on Ubuntu but get this error when compiling.
KeyError: 'ffi_cflags'
Makefile:596: recipe for target 'sharedmods' failed
make: *** [sharedmods] Error 1
I issued these commands:
mkdir soft && cd soft
wget https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tar.xz
tar xvJf Python-3.6.5.tar.xz
cd Python-3.6.5
./configure
make
python compiling python3
add a comment |Â
up vote
0
down vote
favorite
I want to install new Python version (3.6.5) on Ubuntu but get this error when compiling.
KeyError: 'ffi_cflags'
Makefile:596: recipe for target 'sharedmods' failed
make: *** [sharedmods] Error 1
I issued these commands:
mkdir soft && cd soft
wget https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tar.xz
tar xvJf Python-3.6.5.tar.xz
cd Python-3.6.5
./configure
make
python compiling python3
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I want to install new Python version (3.6.5) on Ubuntu but get this error when compiling.
KeyError: 'ffi_cflags'
Makefile:596: recipe for target 'sharedmods' failed
make: *** [sharedmods] Error 1
I issued these commands:
mkdir soft && cd soft
wget https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tar.xz
tar xvJf Python-3.6.5.tar.xz
cd Python-3.6.5
./configure
make
python compiling python3
I want to install new Python version (3.6.5) on Ubuntu but get this error when compiling.
KeyError: 'ffi_cflags'
Makefile:596: recipe for target 'sharedmods' failed
make: *** [sharedmods] Error 1
I issued these commands:
mkdir soft && cd soft
wget https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tar.xz
tar xvJf Python-3.6.5.tar.xz
cd Python-3.6.5
./configure
make
python compiling python3
python compiling python3
edited Apr 18 at 12:28
Melebius
3,76841636
3,76841636
asked Apr 18 at 11:36


Jack
1
1
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
This will not fix your issue with compiling, but you might want to install Python 3.6.5 using a PPA:
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.6
@Melebius : Jack seems to need to install Python3.6.5. I don't know why he does not haveffi_cflags
as a dictionary key, but using a workaround might help him to install Python3.6.5.
â Florian
Apr 18 at 12:37
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
This will not fix your issue with compiling, but you might want to install Python 3.6.5 using a PPA:
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.6
@Melebius : Jack seems to need to install Python3.6.5. I don't know why he does not haveffi_cflags
as a dictionary key, but using a workaround might help him to install Python3.6.5.
â Florian
Apr 18 at 12:37
add a comment |Â
up vote
1
down vote
This will not fix your issue with compiling, but you might want to install Python 3.6.5 using a PPA:
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.6
@Melebius : Jack seems to need to install Python3.6.5. I don't know why he does not haveffi_cflags
as a dictionary key, but using a workaround might help him to install Python3.6.5.
â Florian
Apr 18 at 12:37
add a comment |Â
up vote
1
down vote
up vote
1
down vote
This will not fix your issue with compiling, but you might want to install Python 3.6.5 using a PPA:
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.6
This will not fix your issue with compiling, but you might want to install Python 3.6.5 using a PPA:
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.6
edited Apr 18 at 12:45
Melebius
3,76841636
3,76841636
answered Apr 18 at 12:23


Florian
1393
1393
@Melebius : Jack seems to need to install Python3.6.5. I don't know why he does not haveffi_cflags
as a dictionary key, but using a workaround might help him to install Python3.6.5.
â Florian
Apr 18 at 12:37
add a comment |Â
@Melebius : Jack seems to need to install Python3.6.5. I don't know why he does not haveffi_cflags
as a dictionary key, but using a workaround might help him to install Python3.6.5.
â Florian
Apr 18 at 12:37
@Melebius : Jack seems to need to install Python3.6.5. I don't know why he does not have
ffi_cflags
as a dictionary key, but using a workaround might help him to install Python3.6.5.â Florian
Apr 18 at 12:37
@Melebius : Jack seems to need to install Python3.6.5. I don't know why he does not have
ffi_cflags
as a dictionary key, but using a workaround might help him to install Python3.6.5.â Florian
Apr 18 at 12:37
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1026083%2ffailed-to-build-python-3-6-5%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password