I want to use ATD module in python, I downloaded it throught the command line pip install ATD, and it was Successfully installed. But when I wanna use it in python, it says that the module is not found, does anyone know what's wrong with it, and how can i fix it?
>>> import ATD
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
import ATD
ModuleNotFoundError: No module named 'ATD'
Related
I tried to simplify my code with the tool Custom-Widgets, I want to custom a animated menu, after the installation of Custom-Widgets from https://github.com/KhamisiKibet/QT-PyQt-PySide-Custom-Widgets
I try to prove it with the demo:
from Custom_Widgets.ProgressIndicator import test
test.main()
but It doesn't find the package of this.
I had this output:
Traceback (most recent call last):
File "c:\Users\user\Desktop\try\provePyQT.py", line 1, in <module>
import Custom_Widgets
ModuleNotFoundError: No module named 'Custom_Widgets'
What can I do with this error?
I made a library named converttxttoxml (https://pypi.org/project/converttxttoxml/0.0.2/) but everytime someone tries to run it a error of module not found pops up after successful installation of library.
import converttxttoxml
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'converttxttoxml'
But running totally fine in my pc.
This error is displayed in the console
Traceback (most recent call last):
File "main.py", line 12, in <module>
from utils.sql import ManagerDB
ModuleNotFoundError: No module named 'utils.sql'
check your project if "utils" is your own python package, name "utils" is too generic,unlikely is a PYPI package which you install by pip
After installing the pyautogui package with pip, I tried using it in the IDLE shell by typing pyautogui.
However I get the following error:
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
pyautogui
NameError: name 'pyautogui' is not defined
I have scoured the web but have not been able to identify why IDLE will not recognise that pyautogui is installed.
Please let me know if you need more information to answer.
Have you tried importing the package first?
Try:
import pyautogui
I'm having issues running ortools on Linux. I downloaded it from google's site (https://developers.google.com/optimization/) and installed it using "make install," but when I go to use it in python I get the following:
Traceback (most recent call last):
File "regular.py", line 42, in <module>
from ortools.constraint_solver import pywrapcp
File "/home/m3/summer/ortools_examples/examples/python/ortools.py", line 2, in <module>
ImportError: No module named linear_solver
It looks like despite installing ortools, its still not in my python path correctly, so when I call it in the file, it doesn't find anything and returns an error, right? Any advice on how to solve this?