Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Root path Flask IDE
#3
Hi Buran,
yes sorry to have forgotten, here is the traceback of the error :

Error:
Traceback (most recent call last): File "<input>", line 6, in <module> File "/Users/romainvandelouw/anaconda/envs/pycharm/lib/python3.6/site-packages/flask/app.py", line 370, in __init__ root_path=root_path File "/Users/romainvandelouw/anaconda/envs/pycharm/lib/python3.6/site-packages/flask/helpers.py", line 884, in __init__ root_path = get_root_path(self.import_name) File "/Users/romainvandelouw/anaconda/envs/pycharm/lib/python3.6/site-packages/flask/helpers.py", line 756, in get_root_path 'provided.' % import_name) RuntimeError: No root path can be found for the provided module "builtins". This can happen because the module came from an import hook that does not provide file name information or because it's a namespace package. In this case the root path needs to be explicitly provided.
I'm running on a Mac, with Python3.6
Reply


Messages In This Thread
Root path Flask IDE - by vandelouw - Oct-30-2018, 09:29 AM
RE: Root path Flask IDE - by buran - Oct-30-2018, 09:58 AM
RE: Root path Flask IDE - by vandelouw - Oct-30-2018, 10:01 AM
RE: Root path Flask IDE - by vandelouw - Oct-30-2018, 05:20 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020