Search code examples
pandasenthought

Enthought Canopy Pandas not installing


Using Enthought Canopy; the following command import pandas produces this error message:

ImportError: C extension: hashtable not built. If you want to import pandas 
from the source directory, you may need to run 'python setup.py build_ext --
inplace' to build the C extensions first. 

Which I understand means that the package hasn't been built with it's C dependencies? I thought Canopy's environment handled module installations, I have tried removing, and updating Pandas with no luck.

Does anyone know how to correctly use Pandas in Enthought Canopy?


Solution

  • Forcing a reinstallation of Pandas and its dependencies with enpkg pandas --forceall run from a Canopy Terminal/Command Prompt seems to have fixed the problem.