Missing modules compiling python3.3

  • Thread starter Giacomo Alzetta
  • Start date
G

Giacomo Alzetta

I'm trying to compile python3.3 on my (K)ubuntu 12.04, but some modules are missing.

In particular when doing make test I get:

Python build finished, but the necessary bits to build these modules were not found:
_bz2 _curses _curses_panel
_dbm _gdbm _lzma
_sqlite3 _tkinter readline
To find the necessary bits, look in setup.py in detect_modules() for the module's name.

And also the "test_urlwithfrag" test fails, but when trying to do(as suggested in the README) "./python -m test -v test_urlwithfrag" I get an error[ImportError: No module named 'test.test_urlwithfrag'
] and when doing "./python -m test -v test_urllib2net" it skips the test saying it's normal on linux(then why make test runs it and it fails???)

What am I missing? Should I install those modules manually? Is this expected?
 
M

mm0fmf

Giacomo said:
I'm trying to compile python3.3 on my (K)ubuntu 12.04, but some modules are missing.

In particular when doing make test I get:

Python build finished, but the necessary bits to build these modules were not found:
_bz2 _curses _curses_panel

You haven't installed the development headers for those modules giving
errors.

So for curses you'll need to install libncurses5-dev, lzma-dev etc.
Sorry, I can't remember the package names as it's a while since I did this.

Andy
 
G

Giacomo Alzetta

Il giorno domenica 4 novembre 2012 15:56:03 UTC+1, mm0fmf ha scritto:
You haven't installed the development headers for those modules giving

errors.



So for curses you'll need to install libncurses5-dev, lzma-dev etc.

Sorry, I can't remember the package names as it's a while since I did this.



Andy

That's right! Sorry, but I thought I installed those some months ago for an other python installation, but probably I've also removed them :s

The "test_urlwithfrag" is still failing though.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,739
Latest member
Clint8040

Latest Threads

Top