Abnormal behavior of python package eve












0















I have installed the eve package on my windows machine but every time I shutdown the machine and try to load the eve package I get module not found error.



On re-installation attempt(Btw I used the latest pip version to install), I get



from eve import Eve
app=Eve()
app.run()


The error points to the second line.



---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-79-46d1b24866c8> in <module>()
30 # host = '127.0.0.1'
31
---> 32 app = Eve()
33 # app.run()
34

~AppDataLocalContinuumanaconda3libsite-packageseveflaskapp.py in __init__(self, import_name, settings, validator, data, auth, redis, url_converters, json_encoder, media, **kwargs)
158 self.settings = settings
159
--> 160 self.load_config()
161 self.validate_domain_struct()
162

~AppDataLocalContinuumanaconda3libsite-packageseveflaskapp.py in load_config(self)
275
276 try:
--> 277 self.config.from_pyfile(pyfile)
278 except:
279 raise

~AppDataLocalContinuumanaconda3libsite-packagesflaskconfig.py in from_pyfile(self, filename, silent)
128 try:
129 with open(filename, mode='rb') as config_file:
--> 130 exec(compile(config_file.read(), filename, 'exec'), d.__dict__)
131 except IOError as e:
132 if silent and e.errno in (

~AppDataLocalContinuumanaconda3libsite-packagesbokehsettings.py in <module>()
9 from os.path import join, abspath, isdir
10
---> 11 from .util.paths import ROOT_DIR, bokehjsdir
12
13

ModuleNotFoundError: No module named 'config'


Moreover, I find that there is no folder "lib" but "Lib". If this is the problem how do I rectify it?



However, the code below works but runs for microsecs, not like running a back-end server with api's:



from eve import Eve
app=Eve
app.run


The settings.py file:



# Let's just use the local mongod instance. Edit as needed.
# Please note that MONGO_HOST and MONGO_PORT could very well be left
# out as they already default to a bare bones local 'mongod' instance.
MONGO_HOST = 'localhost'
MONGO_PORT = 27017

MONGO_DBNAME = 'apitest'
# Enable reads (GET), inserts (POST) and DELETE for resources/collections
# (if you omit this line, the API will default to ['GET'] and provide
# read-only access to the endpoint).
RESOURCE_METHODS = ['GET', 'POST', 'DELETE']

# Enable reads (GET), edits (PATCH), replacements (PUT) and deletes of
# individual items (defaults to read-only item access).
ITEM_METHODS = ['GET', 'PATCH', 'PUT', 'DELETE']

people = {
# 'title' tag used in item links.
'item_title': 'person',

# by default the standard item entry point is defined as
# '/people/<ObjectId>/'. We leave it untouched, and we also enable an
# additional read-only entry point. This way consumers can also perform GET
# requests at '/people/<lastname>/'.
'additional_lookup': {
'url': 'regex("[w]+")',
'field': 'lastname'
},
'cache_control': 'max-age=10,must-revalidate',
'cache_expires': 10,
'resource_methods': ['GET', 'POST'],

# Schema definition, based on Cerberus grammar. Check the Cerberus project
# (https://github.com/pyeve/cerberus) for details.
'schema': {
'firstname': {
'type': 'string',
'minlength': 1,
'maxlength': 10,
},
'lastname': {
'type': 'string',
'minlength': 1,
'maxlength': 15,
'required': True,
# talk about hard constraints! For the purpose of the demo
# 'lastname' is an API entry-point, so we need it to be unique.
'unique': True,
},
# 'role' is a list, and can only contain values from 'allowed'.
'role': {
'type': 'list',
'allowed': ["author", "contributor", "copy"],
},
# An embedded 'strongly-typed' dictionary.
'location': {
'type': 'dict',
'schema': {
'address': {'type': 'string'},
'city': {'type': 'string'}
},
},
'born': {
'type': 'datetime',
},
}
}

DOMAIN = {
'people': people,
}


So, What could be the solution to this problem?



Any help is appreciated.










share|improve this question





























    0















    I have installed the eve package on my windows machine but every time I shutdown the machine and try to load the eve package I get module not found error.



    On re-installation attempt(Btw I used the latest pip version to install), I get



    from eve import Eve
    app=Eve()
    app.run()


    The error points to the second line.



    ---------------------------------------------------------------------------
    ModuleNotFoundError Traceback (most recent call last)
    <ipython-input-79-46d1b24866c8> in <module>()
    30 # host = '127.0.0.1'
    31
    ---> 32 app = Eve()
    33 # app.run()
    34

    ~AppDataLocalContinuumanaconda3libsite-packageseveflaskapp.py in __init__(self, import_name, settings, validator, data, auth, redis, url_converters, json_encoder, media, **kwargs)
    158 self.settings = settings
    159
    --> 160 self.load_config()
    161 self.validate_domain_struct()
    162

    ~AppDataLocalContinuumanaconda3libsite-packageseveflaskapp.py in load_config(self)
    275
    276 try:
    --> 277 self.config.from_pyfile(pyfile)
    278 except:
    279 raise

    ~AppDataLocalContinuumanaconda3libsite-packagesflaskconfig.py in from_pyfile(self, filename, silent)
    128 try:
    129 with open(filename, mode='rb') as config_file:
    --> 130 exec(compile(config_file.read(), filename, 'exec'), d.__dict__)
    131 except IOError as e:
    132 if silent and e.errno in (

    ~AppDataLocalContinuumanaconda3libsite-packagesbokehsettings.py in <module>()
    9 from os.path import join, abspath, isdir
    10
    ---> 11 from .util.paths import ROOT_DIR, bokehjsdir
    12
    13

    ModuleNotFoundError: No module named 'config'


    Moreover, I find that there is no folder "lib" but "Lib". If this is the problem how do I rectify it?



    However, the code below works but runs for microsecs, not like running a back-end server with api's:



    from eve import Eve
    app=Eve
    app.run


    The settings.py file:



    # Let's just use the local mongod instance. Edit as needed.
    # Please note that MONGO_HOST and MONGO_PORT could very well be left
    # out as they already default to a bare bones local 'mongod' instance.
    MONGO_HOST = 'localhost'
    MONGO_PORT = 27017

    MONGO_DBNAME = 'apitest'
    # Enable reads (GET), inserts (POST) and DELETE for resources/collections
    # (if you omit this line, the API will default to ['GET'] and provide
    # read-only access to the endpoint).
    RESOURCE_METHODS = ['GET', 'POST', 'DELETE']

    # Enable reads (GET), edits (PATCH), replacements (PUT) and deletes of
    # individual items (defaults to read-only item access).
    ITEM_METHODS = ['GET', 'PATCH', 'PUT', 'DELETE']

    people = {
    # 'title' tag used in item links.
    'item_title': 'person',

    # by default the standard item entry point is defined as
    # '/people/<ObjectId>/'. We leave it untouched, and we also enable an
    # additional read-only entry point. This way consumers can also perform GET
    # requests at '/people/<lastname>/'.
    'additional_lookup': {
    'url': 'regex("[w]+")',
    'field': 'lastname'
    },
    'cache_control': 'max-age=10,must-revalidate',
    'cache_expires': 10,
    'resource_methods': ['GET', 'POST'],

    # Schema definition, based on Cerberus grammar. Check the Cerberus project
    # (https://github.com/pyeve/cerberus) for details.
    'schema': {
    'firstname': {
    'type': 'string',
    'minlength': 1,
    'maxlength': 10,
    },
    'lastname': {
    'type': 'string',
    'minlength': 1,
    'maxlength': 15,
    'required': True,
    # talk about hard constraints! For the purpose of the demo
    # 'lastname' is an API entry-point, so we need it to be unique.
    'unique': True,
    },
    # 'role' is a list, and can only contain values from 'allowed'.
    'role': {
    'type': 'list',
    'allowed': ["author", "contributor", "copy"],
    },
    # An embedded 'strongly-typed' dictionary.
    'location': {
    'type': 'dict',
    'schema': {
    'address': {'type': 'string'},
    'city': {'type': 'string'}
    },
    },
    'born': {
    'type': 'datetime',
    },
    }
    }

    DOMAIN = {
    'people': people,
    }


    So, What could be the solution to this problem?



    Any help is appreciated.










    share|improve this question



























      0












      0








      0








      I have installed the eve package on my windows machine but every time I shutdown the machine and try to load the eve package I get module not found error.



      On re-installation attempt(Btw I used the latest pip version to install), I get



      from eve import Eve
      app=Eve()
      app.run()


      The error points to the second line.



      ---------------------------------------------------------------------------
      ModuleNotFoundError Traceback (most recent call last)
      <ipython-input-79-46d1b24866c8> in <module>()
      30 # host = '127.0.0.1'
      31
      ---> 32 app = Eve()
      33 # app.run()
      34

      ~AppDataLocalContinuumanaconda3libsite-packageseveflaskapp.py in __init__(self, import_name, settings, validator, data, auth, redis, url_converters, json_encoder, media, **kwargs)
      158 self.settings = settings
      159
      --> 160 self.load_config()
      161 self.validate_domain_struct()
      162

      ~AppDataLocalContinuumanaconda3libsite-packageseveflaskapp.py in load_config(self)
      275
      276 try:
      --> 277 self.config.from_pyfile(pyfile)
      278 except:
      279 raise

      ~AppDataLocalContinuumanaconda3libsite-packagesflaskconfig.py in from_pyfile(self, filename, silent)
      128 try:
      129 with open(filename, mode='rb') as config_file:
      --> 130 exec(compile(config_file.read(), filename, 'exec'), d.__dict__)
      131 except IOError as e:
      132 if silent and e.errno in (

      ~AppDataLocalContinuumanaconda3libsite-packagesbokehsettings.py in <module>()
      9 from os.path import join, abspath, isdir
      10
      ---> 11 from .util.paths import ROOT_DIR, bokehjsdir
      12
      13

      ModuleNotFoundError: No module named 'config'


      Moreover, I find that there is no folder "lib" but "Lib". If this is the problem how do I rectify it?



      However, the code below works but runs for microsecs, not like running a back-end server with api's:



      from eve import Eve
      app=Eve
      app.run


      The settings.py file:



      # Let's just use the local mongod instance. Edit as needed.
      # Please note that MONGO_HOST and MONGO_PORT could very well be left
      # out as they already default to a bare bones local 'mongod' instance.
      MONGO_HOST = 'localhost'
      MONGO_PORT = 27017

      MONGO_DBNAME = 'apitest'
      # Enable reads (GET), inserts (POST) and DELETE for resources/collections
      # (if you omit this line, the API will default to ['GET'] and provide
      # read-only access to the endpoint).
      RESOURCE_METHODS = ['GET', 'POST', 'DELETE']

      # Enable reads (GET), edits (PATCH), replacements (PUT) and deletes of
      # individual items (defaults to read-only item access).
      ITEM_METHODS = ['GET', 'PATCH', 'PUT', 'DELETE']

      people = {
      # 'title' tag used in item links.
      'item_title': 'person',

      # by default the standard item entry point is defined as
      # '/people/<ObjectId>/'. We leave it untouched, and we also enable an
      # additional read-only entry point. This way consumers can also perform GET
      # requests at '/people/<lastname>/'.
      'additional_lookup': {
      'url': 'regex("[w]+")',
      'field': 'lastname'
      },
      'cache_control': 'max-age=10,must-revalidate',
      'cache_expires': 10,
      'resource_methods': ['GET', 'POST'],

      # Schema definition, based on Cerberus grammar. Check the Cerberus project
      # (https://github.com/pyeve/cerberus) for details.
      'schema': {
      'firstname': {
      'type': 'string',
      'minlength': 1,
      'maxlength': 10,
      },
      'lastname': {
      'type': 'string',
      'minlength': 1,
      'maxlength': 15,
      'required': True,
      # talk about hard constraints! For the purpose of the demo
      # 'lastname' is an API entry-point, so we need it to be unique.
      'unique': True,
      },
      # 'role' is a list, and can only contain values from 'allowed'.
      'role': {
      'type': 'list',
      'allowed': ["author", "contributor", "copy"],
      },
      # An embedded 'strongly-typed' dictionary.
      'location': {
      'type': 'dict',
      'schema': {
      'address': {'type': 'string'},
      'city': {'type': 'string'}
      },
      },
      'born': {
      'type': 'datetime',
      },
      }
      }

      DOMAIN = {
      'people': people,
      }


      So, What could be the solution to this problem?



      Any help is appreciated.










      share|improve this question
















      I have installed the eve package on my windows machine but every time I shutdown the machine and try to load the eve package I get module not found error.



      On re-installation attempt(Btw I used the latest pip version to install), I get



      from eve import Eve
      app=Eve()
      app.run()


      The error points to the second line.



      ---------------------------------------------------------------------------
      ModuleNotFoundError Traceback (most recent call last)
      <ipython-input-79-46d1b24866c8> in <module>()
      30 # host = '127.0.0.1'
      31
      ---> 32 app = Eve()
      33 # app.run()
      34

      ~AppDataLocalContinuumanaconda3libsite-packageseveflaskapp.py in __init__(self, import_name, settings, validator, data, auth, redis, url_converters, json_encoder, media, **kwargs)
      158 self.settings = settings
      159
      --> 160 self.load_config()
      161 self.validate_domain_struct()
      162

      ~AppDataLocalContinuumanaconda3libsite-packageseveflaskapp.py in load_config(self)
      275
      276 try:
      --> 277 self.config.from_pyfile(pyfile)
      278 except:
      279 raise

      ~AppDataLocalContinuumanaconda3libsite-packagesflaskconfig.py in from_pyfile(self, filename, silent)
      128 try:
      129 with open(filename, mode='rb') as config_file:
      --> 130 exec(compile(config_file.read(), filename, 'exec'), d.__dict__)
      131 except IOError as e:
      132 if silent and e.errno in (

      ~AppDataLocalContinuumanaconda3libsite-packagesbokehsettings.py in <module>()
      9 from os.path import join, abspath, isdir
      10
      ---> 11 from .util.paths import ROOT_DIR, bokehjsdir
      12
      13

      ModuleNotFoundError: No module named 'config'


      Moreover, I find that there is no folder "lib" but "Lib". If this is the problem how do I rectify it?



      However, the code below works but runs for microsecs, not like running a back-end server with api's:



      from eve import Eve
      app=Eve
      app.run


      The settings.py file:



      # Let's just use the local mongod instance. Edit as needed.
      # Please note that MONGO_HOST and MONGO_PORT could very well be left
      # out as they already default to a bare bones local 'mongod' instance.
      MONGO_HOST = 'localhost'
      MONGO_PORT = 27017

      MONGO_DBNAME = 'apitest'
      # Enable reads (GET), inserts (POST) and DELETE for resources/collections
      # (if you omit this line, the API will default to ['GET'] and provide
      # read-only access to the endpoint).
      RESOURCE_METHODS = ['GET', 'POST', 'DELETE']

      # Enable reads (GET), edits (PATCH), replacements (PUT) and deletes of
      # individual items (defaults to read-only item access).
      ITEM_METHODS = ['GET', 'PATCH', 'PUT', 'DELETE']

      people = {
      # 'title' tag used in item links.
      'item_title': 'person',

      # by default the standard item entry point is defined as
      # '/people/<ObjectId>/'. We leave it untouched, and we also enable an
      # additional read-only entry point. This way consumers can also perform GET
      # requests at '/people/<lastname>/'.
      'additional_lookup': {
      'url': 'regex("[w]+")',
      'field': 'lastname'
      },
      'cache_control': 'max-age=10,must-revalidate',
      'cache_expires': 10,
      'resource_methods': ['GET', 'POST'],

      # Schema definition, based on Cerberus grammar. Check the Cerberus project
      # (https://github.com/pyeve/cerberus) for details.
      'schema': {
      'firstname': {
      'type': 'string',
      'minlength': 1,
      'maxlength': 10,
      },
      'lastname': {
      'type': 'string',
      'minlength': 1,
      'maxlength': 15,
      'required': True,
      # talk about hard constraints! For the purpose of the demo
      # 'lastname' is an API entry-point, so we need it to be unique.
      'unique': True,
      },
      # 'role' is a list, and can only contain values from 'allowed'.
      'role': {
      'type': 'list',
      'allowed': ["author", "contributor", "copy"],
      },
      # An embedded 'strongly-typed' dictionary.
      'location': {
      'type': 'dict',
      'schema': {
      'address': {'type': 'string'},
      'city': {'type': 'string'}
      },
      },
      'born': {
      'type': 'datetime',
      },
      }
      }

      DOMAIN = {
      'people': people,
      }


      So, What could be the solution to this problem?



      Any help is appreciated.







      python-3.x jupyter-notebook python-module eve






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 3 at 10:23







      Eswar

















      asked Jan 2 at 11:47









      EswarEswar

      520521




      520521
























          1 Answer
          1






          active

          oldest

          votes


















          0














          I don't have this issue after a quick test. Let me share with you all steps and let me know anything is different.



          1) Enter Anaconda Prompt



          2) conda create -n eswar python=3.6



          3) conda activate eswar



          4) pip install eve



          5) python



          5.1) import eve



          5.2) exit()



          6) shutdown windows machine



          7) restart windows machine



          8) enter anaconda prompt



          9) conda activate eswar



          10) python



          11) from eve import Eve



          12) everything looks fine.



          did you forget to activate your env after restart?






          share|improve this answer


























          • I also don't have an issue until the import but when I do "app=Eve()", I get the above error.

            – Eswar
            Jan 3 at 6:49













          • @Eswar have you done: from eve import Eve?

            – Windchill
            Jan 3 at 6:51











          • I have edited the question to show the line that's shown to be creating problem.

            – Eswar
            Jan 3 at 6:59











          • @Eswar sorry, can't reproduce your issue.

            – Windchill
            Jan 3 at 7:12











          • if I use "app=Eve", without the braces, it works. Similarly "app.run" works but not like it should. "app.run()" should run like a back-end server, open until you shut it down. However, without the braces it runs for microsecs.. If such a problem rings some bell.. Please look into it.

            – Eswar
            Jan 3 at 7:15













          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%2f54005786%2fabnormal-behavior-of-python-package-eve%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














          I don't have this issue after a quick test. Let me share with you all steps and let me know anything is different.



          1) Enter Anaconda Prompt



          2) conda create -n eswar python=3.6



          3) conda activate eswar



          4) pip install eve



          5) python



          5.1) import eve



          5.2) exit()



          6) shutdown windows machine



          7) restart windows machine



          8) enter anaconda prompt



          9) conda activate eswar



          10) python



          11) from eve import Eve



          12) everything looks fine.



          did you forget to activate your env after restart?






          share|improve this answer


























          • I also don't have an issue until the import but when I do "app=Eve()", I get the above error.

            – Eswar
            Jan 3 at 6:49













          • @Eswar have you done: from eve import Eve?

            – Windchill
            Jan 3 at 6:51











          • I have edited the question to show the line that's shown to be creating problem.

            – Eswar
            Jan 3 at 6:59











          • @Eswar sorry, can't reproduce your issue.

            – Windchill
            Jan 3 at 7:12











          • if I use "app=Eve", without the braces, it works. Similarly "app.run" works but not like it should. "app.run()" should run like a back-end server, open until you shut it down. However, without the braces it runs for microsecs.. If such a problem rings some bell.. Please look into it.

            – Eswar
            Jan 3 at 7:15


















          0














          I don't have this issue after a quick test. Let me share with you all steps and let me know anything is different.



          1) Enter Anaconda Prompt



          2) conda create -n eswar python=3.6



          3) conda activate eswar



          4) pip install eve



          5) python



          5.1) import eve



          5.2) exit()



          6) shutdown windows machine



          7) restart windows machine



          8) enter anaconda prompt



          9) conda activate eswar



          10) python



          11) from eve import Eve



          12) everything looks fine.



          did you forget to activate your env after restart?






          share|improve this answer


























          • I also don't have an issue until the import but when I do "app=Eve()", I get the above error.

            – Eswar
            Jan 3 at 6:49













          • @Eswar have you done: from eve import Eve?

            – Windchill
            Jan 3 at 6:51











          • I have edited the question to show the line that's shown to be creating problem.

            – Eswar
            Jan 3 at 6:59











          • @Eswar sorry, can't reproduce your issue.

            – Windchill
            Jan 3 at 7:12











          • if I use "app=Eve", without the braces, it works. Similarly "app.run" works but not like it should. "app.run()" should run like a back-end server, open until you shut it down. However, without the braces it runs for microsecs.. If such a problem rings some bell.. Please look into it.

            – Eswar
            Jan 3 at 7:15
















          0












          0








          0







          I don't have this issue after a quick test. Let me share with you all steps and let me know anything is different.



          1) Enter Anaconda Prompt



          2) conda create -n eswar python=3.6



          3) conda activate eswar



          4) pip install eve



          5) python



          5.1) import eve



          5.2) exit()



          6) shutdown windows machine



          7) restart windows machine



          8) enter anaconda prompt



          9) conda activate eswar



          10) python



          11) from eve import Eve



          12) everything looks fine.



          did you forget to activate your env after restart?






          share|improve this answer















          I don't have this issue after a quick test. Let me share with you all steps and let me know anything is different.



          1) Enter Anaconda Prompt



          2) conda create -n eswar python=3.6



          3) conda activate eswar



          4) pip install eve



          5) python



          5.1) import eve



          5.2) exit()



          6) shutdown windows machine



          7) restart windows machine



          8) enter anaconda prompt



          9) conda activate eswar



          10) python



          11) from eve import Eve



          12) everything looks fine.



          did you forget to activate your env after restart?







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jan 3 at 6:52

























          answered Jan 3 at 6:47









          WindchillWindchill

          710715




          710715













          • I also don't have an issue until the import but when I do "app=Eve()", I get the above error.

            – Eswar
            Jan 3 at 6:49













          • @Eswar have you done: from eve import Eve?

            – Windchill
            Jan 3 at 6:51











          • I have edited the question to show the line that's shown to be creating problem.

            – Eswar
            Jan 3 at 6:59











          • @Eswar sorry, can't reproduce your issue.

            – Windchill
            Jan 3 at 7:12











          • if I use "app=Eve", without the braces, it works. Similarly "app.run" works but not like it should. "app.run()" should run like a back-end server, open until you shut it down. However, without the braces it runs for microsecs.. If such a problem rings some bell.. Please look into it.

            – Eswar
            Jan 3 at 7:15





















          • I also don't have an issue until the import but when I do "app=Eve()", I get the above error.

            – Eswar
            Jan 3 at 6:49













          • @Eswar have you done: from eve import Eve?

            – Windchill
            Jan 3 at 6:51











          • I have edited the question to show the line that's shown to be creating problem.

            – Eswar
            Jan 3 at 6:59











          • @Eswar sorry, can't reproduce your issue.

            – Windchill
            Jan 3 at 7:12











          • if I use "app=Eve", without the braces, it works. Similarly "app.run" works but not like it should. "app.run()" should run like a back-end server, open until you shut it down. However, without the braces it runs for microsecs.. If such a problem rings some bell.. Please look into it.

            – Eswar
            Jan 3 at 7:15



















          I also don't have an issue until the import but when I do "app=Eve()", I get the above error.

          – Eswar
          Jan 3 at 6:49







          I also don't have an issue until the import but when I do "app=Eve()", I get the above error.

          – Eswar
          Jan 3 at 6:49















          @Eswar have you done: from eve import Eve?

          – Windchill
          Jan 3 at 6:51





          @Eswar have you done: from eve import Eve?

          – Windchill
          Jan 3 at 6:51













          I have edited the question to show the line that's shown to be creating problem.

          – Eswar
          Jan 3 at 6:59





          I have edited the question to show the line that's shown to be creating problem.

          – Eswar
          Jan 3 at 6:59













          @Eswar sorry, can't reproduce your issue.

          – Windchill
          Jan 3 at 7:12





          @Eswar sorry, can't reproduce your issue.

          – Windchill
          Jan 3 at 7:12













          if I use "app=Eve", without the braces, it works. Similarly "app.run" works but not like it should. "app.run()" should run like a back-end server, open until you shut it down. However, without the braces it runs for microsecs.. If such a problem rings some bell.. Please look into it.

          – Eswar
          Jan 3 at 7:15







          if I use "app=Eve", without the braces, it works. Similarly "app.run" works but not like it should. "app.run()" should run like a back-end server, open until you shut it down. However, without the braces it runs for microsecs.. If such a problem rings some bell.. Please look into it.

          – Eswar
          Jan 3 at 7:15






















          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%2f54005786%2fabnormal-behavior-of-python-package-eve%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

          android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

          SQL update select statement

          'app-layout' is not a known element: how to share Component with different Modules