mysql module not working in python3Install and use Hovercraft on Ubuntu 14.10How to Access MySQL with Python Version 3.4trying to install mysql-connector for python 3vboxapi for python3MySQL connector/python ImportError: No module named 'mysql'How to set vs code for python3mysql.connector module for python
Swap M-x and M-q
Will a nuclear country use nuclear weapons if attacked by conventional means by another nuclear country?
Morphing between two functions
How did my photos get transferred to my new iPhone even though they weren't in iCloud?
Is it a good idea to contact a candidate?
If the wavefunction of a quantum system is not an eigenfunction of some operator, how do we measure that property?
Why did dict.get(key) work but not dict[key]?
Pi to the power y, for small y's
Is it acceptable to mark off or comment on someone's presentation based on their non-standard English accent?
Can you make tandoori rotis with chickpea / green pea flour?
Can dual US-Canadian citizens travel to the US with an expired US passport but valid Canadian passport?
Counter intuitive Bayesian theorem
What is a good way to challenge an Agonizing Blast Warlock?
Did medieval stores have names?
Short story trilogy about a human whose parents were missionaries to a planet of cat people
Add legend with ArcPy over my interpolated map
Multiple processes redirecting to the same file with >
How is the entropy at the time of the Big Bang calculated?
Why don't miners charge more for high value transactions?
Possible executive assistant job scam
What were the prevailing real-life cultural connotations of "clones" in 1975 (Star Wars' 3rd draft)?
Do airplanes need brakes in the air?
Why do airports in the UK have so few runways?
Is it possible to write a short story in 500 words?
mysql module not working in python3
Install and use Hovercraft on Ubuntu 14.10How to Access MySQL with Python Version 3.4trying to install mysql-connector for python 3vboxapi for python3MySQL connector/python ImportError: No module named 'mysql'How to set vs code for python3mysql.connector module for python
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
Am using ubuntu 16.04.
Installed mysql connector with pip3.
python3 show mysql module installed.
import mysql is only accepted in the python interpreter and not in scripts,
it only works with python.(only) not with python3 scripts. why is that?
mysql python3
add a comment
|
Am using ubuntu 16.04.
Installed mysql connector with pip3.
python3 show mysql module installed.
import mysql is only accepted in the python interpreter and not in scripts,
it only works with python.(only) not with python3 scripts. why is that?
mysql python3
add a comment
|
Am using ubuntu 16.04.
Installed mysql connector with pip3.
python3 show mysql module installed.
import mysql is only accepted in the python interpreter and not in scripts,
it only works with python.(only) not with python3 scripts. why is that?
mysql python3
Am using ubuntu 16.04.
Installed mysql connector with pip3.
python3 show mysql module installed.
import mysql is only accepted in the python interpreter and not in scripts,
it only works with python.(only) not with python3 scripts. why is that?
mysql python3
mysql python3
asked Jul 16 at 15:42
user259561user259561
61 silver badge3 bronze badges
61 silver badge3 bronze badges
add a comment
|
add a comment
|
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1158701%2fmysql-module-not-working-in-python3%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1158701%2fmysql-module-not-working-in-python3%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown