Error on importing pyvttbl - python

I installed pyvttbl using pip, but now python can't import pyvttbl lib as it gives me the error shown in the image below. It says that there's no module named as "base".
Is there anything wrong?!
I'm running on python 3.6.1

Sadly this python module you are trying to use it not compatible with python 3.6.1. i try to figure out what was going on and it wouldn't run for me i made sure everything was up to date then realized this module was last updated in 2013. and is not compatible with 3.6. how ever i did get it to work in python 2.7.8
hope this helped.

Related

Why is my python module not importing ON linux

As you can see I have imported the modules correctly using pip install. I googled a bit why the module was not imported and I realized I have to add it to PATH. I did that too but now there is a new error something about a syntax error
File "pygame/__init__.py",
self.reason = f"{exc_type.__name__}: {self.info}"
Is this because my chrome book can not run Pygame or is the problem something else?
Picture of my terminal with the error:
you need to run python3. to start python 3. Just running python starts python 2.7.
you have your installed packages in python 3.9 version while your python environment is 2.7, look for python3 executable and try with that version

missing module 'formats' error when import pandas.io.formats.excel

I am new to python, am attempting to work with some existing code, but am getting errors due to a missing module. I am using python version 2.7, pandas version 0.18.1, all inside VSCode.
problem code is:
import pandas.io.formats.excel
Error:
Exception has occurred: ImportError No module named formats.excel
I have tried using pandas.formats.excel but then the 'excel' part is missing. i've also tried uninstalling and reinstalling pandas
Thanks for any help.
Your python version can't support the module. I ran your code in python 3.8.3 and it went well, but the same problem occured when I ran it in python 2.7. Please download the latest python version in the offical website. https://www.python.org/
Click lower left to change the interpreter.

Visual Studio Code isn't working most of the modules ex. (PIL,pygame etc)

when I try to import PIL it's says "no module named PIL" error coming up. I did install PIL and try several things same thing happen with pygame earlier. please help me out.
I'm using MacOs Catalina 10.15.3
VS Code
Python 3.7.4
you need to select the right python environment, check Using Python environments in VS Code

Syntax Error "Missing parentheses" Image Forensics tool Imago

I have installed imago but whenever I am trying to run It.It shows a Syntax Error.
Kindly help.
According to https://github.com/redaelli/imago-forensics this module requires python 2.7.
Your screenshot shows you are using python 3.7. This is not the correct python version for this module.
You will need to install python 2.7

Pydev cannot import module that is available in Python IDLE

I tried to used pyodbc on a win10 computer and I use py 3.6. The module is installed with pip and I have no problem using this module in Python IDLE, however when I tried to use it in PyDev, it shows that the module cannot be resolved.
Not resolved module
However it has no problem to run directly from the console:
enter image description here
Does anyone has any clues? Thank you!

Categories