Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[SOLVED] mysql-connector-python

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
sgtmcc
n00b
n00b
Posts: 10
Joined: Tue Jul 11, 2023 5:13 pm

[SOLVED] mysql-connector-python

  • Quote

Post by sgtmcc » Fri Dec 29, 2023 1:29 pm

I have a python script that imports mysql. When I look through portage, I see dev-db/mysql-connector-c++ and dev-db/mysql-connector-c. I installed both just in case those were useful. I also install dev-python/pymysql and dev-python/mysqlclient

So far nothing works and my script keeps failing

import mysql.connector
ModuleNotFoundError: No module named 'mysql'

What am I missing? I see mysql-connector-python used to be in portage, but I can't seem to find it anymore

I tried to install it through pip, but gentoo yelled at me claiming it might break my system
Last edited by sgtmcc on Fri Dec 29, 2023 3:20 pm, edited 1 time in total.
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Fri Dec 29, 2023 2:22 pm

The package was removed

Code: Select all

commit 6f3d57bd257f399303f5fe151b3643546fd3bad9
Author: Sam James <sam@gentoo.org>
Date:   Wed Jul 6 07:42:48 2022 +0100

    dev-python/mysql-connector-python: treeclean
    
    Bug: https://bugs.gentoo.org/845756
    Bug: https://bugs.gentoo.org/823695
    Signed-off-by: Sam James <sam@gentoo.org>
The package is present in an overlay.
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
sgtmcc
n00b
n00b
Posts: 10
Joined: Tue Jul 11, 2023 5:13 pm

  • Quote

Post by sgtmcc » Fri Dec 29, 2023 3:21 pm

TYVM
Top
Post Reply

3 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic