Missing package on ubuntu 14.04 VM

python

#1

I am getting this problem:

import curses as _curses
/opt/circleci/python/2.7.11/lib/python2.7/curses/__init__.py:15: in <module>
    from _curses import *
E   ImportError: No module named _curses

when running Python tests.

From what I see here:


it looks like a package was not present on the circleci VM when python was compiled and curses is missing.
Is there a way around this?


#2

Any update on this topic? I’m having the same problem now that I’ve upgraded to Python 3.5.2 and an Ubuntu 14.04 container


#3

Update: I was using the package colour-runner that adds color to the Django tests display and this was causing the problem. I have removed the package but I still wonder why I only get an error in the CircleCI container and not my local Ubuntu 14.04 machine


#4