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;









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?










share|improve this question
































    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?










    share|improve this question




























      0












      0








      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?










      share|improve this question















      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






      share|improve this question














      share|improve this question











      share|improve this question




      share|improve this question










      asked Jul 16 at 15:42









      user259561user259561

      61 silver badge3 bronze badges




      61 silver badge3 bronze badges























          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
          );



          );














          draft saved

          draft discarded
















          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
















          draft saved

          draft discarded















































          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.




          draft saved


          draft discarded














          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





















































          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









          Popular posts from this blog

          Distance measures on a map of a game The 2019 Stack Overflow Developer Survey Results Are Inmin distance in a graphShortest distance path on contour plotHow to plot a tilted map?Finding points outside of a diskDelaunay link distanceAnnulus from GeoDisks: drawing a ring on a mapNegative Correlation DistanceFind distance along a path (GPS coordinates)Finding position at given distance in a GeoPathMathematics behind distance estimation using camera

          Genealogie vun de Merowenger Vum Merowech bis zum Chilperich I. | Navigatiounsmenü

          How to get a smooth, uniform ParametricPlot of a 2D Region?How to plot a complicated Region?How to exclude a region from ParametricPlotHow discretize a region placing vertices on a specific non-uniform gridHow to transform a Plot or a ParametricPlot into a RegionHow can I get a smooth plot of a bounded region?Smooth ParametricPlot3D with RegionFunction?Smooth border of a region ParametricPlotSmooth region boundarySmooth region plot from list of pointsGet minimum y of a certain x in a region