Linked Questions
11 questions linked to/from Python 3.4.0 with MySQL database
1
vote
1
answer
24k
views
MySQLdb with python3.4 [duplicate]
I am using python 3.4 on Lubuntu, which has by default both python2.7 and python3.4
I installed MySQLdb and am trying to use it in python3.4 using pip3
But merely import MySQLdb results in this ...
36
votes
14
answers
84k
views
Can not get mysql-connector-python to install in virtualenv
I'm using Amazon Linux AMI release 2013.09. I've install virtualenv and after activation then I run pip install mysql-connector-python, but when I run my app I get an error: ImportError: No module ...
50
votes
5
answers
63k
views
What is PyMySQL and how does it differ from MySQLdb? Can it affect Django deployment?
I just solved some problems in my Django 1.3 app by using PyMySQL instead of MySQLdb. I followed this tutorial on how to make the switch: http://web-eng-help.blogspot.com/2010/09/install-mysql-5-for-...
9
votes
8
answers
6k
views
Python with MySql unicode problems
I need to call MySQL stored procedure from my python script. As one of parameters I'm passing a unicode string (Russian language), but I get an error;
UnicodeEncodeError: 'latin-1' codec can't ...
1
vote
3
answers
5k
views
Pandas dataframe to_sql method with python3
I have a pandas dataframe with many different columns and will like to insert specific columns into a mySQL database.
I understand from the documentation that the way to do so is to use to_sql like ...
0
votes
1
answer
7k
views
Microsoft Visual C++ 10.0 is required. Get it with "Microsoft Windows SDK 7.1": www.microsoft.com/download/details.aspx?id=8279
** Microsoft Visual C++ 10.0 is required. Get it with "Microsoft Windows SDK 7.1": www.microsoft.com/download/details.aspx?id=8279**
I am getting this error when i am installing mysqlclient or mysql-...
0
votes
2
answers
6k
views
How to install MySQL Connector for Python on Windows when according to the installation manager Python is not installed?
I've been struggling outstandingly lot with the installation of MySQL for Python recently. I've read all forum comments that I could find, either here or other related forums, but none of the ...
1
vote
1
answer
6k
views
Raspberry Pi python 3 - "No module named 'MySQLdb'"
I'm playing with my first Raspberry Pi 3 project, and I've hit a snag. I've found some example code which uses MySQL import MySQLdb as mdb, but when I try to run the code I get a 'No module named '...
0
votes
2
answers
2k
views
Unhandled exception in thread started python manage.py runserver
Recently I installed Python 3.4.3 in my environment (Windows 8.1) and tried to deploy a simple Django server. When I runned the command python manage.py runserver but the following exceptions appeared:...
0
votes
0
answers
621
views
Difficulty inserting data into MySQL db using pymysql
I have written a little script using python3 that gets a RSS news feed using the feedparser library.
I then loop through the entries (dictionary) and then use a try/except block to insert the data ...
-4
votes
1
answer
311
views
Python 3.4 MySQL connection [closed]
I want my Python code to connect to my SQL server. Everything I find on Google is for Python 3.2 or older. Is there any possibility that I can connect to a MySQL server without installing anything? ...