mysql-python Questions
15
I am new to python and I am trying django framework that involves some MySql and ran into this error when try to do pip install mysqlclient and down the lines of cmd messages I got this.
Failed b...
Palatial asked 30/6, 2018 at 18:27
6
I try to install install mysqlclient on mac in a virtual env with the following:
pip3 install mysqlclient
I get the following error:
Collecting mysqlclient
Using cached https://files.pythonhosted...
Helvetic asked 20/9, 2020 at 5:42
7
Solved
I'm new to linux and VM's in general. Im currently trying to install mysqlclient on a clean Ubuntu Jammy 64 (22.4) vbox instance. The following commands are run beforehand:
sudo add-apt-repository...
Armstrong asked 30/6, 2023 at 3:1
4
Solved
I have created a very simple web app using Flask and I have a MySQL database connected. FYI, I am using bash on windows.
The below function registers a person into the Mysql Database and it works ...
Doxy asked 12/10, 2018 at 12:54
5
Traceback (most recent call last):
File "/Applications/MAMP/htdocs/Minor Project/xyz.py", line 5, in <module>
import config
File "/Applications/MAMP/htdocs/Minor Project/config.py", line 5...
Mayonnaise asked 17/7, 2018 at 6:39
8
Solved
I installed Python 2.7.15rci and Python 3.6.7 on Ubuntu. When i did 'pip list' on virtualenv it returns me:
Django (2.1.5)
pip (9.0.1)
pkg-resources (0.0.0)
pytz (2018.9)
setuptools (39.0.1)
wheel...
Firestone asked 24/1, 2019 at 16:9
10
Solved
I've run into a bit of a wall importing modules in a Python script. I'll do my best to describe the error, why I run into it, and why I'm tying this particular approach to solve my problem (which I...
Vodka asked 11/4, 2013 at 21:53
5
Opening a connection using SSL with python connector gives me following error:
MySQLdb.connect(host='host',user='user,passwd='xxx',db='xxx',)
OperationalError: (2026, 'SSL connection error: ASN: ...
Blurb asked 26/6, 2019 at 2:10
10
Solved
I'm running Ubuntu 16.04, trying to connect to mysql in python:
import mysql
username = 'root'
cnx = mysql.connector.connect(user=username, database='db')
cnx.close()
But I get an error:
...
Coreycorf asked 30/9, 2017 at 14:42
1
Solved
I'm using python:3-slim Docker image and want to use the mysqlclient package from Pypi but getting the following error from RUN pip install mysqlclient command:
...
Collecting mysqlclient
Download...
Schneider asked 6/11, 2023 at 17:48
3
I'm using Debian/Ubuntu, and I am trying to install an Airflow provider in my Python virtual environment:
$ pip install apache-airflow-providers-mysql
error: subprocess-exited-with-error
× Getti...
Apogee asked 10/8, 2023 at 11:52
6
Solved
I would like to specify the dtypes returned when doing pandas.read_sql. In particular I am interested in saving memory and having float values returned as np.float32 instead of np.float64. I know t...
Edenedens asked 17/8, 2016 at 15:16
5
Solved
I have an SQL database and am wondering what command you use to just get a list of the table names within that database.
Uigur asked 24/8, 2010 at 12:18
1
I am trying to install my requirements.txt file, which have many packages, every package has been installed except for mysqlclient.
I am using Linux Mint 21.2
Python 3.10,
when ever I try to run pi...
Scorper asked 14/9, 2023 at 11:15
5
I'm trying to install mysqlclient on mac os x mojave:
sudo pip3 install mysqlclient
I get the following error:
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -D...
Seay asked 2/11, 2018 at 0:14
6
I’m trying to install Python interface to MySQL (mysqlclient 2.1.0) for use with Django project (to be developed in MS Code) on my MacBook with M1 chip. When I’m trying to install mysqlclient for p...
Ursulaursulette asked 18/3, 2022 at 1:28
7
Solved
I'm building a Django (ver. 3.0.5) app that uses mysqlclient (ver. 2.0.3) as the DB backend. Additionally, I've written a Django command that runs a bot written using the python-telegram-bot API, s...
Dumpy asked 26/8, 2021 at 11:34
11
Solved
I'm having trouble installing mysql-python. Created a new virtualenv and when installing mysql-python... here's the error message:
(env)$ pip install mysql-python
Collecting mysql-python
...
clan...
Vashtivashtia asked 14/11, 2016 at 11:21
2
Solved
I intend to export a pandas dataframe to MySQL using SQLAlchemy. Despite referring to all previous posts, I am unable to solve the issue:
import pandas as pd
import pymysql
from sqlalchemy import ...
Aetna asked 8/2, 2018 at 15:58
3
Solved
i'm running a SELECT query in a loop.
Once in a while, the database table is updated (by another program).
The first SELECT retrieves the correct data, but further calls in the loop return the fi...
Cacka asked 13/5, 2014 at 15:12
6
I am trying to connect my django project 'mysite' to mysql. I made a user in mysql and granted it all privileges to access the project. These are the changes I made to settings.py :
DATABASES = {...
Waldack asked 22/5, 2018 at 13:57
5
Solved
I am new to Python and trying to setup a Django project to work with MySql. I have read through the documentation as well as some other StackOverflow posts about the topic, but I still can't get it...
Coopt asked 25/10, 2014 at 9:24
18
Solved
I am trying to write a Pandas dataframe (or can use a numpy array) to a mysql database using MysqlDB . MysqlDB doesn't seem understand 'nan' and my database throws out an error saying nan is not in...
Cisalpine asked 4/1, 2013 at 18:26
5
Solved
So I've been trying to do some database update with python and while setting up the whole dev environment, I came across these three things which made me dizzy.
There's MySQLdb
There's mysqlclien...
Winnah asked 29/3, 2017 at 19:23
10
Solved
Trying to install mysqlclient using pip3 on Python 3.6.0
$ pip3 install mysqlclient
Collecting mysqlclient
Using cached mysqlclient-1.3.10.tar.gz
Complete output from command python setup.py eg...
Anodyne asked 2/5, 2017 at 14:29
1 Next >
© 2022 - 2025 — McMap. All rights reserved.