Re: MySQL Connector wont install with python 3.5
Same problem but on MacOS 10.11.1, connector OK for python 2.7 but ImportError with python 3.5
192-168-1-10:~ nevd$ python
Python 2.7.10 (default, Aug 22 2015, 20:33:39)
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import mysql.connector
>>> ^D
192-168-1-10:~ nevd$
192-168-1-10:~ nevdowling$ python3
Python 3.5.0 (v3.5.0:374f501f4567, Sep 12 2015, 11:00:19)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import mysql.connector
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named 'mysql'
>>> import site; site.getsitepackages()
['/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages', '/Library/Python/3.5/site-packages']
>>>
>>> ^D
Subject
Written By
Posted
December 04, 2015 08:20AM
Re: MySQL Connector wont install with python 3.5
December 13, 2015 03:05AM
February 02, 2016 05:40AM
February 02, 2016 05:55AM
February 18, 2016 08:00PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.