Skip to content
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

Python 2.7.1 cannot be built by 2.x baselines of Python #55562

Closed
w004dal mannequin opened this issue Feb 28, 2011 · 2 comments
Closed

Python 2.7.1 cannot be built by 2.x baselines of Python #55562

w004dal mannequin opened this issue Feb 28, 2011 · 2 comments
Labels
build The build process and cross-build

Comments

@w004dal
Copy link
Mannequin

w004dal mannequin commented Feb 28, 2011

BPO 11353
Nosy @warsaw, @pitrou

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2011-02-28.16:37:06.531>
created_at = <Date 2011-02-28.16:31:56.780>
labels = ['build', 'invalid']
title = 'Python 2.7.1 cannot be built by 2.x baselines of Python'
updated_at = <Date 2011-02-28.16:37:06.529>
user = 'https://bugs.python.org/w004dal'

bugs.python.org fields:

activity = <Date 2011-02-28.16:37:06.529>
actor = 'pitrou'
assignee = 'none'
closed = True
closed_date = <Date 2011-02-28.16:37:06.531>
closer = 'pitrou'
components = ['Build']
creation = <Date 2011-02-28.16:31:56.780>
creator = 'w004dal'
dependencies = []
files = []
hgrepos = []
issue_num = 11353
keywords = []
message_count = 2.0
messages = ['129712', '129713']
nosy_count = 3.0
nosy_names = ['barry', 'pitrou', 'w004dal']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = None
status = 'closed'
superseder = None
type = 'compile error'
url = 'https://bugs.python.org/issue11353'
versions = ['Python 2.6', 'Python 2.5', 'Python 2.7']

@w004dal
Copy link
Mannequin Author

w004dal mannequin commented Feb 28, 2011

I tried to download and install the latest Python tarball (2.7.1) and use Python 2.6 to execute "setup.py".

I got the error "No module named sysconfig" when running setup.py. "sysconfig" was introduced with Python 3.2 (per http://docs.python.org/dev/library/sysconfig.html).

I am running Ubuntu 10.04.2 LTS and Python 2.6 trying to update to 2.7.x since Django does not support Python 3.x. It seems like a lot of trouble to install Python 3.x to downgrade to the Python version I need.

Recommend providing deb source packages that can be built on Ubuntu 10.04 and 10.10, or fixing this bug.

@w004dal w004dal mannequin added build The build process and cross-build labels Feb 28, 2011
@pitrou
Copy link
Member

pitrou commented Feb 28, 2011

The way to build Python is to run "./configure" followed by "make". This is explained in the README.

@pitrou pitrou closed this as completed Feb 28, 2011
@pitrou pitrou added the invalid label Feb 28, 2011
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build The build process and cross-build
Projects
None yet
Development

No branches or pull requests

1 participant