ModuleNotFoundError Despite being Installed









up vote
0
down vote

favorite












I'm having trouble loading a package that is installed in my environment and have no idea why..



conda list
fbprophet 0.3.post2 py36_0 conda-forge


When I request for libraries installed in conda, it clearly shows that I have fbprophet installed. Now, when I import it, a ModuleNotFoundError exception is thrown.



 from fbprophet import Prophet
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-1-83be6864a7aa> in <module>()
----> 1 from fbprophet import Prophet
2 import numpy as np
3 import pandas as pd

ModuleNotFoundError: No module named 'fbprophet'


Has anybody run into this issue? What can I do to troubleshoot this?










share|improve this question



















  • 1




    You may have more than one Python installation. Thus you might installed the library in one Python installation and tried to call it from another one. Please let me know if you have more than one Python installation by printing the result os this CMD command where python.
    – Ahmed Gad
    Nov 11 at 22:43










  • Please select my answer as the best answer :)
    – Ahmed Gad
    Nov 11 at 22:59














up vote
0
down vote

favorite












I'm having trouble loading a package that is installed in my environment and have no idea why..



conda list
fbprophet 0.3.post2 py36_0 conda-forge


When I request for libraries installed in conda, it clearly shows that I have fbprophet installed. Now, when I import it, a ModuleNotFoundError exception is thrown.



 from fbprophet import Prophet
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-1-83be6864a7aa> in <module>()
----> 1 from fbprophet import Prophet
2 import numpy as np
3 import pandas as pd

ModuleNotFoundError: No module named 'fbprophet'


Has anybody run into this issue? What can I do to troubleshoot this?










share|improve this question



















  • 1




    You may have more than one Python installation. Thus you might installed the library in one Python installation and tried to call it from another one. Please let me know if you have more than one Python installation by printing the result os this CMD command where python.
    – Ahmed Gad
    Nov 11 at 22:43










  • Please select my answer as the best answer :)
    – Ahmed Gad
    Nov 11 at 22:59












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I'm having trouble loading a package that is installed in my environment and have no idea why..



conda list
fbprophet 0.3.post2 py36_0 conda-forge


When I request for libraries installed in conda, it clearly shows that I have fbprophet installed. Now, when I import it, a ModuleNotFoundError exception is thrown.



 from fbprophet import Prophet
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-1-83be6864a7aa> in <module>()
----> 1 from fbprophet import Prophet
2 import numpy as np
3 import pandas as pd

ModuleNotFoundError: No module named 'fbprophet'


Has anybody run into this issue? What can I do to troubleshoot this?










share|improve this question















I'm having trouble loading a package that is installed in my environment and have no idea why..



conda list
fbprophet 0.3.post2 py36_0 conda-forge


When I request for libraries installed in conda, it clearly shows that I have fbprophet installed. Now, when I import it, a ModuleNotFoundError exception is thrown.



 from fbprophet import Prophet
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-1-83be6864a7aa> in <module>()
----> 1 from fbprophet import Prophet
2 import numpy as np
3 import pandas as pd

ModuleNotFoundError: No module named 'fbprophet'


Has anybody run into this issue? What can I do to troubleshoot this?







python pip anaconda






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 12 at 1:49









Ahmed Gad

101112




101112










asked Nov 11 at 22:35









D500

1439




1439







  • 1




    You may have more than one Python installation. Thus you might installed the library in one Python installation and tried to call it from another one. Please let me know if you have more than one Python installation by printing the result os this CMD command where python.
    – Ahmed Gad
    Nov 11 at 22:43










  • Please select my answer as the best answer :)
    – Ahmed Gad
    Nov 11 at 22:59












  • 1




    You may have more than one Python installation. Thus you might installed the library in one Python installation and tried to call it from another one. Please let me know if you have more than one Python installation by printing the result os this CMD command where python.
    – Ahmed Gad
    Nov 11 at 22:43










  • Please select my answer as the best answer :)
    – Ahmed Gad
    Nov 11 at 22:59







1




1




You may have more than one Python installation. Thus you might installed the library in one Python installation and tried to call it from another one. Please let me know if you have more than one Python installation by printing the result os this CMD command where python.
– Ahmed Gad
Nov 11 at 22:43




You may have more than one Python installation. Thus you might installed the library in one Python installation and tried to call it from another one. Please let me know if you have more than one Python installation by printing the result os this CMD command where python.
– Ahmed Gad
Nov 11 at 22:43












Please select my answer as the best answer :)
– Ahmed Gad
Nov 11 at 22:59




Please select my answer as the best answer :)
– Ahmed Gad
Nov 11 at 22:59












3 Answers
3






active

oldest

votes

















up vote
0
down vote













My suggestion would be creating a virtual environment for your python first, then conda install your package in the virtual environment.






share|improve this answer



























    up vote
    0
    down vote













    My script was reading from my pip install list where the module fbprophet did not exist. I went back and installed it there and everything worked. Lesson learned.



    Always check where your libraries are being read from.






    share|improve this answer



























      up vote
      0
      down vote













      You may have more than one Python installation. Thus you might installed the library in one Python installation and tried to call it from another one. Please let me know if you have more than one Python installation by printing the result os this CMD command where python.






      share|improve this answer




















        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%2f53253936%2fmodulenotfounderror-despite-being-installed%23new-answer', 'question_page');

        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes








        up vote
        0
        down vote













        My suggestion would be creating a virtual environment for your python first, then conda install your package in the virtual environment.






        share|improve this answer
























          up vote
          0
          down vote













          My suggestion would be creating a virtual environment for your python first, then conda install your package in the virtual environment.






          share|improve this answer






















            up vote
            0
            down vote










            up vote
            0
            down vote









            My suggestion would be creating a virtual environment for your python first, then conda install your package in the virtual environment.






            share|improve this answer












            My suggestion would be creating a virtual environment for your python first, then conda install your package in the virtual environment.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Nov 11 at 22:53









            monkeyking9528

            262




            262






















                up vote
                0
                down vote













                My script was reading from my pip install list where the module fbprophet did not exist. I went back and installed it there and everything worked. Lesson learned.



                Always check where your libraries are being read from.






                share|improve this answer
























                  up vote
                  0
                  down vote













                  My script was reading from my pip install list where the module fbprophet did not exist. I went back and installed it there and everything worked. Lesson learned.



                  Always check where your libraries are being read from.






                  share|improve this answer






















                    up vote
                    0
                    down vote










                    up vote
                    0
                    down vote









                    My script was reading from my pip install list where the module fbprophet did not exist. I went back and installed it there and everything worked. Lesson learned.



                    Always check where your libraries are being read from.






                    share|improve this answer












                    My script was reading from my pip install list where the module fbprophet did not exist. I went back and installed it there and everything worked. Lesson learned.



                    Always check where your libraries are being read from.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Nov 11 at 22:57









                    D500

                    1439




                    1439




















                        up vote
                        0
                        down vote













                        You may have more than one Python installation. Thus you might installed the library in one Python installation and tried to call it from another one. Please let me know if you have more than one Python installation by printing the result os this CMD command where python.






                        share|improve this answer
























                          up vote
                          0
                          down vote













                          You may have more than one Python installation. Thus you might installed the library in one Python installation and tried to call it from another one. Please let me know if you have more than one Python installation by printing the result os this CMD command where python.






                          share|improve this answer






















                            up vote
                            0
                            down vote










                            up vote
                            0
                            down vote









                            You may have more than one Python installation. Thus you might installed the library in one Python installation and tried to call it from another one. Please let me know if you have more than one Python installation by printing the result os this CMD command where python.






                            share|improve this answer












                            You may have more than one Python installation. Thus you might installed the library in one Python installation and tried to call it from another one. Please let me know if you have more than one Python installation by printing the result os this CMD command where python.







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Nov 11 at 22:59









                            Ahmed Gad

                            101112




                            101112



























                                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%2f53253936%2fmodulenotfounderror-despite-being-installed%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

                                Top Tejano songwriter Luis Silva dead of heart attack at 64

                                政党

                                天津地下鉄3号線