• Register

Recent questions tagged python-module

0 votes
1 answer 3 views
Problem: How to I Solve this: error loading mysqldb module no module named mysqldb HELP! I need help understanding this: error loading mysqldb module no module named mysqldb Can someone please help solve this, I am new in python(). Someone have idea to solve this thanks!
asked 1 day ago Mashhoodch 10.8k points
0 votes
1 answer 1 view
Problem: How to I Solve this: modulenotfounderror: no module named 'seaborn' HELP! I need help understanding this: modulenotfounderror: no module named 'seaborn' Can someone please help solve this, I am new in python(). Someone have idea to solve this thanks!
asked 1 day ago Mashhoodch 10.8k points
0 votes
1 answer 3 views
Problem: Why I got the error : modulenotfounderror: no module named 'pip._internal' How to fix this erro: modulenotfounderror: no module named 'pip._internal' HELP! I need help understanding this error: modulenotfounderror: no module named 'pip._internal' Any ideas on what I need to do to fix this? Thanks!
asked 6 days ago Mashhoodch 10.8k points
0 votes
1 answer 18 views
Problem: Tried running a file with the following imports: from flask_sqlalchemy import sqlalchemy from sqlalchemy import create_engine from sqlalchemy.orm import scoped_session, sessionmaker Received the following error: ImportError: No module named 'flask_sqlalchemy' SQLAlchemy is installed. Still, I tried to reinstall into the directory in which it will be used.
asked Feb 23 Mashhoodch 10.8k points
0 votes
1 answer 31 views
Problem: have troubles to import the basemap module of mpl_toolkits in python. Here is what I get when I run the test.py script from the module directory: /usr/lib/python2.7/dist-packages/mpl_toolkits/basemap$ python test.py Traceback (most recent call last): File "test. ... " directory. There is no problem to import mpl_toolkits. Here is a thing I tried, to manually add the path, and the result:
asked Feb 14 Mashhoodch 10.8k points
0 votes
1 answer 42 views
Problem: I am using Ubuntu and have installed Python 2.7.5 and 3.4.0. In Python 2.7.5 I am able to successfully assign a variable x = Value('i', 2), but not in 3.4.0. I am getting: Traceback (most recent call last): File "<stdin>", line 1, ... File "/usr/local/lib/python3.4/ctypes/__init__.py", line 7, in <module> from _ctypes import Union, Structure, Array ImportError: No module named '_ctypes'
asked Jan 26 Mashhoodch 10.8k points
0 votes
1 answer 12 views
I'm installing python on my windows 10 laptop, and when I try to run it I get this. Fatal Python error: Py_Initialize: unable to load the file system codec ModuleNotFoundError: No module named 'encodings' Current thread 0x0000037c (most recent call first):
asked Oct 25, 2020 psandprop 2.4k points
0 votes
1 answer 382 views
I'm getting something like this. Can anyone please tell me how to fix this. C:\Users\krush\Documents\ML using Python>pip install pocketsphinx Collecting pocketsphinx Using cached pocketsphinx-0.1.3.zip Building wheels for collected packages: pocketsphinx Running setup.py bdist_wheel for pocketsphinx: started ... ------------------------- Command "C:\Users\krush\Anaconda3\python.exe -u -c "impor
asked Oct 25, 2020 psandprop 2.4k points
0 votes
1 answer 655 views
I would like to get a list of names of built-in modules in python such that I can test the popularity of function's naming conventions (underline, CamelCase or mixedCase). I know there is a Global Module Index but I am wondering if there is a list of strings, which is ... :) Update: len(dir(__builtins__)) = 145 len(stdlib_list("2.7")) = 430 help('modules') = 508 # counting manually the output
asked Oct 25, 2020 psandprop 2.4k points
0 votes
1 answer 25 views
I wanna use scikit-learn. I have typed pip install -U scikit-learn pip3 install sklearn to install it; but when i type $ Python >>> import sklearn it returns ImportError: No module named sklearn I followed other tutorials, but it doesn't work. Furthermore, my enviroment ... . What is the true code to type in the terminal? I tried to type python setup.py installin the terminal but it doesn't work
asked Oct 24, 2020 psandprop 2.4k points
1 vote
1 answer 356 views
Problem: Hello, Python learning is being hard for me. I just about to start running my very first python program. I&rsquo;ve installed a fresh python set-up on my machine and done writing my first program. print "Hello Python!" However, the program is not running in my case ... ' Why does the problem occur? How can I get out of this? I am looking forward to having a legit solution for it. Thanks,
asked Apr 20, 2020 Gavin 15.3k points
1 vote
2 answers 68 views
Problem: I am new in python programming. I trired to istall pygame and I wrote some code about it: import sys import settings import pygame def run_game(): pygame.init() all_settings = settings() screen = pygame.display.set_mode( (all_settings.screen_width, all_settings ... config". Please make sure a development version of SD L is installed. ImportError: No module named 'pygame' Can anybody help?
asked Mar 27, 2020 LizzyM 6.1k points
0 votes
1 answer 817 views
Problem : While trying to import the OpenCV, using import cv2 I facing the below error: /usr/local/lib/python2.7/dist-packages/cv2/__init__.py in <module>() 12 13 # make IDE's (PyCharm) autocompletion happy ----> 14 from .cv2 import * 15 16 # wildcard import ... - I am trying to play around with the Google's new Colaboratory tool. Please let me know if someone have solution for the above issue.
asked Dec 18, 2019 alecxe 7.5k points
To see more, click for the full list of questions or popular tags.