Linked Questions

4 votes
0 answers
4k views

I'm on Mac OSX and I cannot import sqlalchemy. Here is what I did. I ran: $ pip install sqlalchemy Requirement already satisfied: sqlalchemy in /usr/local/lib/python2.7/site-packages (1.3.1) I ...
b10hazard's user avatar
  • 7,859
1 vote
0 answers
789 views

when i do import mysql.connector it says am00.py", line 5, in import mysql.connector ModuleNotFoundError: No module named 'mysql' but I installed all things that I need(MySQL, python, mysql-...
SEU's user avatar
  • 11
648 votes
38 answers
2.7m views

Python is installed in a local directory. My directory tree looks like this: (local directory)/site-packages/toolkit/interface.py My code is in here: (local directory)/site-packages/toolkit/...
Eduardo's user avatar
  • 21.2k
213 votes
36 answers
1.1m views

When I try to run app.py (Python 3.3, PyCrypto 2.6) my virtualenv keeps returning the error listed above. My import statement is just from Crypto.Cipher import AES. I looked for duplicates and you ...
Graham Smith's user avatar
  • 2,345
62 votes
15 answers
353k views

I'm a newbie and I needed the pySerial and feedparser module for my projects. I'm running Mountain lion. I followed the following tutorial so that I could upgrade to python 2.7.3 and then use the ...
user1953478's user avatar
69 votes
6 answers
176k views

I have a python application with the following directory structure: src | +---- main | +---- util | +---- gen_py | +---- lib In the package main, I have a python module named ...
F. Aydemir's user avatar
  • 2,755
3 votes
6 answers
5k views

When I try to use import praw I get the following error: ModuleNotFoundError: No module named 'praw' I made sure to install praw beforehand in the command prompt, using pip install praw, so I'm not ...
Carter Michaelis's user avatar
5 votes
2 answers
10k views

I am trying to use Scrapy in Python, but even if it is installed, afterwards it is not found when I try import it. I am quite new at python and dealing directly with the Terminal, so probably I am ...
J0ANMM's user avatar
  • 8,653
4 votes
1 answer
18k views

I am trying to install Exscript from github. pip install -e 'git+git://github.com/knipknap/exscript.git#egg=Exscript' ... Successfully installed Exscript Cleaning up.. When i try to load it, python ...
gtfx's user avatar
  • 313
1 vote
4 answers
9k views

I am trying to install the shap package and keep getting the following error ModuleNotFoundError: No module named 'shap' I have typed the following into my notebook as well as terminal !conda install -...
Samantha's user avatar
  • 121
2 votes
2 answers
4k views

I have installed protobuf but when I run my script that uses pb.py it complains: from google.protobuf import descriptor as _descriptor ImportError: No module named google.protobuf However when I ...
Kemba Walker's user avatar
1 vote
1 answer
4k views

I want to install PySide using PIP package manager. But it get this error message saying it didn't find nmake. This is no surprise because I do not have MSVC installed nor do I intend to. Installing ...
Glemi's user avatar
  • 745
1 vote
4 answers
4k views

I am trying to run a Python script locally using python3. This script requires proxymanager. Requirement already satisfied: proxymanager in /Library/Frameworks/Python.framework/Versions/3.9/lib/...
supra98's user avatar
  • 19
2 votes
1 answer
4k views

My question is about running a simple mapit python script using the Mac terminal to execute. I am following along with 'Automate the boring stuff'. I created a script to copy an address either from a ...
Sid Mittra's user avatar
0 votes
1 answer
3k views

Trying to install third party modules on my mac using pip and I am getting this error (Using IDLE as the Python shell): Traceback (most recent call last): File "<pyshell#1>", line 1, ...
Deon O'Brien's user avatar

15 30 50 per page