Traceback (most recent call last):


 "example.py", line 3, in <module>

print(settings.PATH)


 "C:\Python\Python34\lib\site-packages\dynaconf\base.py", line 93, in __getattr__

self._setup()


 "C:\Python\Python34\lib\site-packages\dynaconf\base.py", line 118, in _setup

default_settings.reload()


 "C:\Python\Python34\lib\site-packages\dynaconf\default_settings.py", line 74, in reload

start_dotenv(*args, **kwargs)


 "C:\Python\Python34\lib\site-packages\dynaconf\default_settings.py", line 61, in start_dotenv

or _find_file(".env", project_root=root_path)


 "C:\Python\Python34\lib\site-packages\dynaconf\utils\files.py", line 62, in find_file

script_dir = os.path.dirname(os.path.abspath(inspect.stack()[-1].filename))
AttributeError: 'tuple' object has no attribute 'filename'

Traceback (most recent call last):


 "C:\Users\dalao\AppData\Local\Programs\Python\Python36\lib\site-packages\weibo_spider\spider.py", line 215, in _get_filepath

dir_name = self.user.nickname
AttributeError: 'NoneType' object has no attribute 'nickname'
