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

Can not import readline on python3.0 (ubuntu 8.04) #48874

Closed
xxiao mannequin opened this issue Dec 11, 2008 · 3 comments
Closed

Can not import readline on python3.0 (ubuntu 8.04) #48874

xxiao mannequin opened this issue Dec 11, 2008 · 3 comments
Labels
topic-installation type-bug An unexpected behavior, bug, or error

Comments

@xxiao
Copy link
Mannequin

xxiao mannequin commented Dec 11, 2008

BPO 4624
Nosy @benjaminp

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 2008-12-11.02:59:43.476>
created_at = <Date 2008-12-11.02:45:13.987>
labels = ['invalid', 'type-bug', 'expert-installation']
title = 'Can not import readline on python3.0 (ubuntu 8.04)'
updated_at = <Date 2008-12-11.02:59:43.475>
user = 'https://bugs.python.org/xxiao'

bugs.python.org fields:

activity = <Date 2008-12-11.02:59:43.475>
actor = 'benjamin.peterson'
assignee = 'none'
closed = True
closed_date = <Date 2008-12-11.02:59:43.476>
closer = 'benjamin.peterson'
components = ['Installation']
creation = <Date 2008-12-11.02:45:13.987>
creator = 'xxiao'
dependencies = []
files = []
hgrepos = []
issue_num = 4624
keywords = []
message_count = 3.0
messages = ['77585', '77586', '77587']
nosy_count = 2.0
nosy_names = ['benjamin.peterson', 'xxiao']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = None
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue4624'
versions = ['Python 3.0']

@xxiao
Copy link
Mannequin Author

xxiao mannequin commented Dec 11, 2008

I can "import readline" just fine on AMD64 ubuntu 8.04 under python3.0,
however on 32-bit ubuntu 8.04 I could not "import readline" for
python3.0. It says
"import readline
ImportError: No module named readline". I made sure both ubuntu machines
have readline installed correctly, python2.x runs well and can import
readline without any issues.

@xxiao xxiao mannequin added topic-installation type-bug An unexpected behavior, bug, or error labels Dec 11, 2008
@benjaminp
Copy link
Contributor

Did you build Python yourself? If so, can you paste the last lines of
the build process like this:

Failed to find the necessary bits to build these modules:
bsddb185 gdbm linuxaudiodev
ossaudiodev spwd sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the
module's name.

running build_scripts

@xxiao
Copy link
Mannequin Author

xxiao mannequin commented Dec 11, 2008

I just rebuild it again, it went away. not sure what I did wrong at
first try.

The last few lines during compilation are:
INFO: Can't locate Tcl/Tk libs and/or headers

Failed to find the necessary bits to build these modules:
_dbm _sqlite3 _tkinter
To find the necessary bits, look in setup.py in detect_modules() for the
module's name.

Looks like I need install python-sqlite etc.

@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
topic-installation type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

1 participant