ModuleNotFoundError: No module named 'rnn_base'Calling a function of a module by using its name (a string)How to import a module given its name?Python error “ImportError: No module named”Proper way to declare custom exceptions in modern Python?Python and pip, list all versions of a package that's available?No module named pkg_resourcesHow to fix “Attempted relative import in non-package” even with __init__.pypg_config executable not foundFailed to install Python Cryptography package with PIP and setup.pyError after upgrading pip: cannot import name 'main'

How likely is fragmentation on a table with 40000 products likely to affect performance

Struggling with cyclical dependancies in unit tests

Can I change the license of a forked project to the MIT if the license of the parent project has changed from the GPL to the MIT?

Why would anyone ever invest in a cash-only etf?

If an arcane trickster rogue uses his mage hand and makes it invisible, does that mean anything the hand picks up is also invisible?

Why is the Apollo LEM ladder so far from the ground?

Composing fill in the blanks

Exploiting the delay when a festival ticket is scanned

Why didn’t Christianity spread southwards from Ethiopia in the Middle Ages?

reconstruction filter - How does it actually work?

Did the Americans trade destroyers in the "destroyer deal" that they would later need themselves?

Copying an existing HTML page and use it, is that against any copyright law?

Do 3/8 (37.5%) of Quadratics Have No x-Intercepts?

Finding the Maximum of a Continuous Function over a Closed Interval

How did the Sinclair compare on price with the C64 in the UK?

Why force the nose of 737 Max down in the first place?

Examples of simultaneous independent breakthroughs

How do you pronounce "Hain"?

How can I say in Russian "I am not afraid to write anything"?

Incrementing add under condition in pandas

How can religions be structured in ways that allow inter-faith councils to work?

Are the named pipe created by `mknod` and the FIFO created by `mkfifo` equivalent?

Did Vladimir Lenin have a cat?

What happens when a flying sword is killed?



ModuleNotFoundError: No module named 'rnn_base'


Calling a function of a module by using its name (a string)How to import a module given its name?Python error “ImportError: No module named”Proper way to declare custom exceptions in modern Python?Python and pip, list all versions of a package that's available?No module named pkg_resourcesHow to fix “Attempted relative import in non-package” even with __init__.pypg_config executable not foundFailed to install Python Cryptography package with PIP and setup.pyError after upgrading pip: cannot import name 'main'






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








-1















I am trying to run this python code but I will get the following error:



import rnn_base as rnn
ModuleNotFoundError: No module named 'rnn_base'


the problem is none of conda install rnn_base or pip install rnn_base can't find any package with name rnn_base to install.



Then can you please guide me how I should install this package on my python?










share|improve this question





















  • 2





    rnn_base is a python file and not a package. Have you tried adding the location of these files to your system path?

    – Nivii1406
    Mar 26 at 20:02











  • @Nivii1406 thank you so much. it solve my problem :)

    – Reza Amya
    Mar 26 at 20:19

















-1















I am trying to run this python code but I will get the following error:



import rnn_base as rnn
ModuleNotFoundError: No module named 'rnn_base'


the problem is none of conda install rnn_base or pip install rnn_base can't find any package with name rnn_base to install.



Then can you please guide me how I should install this package on my python?










share|improve this question





















  • 2





    rnn_base is a python file and not a package. Have you tried adding the location of these files to your system path?

    – Nivii1406
    Mar 26 at 20:02











  • @Nivii1406 thank you so much. it solve my problem :)

    – Reza Amya
    Mar 26 at 20:19













-1












-1








-1








I am trying to run this python code but I will get the following error:



import rnn_base as rnn
ModuleNotFoundError: No module named 'rnn_base'


the problem is none of conda install rnn_base or pip install rnn_base can't find any package with name rnn_base to install.



Then can you please guide me how I should install this package on my python?










share|improve this question
















I am trying to run this python code but I will get the following error:



import rnn_base as rnn
ModuleNotFoundError: No module named 'rnn_base'


the problem is none of conda install rnn_base or pip install rnn_base can't find any package with name rnn_base to install.



Then can you please guide me how I should install this package on my python?







python python-3.x pip conda miniconda






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 26 at 19:56







Reza Amya

















asked Mar 26 at 19:31









Reza AmyaReza Amya

4177 silver badges21 bronze badges




4177 silver badges21 bronze badges










  • 2





    rnn_base is a python file and not a package. Have you tried adding the location of these files to your system path?

    – Nivii1406
    Mar 26 at 20:02











  • @Nivii1406 thank you so much. it solve my problem :)

    – Reza Amya
    Mar 26 at 20:19












  • 2





    rnn_base is a python file and not a package. Have you tried adding the location of these files to your system path?

    – Nivii1406
    Mar 26 at 20:02











  • @Nivii1406 thank you so much. it solve my problem :)

    – Reza Amya
    Mar 26 at 20:19







2




2





rnn_base is a python file and not a package. Have you tried adding the location of these files to your system path?

– Nivii1406
Mar 26 at 20:02





rnn_base is a python file and not a package. Have you tried adding the location of these files to your system path?

– Nivii1406
Mar 26 at 20:02













@Nivii1406 thank you so much. it solve my problem :)

– Reza Amya
Mar 26 at 20:19





@Nivii1406 thank you so much. it solve my problem :)

– Reza Amya
Mar 26 at 20:19












1 Answer
1






active

oldest

votes


















0














Add the following code to your python:



import sys
sys.path.append ('C:\DIRECTORY\OF\PLACE\WHERE\rnn_base\FILE\IS')


please note that you should point to the directory, not the file itself. and also use \ instead of






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',
    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/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%2f55364956%2fmodulenotfounderror-no-module-named-rnn-base%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









    0














    Add the following code to your python:



    import sys
    sys.path.append ('C:\DIRECTORY\OF\PLACE\WHERE\rnn_base\FILE\IS')


    please note that you should point to the directory, not the file itself. and also use \ instead of






    share|improve this answer





























      0














      Add the following code to your python:



      import sys
      sys.path.append ('C:\DIRECTORY\OF\PLACE\WHERE\rnn_base\FILE\IS')


      please note that you should point to the directory, not the file itself. and also use \ instead of






      share|improve this answer



























        0












        0








        0







        Add the following code to your python:



        import sys
        sys.path.append ('C:\DIRECTORY\OF\PLACE\WHERE\rnn_base\FILE\IS')


        please note that you should point to the directory, not the file itself. and also use \ instead of






        share|improve this answer













        Add the following code to your python:



        import sys
        sys.path.append ('C:\DIRECTORY\OF\PLACE\WHERE\rnn_base\FILE\IS')


        please note that you should point to the directory, not the file itself. and also use \ instead of







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 26 at 20:23









        Reza AmyaReza Amya

        4177 silver badges21 bronze badges




        4177 silver badges21 bronze badges





















            Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







            Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















            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.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55364956%2fmodulenotfounderror-no-module-named-rnn-base%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

            Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

            SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

            은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현