PyTables: pip install failed: no module named cpuinfo

I tried to update from 3.2.2 to 3.2.3, but I am getting the following error:

$ pip install -U tables
Collecting tables
  Using cached tables-3.2.3.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-zkFlL8/tables/setup.py", line 34, in <module>
        import cpuinfo
    ImportError: No module named cpuinfo

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-zkFlL8/tables/

It happens with both Python 2.7.11 and 3.4.3 on Linux.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 19 (16 by maintainers)

Most upvoted comments

Successfully installed numexpr-2.6.0 numpy-1.11.1 tables-3.2.3.1 – looks OK guys! Thanks!

@Dapid Could you try pip install py-cpuinfo and check if pip install -U tables works after that?

It seems we need to add py-cpuinfo to requirements.txt

`py-cpyinfo’ is included in the base ‘conda’ installation of python 2.7 and 3.4 so I’m not getting the error.

Please let me know if this works for you.

It works for me too. Thanks!