Getting an error while importing fibo in IDLE and pycharm - python

I'm having a problem with importing fibo in IDLE or other IDE's like pycharm.
>>>import fibo
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
import fibo
ModuleNotFoundError: No module named 'fibo'
I tried to solve it by googling but I couldn't solve it. Should I download something?

Related

How do I fix an error that does not allow Spyder to start?

Traceback (most recent call last):
File "C:\Users\Tony\anaconda3\Scripts\spyder-script.py", line 6, in
from spyder.app.start import main
File "C:\Users\Tony\anaconda3\lib\site-packages\spyder\app\start.py", line 21, in
import ctypes
ModuleNotFoundError: No module named 'ctypes'
I recently updated both python and Spyder to their newest versions. I tried to open Spyder, but came across this error where it cannot launch Spyder.

I can't run Custom-Widgets for PyQt5, how can I solve it?

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?

can't run customtkinter with .exe

when I try to convert my python file into .exe using auto-py-to-exe an error occure:
Traceback (most recent call last):
File "Jumper.py", line 5,
in File "C:\Users\Clowny\output\Jumper\customtkinter_init_.py", line 10, in
from .appearance_mode_tracker import AppearanceModeTrackerù
File "C:\Users\Clowny\output\Jumper\customtkinter\appearance_mode_tracker.py", line 3, in
from distutils.version import StrictVersion as Version
ModuleNotFoundError: No module named 'distutils'
I already used the documentation steps but it still doesn't working.
can anyone help me?

Module not found error for self made library

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.

PIP module installs in cmd but python cant see it

I have looked this up, no-one else has had the same issue.
I was installing Keras and in the Command Prompt, it said it installed just fine; however, in python it just gives me this error:
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
from keras.models import Sequential
ModuleNotFoundError: No module named 'keras'

Categories

Resources