ModuleNotFoundError: No module named 'plotly'











up vote
1
down vote

favorite












After reading all the existing post related to this issue, i still did not manage to fix it.



ModuleNotFoundError: No module named 'plotly'


I have tried all the following:



pip3 install plotly
pip3 install plotly --upgrade


as well as uninstalling plotly with:



pip3 uninstall plotly 


And reinstalling it again, i get the following on terminal:



Requirement already satisfied, skipping upgrade: six in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from plotly) (1.11.0)
Requirement already satisfied, skipping upgrade: nbformat>=4.2 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from plotly) (4.4.0)
Requirement already satisfied, skipping upgrade: retrying>=1.3.3 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from plotly) (1.3.3)
Requirement already satisfied, skipping upgrade: urllib3<1.25,>=1.21.1 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from requests->plotly) (1.24.1)
Requirement already satisfied, skipping upgrade: idna<2.8,>=2.5 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from requests->plotly) (2.7)
Requirement already satisfied, skipping upgrade: chardet<3.1.0,>=3.0.2 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from requests->plotly) (3.0.4)
Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from requests->plotly) (2018.10.15)
Requirement already satisfied, skipping upgrade: jsonschema!=2.5.0,>=2.4 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from nbformat>=4.2->plotly) (2.6.0)
Requirement already satisfied, skipping upgrade: jupyter-core in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from nbformat>=4.2->plotly) (4.4.0)
Requirement already satisfied, skipping upgrade: traitlets>=4.1 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from nbformat>=4.2->plotly) (4.3.2)
Requirement already satisfied, skipping upgrade: ipython-genutils in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from nbformat>=4.2->plotly) (0.2.0)

import plotly
import plotly.plotly as py


yield:



ModuleNotFoundError: No module named 'plotly'


my version of pip(3) as well as python(3) seem to be both fine
May somebody please help?



Using Python3 on Atom 1.32.2 x64










share|improve this question




























    up vote
    1
    down vote

    favorite












    After reading all the existing post related to this issue, i still did not manage to fix it.



    ModuleNotFoundError: No module named 'plotly'


    I have tried all the following:



    pip3 install plotly
    pip3 install plotly --upgrade


    as well as uninstalling plotly with:



    pip3 uninstall plotly 


    And reinstalling it again, i get the following on terminal:



    Requirement already satisfied, skipping upgrade: six in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from plotly) (1.11.0)
    Requirement already satisfied, skipping upgrade: nbformat>=4.2 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from plotly) (4.4.0)
    Requirement already satisfied, skipping upgrade: retrying>=1.3.3 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from plotly) (1.3.3)
    Requirement already satisfied, skipping upgrade: urllib3<1.25,>=1.21.1 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from requests->plotly) (1.24.1)
    Requirement already satisfied, skipping upgrade: idna<2.8,>=2.5 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from requests->plotly) (2.7)
    Requirement already satisfied, skipping upgrade: chardet<3.1.0,>=3.0.2 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from requests->plotly) (3.0.4)
    Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from requests->plotly) (2018.10.15)
    Requirement already satisfied, skipping upgrade: jsonschema!=2.5.0,>=2.4 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from nbformat>=4.2->plotly) (2.6.0)
    Requirement already satisfied, skipping upgrade: jupyter-core in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from nbformat>=4.2->plotly) (4.4.0)
    Requirement already satisfied, skipping upgrade: traitlets>=4.1 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from nbformat>=4.2->plotly) (4.3.2)
    Requirement already satisfied, skipping upgrade: ipython-genutils in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from nbformat>=4.2->plotly) (0.2.0)

    import plotly
    import plotly.plotly as py


    yield:



    ModuleNotFoundError: No module named 'plotly'


    my version of pip(3) as well as python(3) seem to be both fine
    May somebody please help?



    Using Python3 on Atom 1.32.2 x64










    share|improve this question


























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      After reading all the existing post related to this issue, i still did not manage to fix it.



      ModuleNotFoundError: No module named 'plotly'


      I have tried all the following:



      pip3 install plotly
      pip3 install plotly --upgrade


      as well as uninstalling plotly with:



      pip3 uninstall plotly 


      And reinstalling it again, i get the following on terminal:



      Requirement already satisfied, skipping upgrade: six in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from plotly) (1.11.0)
      Requirement already satisfied, skipping upgrade: nbformat>=4.2 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from plotly) (4.4.0)
      Requirement already satisfied, skipping upgrade: retrying>=1.3.3 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from plotly) (1.3.3)
      Requirement already satisfied, skipping upgrade: urllib3<1.25,>=1.21.1 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from requests->plotly) (1.24.1)
      Requirement already satisfied, skipping upgrade: idna<2.8,>=2.5 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from requests->plotly) (2.7)
      Requirement already satisfied, skipping upgrade: chardet<3.1.0,>=3.0.2 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from requests->plotly) (3.0.4)
      Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from requests->plotly) (2018.10.15)
      Requirement already satisfied, skipping upgrade: jsonschema!=2.5.0,>=2.4 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from nbformat>=4.2->plotly) (2.6.0)
      Requirement already satisfied, skipping upgrade: jupyter-core in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from nbformat>=4.2->plotly) (4.4.0)
      Requirement already satisfied, skipping upgrade: traitlets>=4.1 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from nbformat>=4.2->plotly) (4.3.2)
      Requirement already satisfied, skipping upgrade: ipython-genutils in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from nbformat>=4.2->plotly) (0.2.0)

      import plotly
      import plotly.plotly as py


      yield:



      ModuleNotFoundError: No module named 'plotly'


      my version of pip(3) as well as python(3) seem to be both fine
      May somebody please help?



      Using Python3 on Atom 1.32.2 x64










      share|improve this question















      After reading all the existing post related to this issue, i still did not manage to fix it.



      ModuleNotFoundError: No module named 'plotly'


      I have tried all the following:



      pip3 install plotly
      pip3 install plotly --upgrade


      as well as uninstalling plotly with:



      pip3 uninstall plotly 


      And reinstalling it again, i get the following on terminal:



      Requirement already satisfied, skipping upgrade: six in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from plotly) (1.11.0)
      Requirement already satisfied, skipping upgrade: nbformat>=4.2 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from plotly) (4.4.0)
      Requirement already satisfied, skipping upgrade: retrying>=1.3.3 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from plotly) (1.3.3)
      Requirement already satisfied, skipping upgrade: urllib3<1.25,>=1.21.1 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from requests->plotly) (1.24.1)
      Requirement already satisfied, skipping upgrade: idna<2.8,>=2.5 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from requests->plotly) (2.7)
      Requirement already satisfied, skipping upgrade: chardet<3.1.0,>=3.0.2 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from requests->plotly) (3.0.4)
      Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from requests->plotly) (2018.10.15)
      Requirement already satisfied, skipping upgrade: jsonschema!=2.5.0,>=2.4 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from nbformat>=4.2->plotly) (2.6.0)
      Requirement already satisfied, skipping upgrade: jupyter-core in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from nbformat>=4.2->plotly) (4.4.0)
      Requirement already satisfied, skipping upgrade: traitlets>=4.1 in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from nbformat>=4.2->plotly) (4.3.2)
      Requirement already satisfied, skipping upgrade: ipython-genutils in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (from nbformat>=4.2->plotly) (0.2.0)

      import plotly
      import plotly.plotly as py


      yield:



      ModuleNotFoundError: No module named 'plotly'


      my version of pip(3) as well as python(3) seem to be both fine
      May somebody please help?



      Using Python3 on Atom 1.32.2 x64







      python python-3.x plotly






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 25 at 11:16

























      asked Nov 22 at 16:54









      user304663

      84




      84
























          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          That sounds like a classic dependency issue.




          • Check that your pip version is using the same python version (3.6) as what you launch your script with (IE: Use python3(.6) to launch your script, not just python)


          • Your logs aren't showing plotly already installed. In fact, you probably forgot a line when pasting but installing with pip3.6 install -U plotly should install the package if not already installed.







          share|improve this answer





















          • I have tried what you’ve suggested but no change!
            – user304663
            Nov 22 at 21:02










          • Send the output from pip3 --version and python3 --version
            – WayToDoor
            Nov 22 at 21:04










          • pip 18.1 from /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip (python 3.6) Python 3.6.0
            – user304663
            Nov 22 at 21:07










          • Hum... What about python3 -c "import site; print(site.getsitepackages())"
            – WayToDoor
            Nov 22 at 21:09










          • ['/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages', '/Library/Python/3.6/site-packages']
            – user304663
            Nov 22 at 21:11











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          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',
          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/3.0/"u003ecc by-sa 3.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%2fstackoverflow.com%2fquestions%2f53435428%2fmodulenotfounderror-no-module-named-plotly%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote













          That sounds like a classic dependency issue.




          • Check that your pip version is using the same python version (3.6) as what you launch your script with (IE: Use python3(.6) to launch your script, not just python)


          • Your logs aren't showing plotly already installed. In fact, you probably forgot a line when pasting but installing with pip3.6 install -U plotly should install the package if not already installed.







          share|improve this answer





















          • I have tried what you’ve suggested but no change!
            – user304663
            Nov 22 at 21:02










          • Send the output from pip3 --version and python3 --version
            – WayToDoor
            Nov 22 at 21:04










          • pip 18.1 from /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip (python 3.6) Python 3.6.0
            – user304663
            Nov 22 at 21:07










          • Hum... What about python3 -c "import site; print(site.getsitepackages())"
            – WayToDoor
            Nov 22 at 21:09










          • ['/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages', '/Library/Python/3.6/site-packages']
            – user304663
            Nov 22 at 21:11















          up vote
          0
          down vote













          That sounds like a classic dependency issue.




          • Check that your pip version is using the same python version (3.6) as what you launch your script with (IE: Use python3(.6) to launch your script, not just python)


          • Your logs aren't showing plotly already installed. In fact, you probably forgot a line when pasting but installing with pip3.6 install -U plotly should install the package if not already installed.







          share|improve this answer





















          • I have tried what you’ve suggested but no change!
            – user304663
            Nov 22 at 21:02










          • Send the output from pip3 --version and python3 --version
            – WayToDoor
            Nov 22 at 21:04










          • pip 18.1 from /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip (python 3.6) Python 3.6.0
            – user304663
            Nov 22 at 21:07










          • Hum... What about python3 -c "import site; print(site.getsitepackages())"
            – WayToDoor
            Nov 22 at 21:09










          • ['/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages', '/Library/Python/3.6/site-packages']
            – user304663
            Nov 22 at 21:11













          up vote
          0
          down vote










          up vote
          0
          down vote









          That sounds like a classic dependency issue.




          • Check that your pip version is using the same python version (3.6) as what you launch your script with (IE: Use python3(.6) to launch your script, not just python)


          • Your logs aren't showing plotly already installed. In fact, you probably forgot a line when pasting but installing with pip3.6 install -U plotly should install the package if not already installed.







          share|improve this answer












          That sounds like a classic dependency issue.




          • Check that your pip version is using the same python version (3.6) as what you launch your script with (IE: Use python3(.6) to launch your script, not just python)


          • Your logs aren't showing plotly already installed. In fact, you probably forgot a line when pasting but installing with pip3.6 install -U plotly should install the package if not already installed.








          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 22 at 20:04









          WayToDoor

          371214




          371214












          • I have tried what you’ve suggested but no change!
            – user304663
            Nov 22 at 21:02










          • Send the output from pip3 --version and python3 --version
            – WayToDoor
            Nov 22 at 21:04










          • pip 18.1 from /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip (python 3.6) Python 3.6.0
            – user304663
            Nov 22 at 21:07










          • Hum... What about python3 -c "import site; print(site.getsitepackages())"
            – WayToDoor
            Nov 22 at 21:09










          • ['/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages', '/Library/Python/3.6/site-packages']
            – user304663
            Nov 22 at 21:11


















          • I have tried what you’ve suggested but no change!
            – user304663
            Nov 22 at 21:02










          • Send the output from pip3 --version and python3 --version
            – WayToDoor
            Nov 22 at 21:04










          • pip 18.1 from /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip (python 3.6) Python 3.6.0
            – user304663
            Nov 22 at 21:07










          • Hum... What about python3 -c "import site; print(site.getsitepackages())"
            – WayToDoor
            Nov 22 at 21:09










          • ['/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages', '/Library/Python/3.6/site-packages']
            – user304663
            Nov 22 at 21:11
















          I have tried what you’ve suggested but no change!
          – user304663
          Nov 22 at 21:02




          I have tried what you’ve suggested but no change!
          – user304663
          Nov 22 at 21:02












          Send the output from pip3 --version and python3 --version
          – WayToDoor
          Nov 22 at 21:04




          Send the output from pip3 --version and python3 --version
          – WayToDoor
          Nov 22 at 21:04












          pip 18.1 from /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip (python 3.6) Python 3.6.0
          – user304663
          Nov 22 at 21:07




          pip 18.1 from /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip (python 3.6) Python 3.6.0
          – user304663
          Nov 22 at 21:07












          Hum... What about python3 -c "import site; print(site.getsitepackages())"
          – WayToDoor
          Nov 22 at 21:09




          Hum... What about python3 -c "import site; print(site.getsitepackages())"
          – WayToDoor
          Nov 22 at 21:09












          ['/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages', '/Library/Python/3.6/site-packages']
          – user304663
          Nov 22 at 21:11




          ['/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages', '/Library/Python/3.6/site-packages']
          – user304663
          Nov 22 at 21:11


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • 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.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • 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%2fstackoverflow.com%2fquestions%2f53435428%2fmodulenotfounderror-no-module-named-plotly%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

          What visual should I use to simply compare current year value vs last year in Power BI desktop

          How to ignore python UserWarning in pytest?

          Alexandru Averescu