Python Forum
Import Error: No module named 'tables'
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Import Error: No module named 'tables'
#1
Hi there, 

after trying to run a python file I got this error:

Error:
Import Error: No module named 'tables'
and that is after executing the command:

from tables import *
Can you tell me how to install this library on my windows 10 and Python 3.4?

Thank you.
Reply
#2
Open a command prompt and enter
pip3 install tables
Reply
#3
(Oct-12-2016, 06:36 PM)Yoriz Wrote: Open a command prompt and enter
pip3 install tables

I did. 

I got this:

'pip3' is not recognized as an internal or external command,

operable program or batch file.
Reply
#4
(Oct-12-2016, 06:31 PM)kentman234 Wrote: Can you tell me how to install this library on my windows 10 and Python 3.4?

What’s New In Python 3.4 pip should always be available
Python Docs Wrote:Window users will need to opt in to the automatic PATH modifications to have pip available from the command line by default, otherwise it can still be accessed through the Python launcher for Windows as py -m pip.
Reply
#5
You can find the pre-compiled version at http://www.lfd.uci.edu/~gohlke/pythonlibs/#pytables

Note that it requires 'numexpr' which in return requires 'numpy'
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Reply
#6
(Oct-12-2016, 06:44 PM)kentman234 Wrote: 'pip3' is not recognized as an internal or external command,
Here without setting environment Variables Path,which i will show later.
From cmd cd into in C:\Python34\Scripts
Output:
C:\Windows\System32>cd\ C:\>cd python34\scripts C:\Python34\Scripts>
First update pip.
Output:
C:\Python34\Scripts>pip install --upgrade pip Requirement already up-to-date: pip in c:\python34\lib\site-packages
All wheel you download place them in C:\Python34\Scripts folder.
First install from gohlke Numexrp
Eg for 32-bit python pip install numexpr-2.6.1-cp34-cp34m-win32.whl

Now download from Pytables,you need wheel or a complier is needed(Pytables has C extension).
Eg for 32-bit python pip install tables-3.3.0-cp34-cp34m-win32.whl

Set up environment Variables Path so pip and python command work from anywhere in cmd.
Watch this Video
You do the same but to Path you add: ;C:\python34\;C:\python34\scripts
Restart and test pip/python from anywhere in cmd.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  no module named 'docx' when importing docx MaartenRo 1 715 Dec-31-2023, 11:21 AM
Last Post: deanhystad
  is import cointegration_analysis a recognized module mitcht33 1 385 Nov-06-2023, 09:29 PM
Last Post: deanhystad
  Problem with pymodbus - ModuleNotFoundError: No module named 'pymodbus.client.sync' stsxbel 2 22,951 Nov-02-2023, 08:20 AM
Last Post: South_east
  ModuleNotFoundError: No module named 'requests' Serg 18 2,170 Oct-29-2023, 11:33 PM
Last Post: Serg
  Resolving ImportError: No module named gdb (Python in C++) mandaxyz 3 1,315 Oct-04-2023, 02:43 PM
Last Post: mandaxyz
  problem in import module from other folder akbarza 5 1,260 Sep-01-2023, 07:48 AM
Last Post: Gribouillis
  ModuleNotFoundError: No module named 'PyPDF2' Benitta2525 1 1,393 Aug-07-2023, 05:32 AM
Last Post: DPaul
  can not import anaconda pandas module. PySpark pandas module is imported!! aupres 0 680 Aug-06-2023, 01:09 AM
Last Post: aupres
  Error on import: SyntaxError: source code string cannot contain null bytes kirkwilliams2049 7 6,169 Aug-03-2023, 06:00 PM
Last Post: Gribouillis
  ModuleNotFoundError: No module named 'eyed3' Wimpy_Wellington 2 1,229 Jul-10-2023, 03:37 AM
Last Post: Wimpy_Wellington

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020