You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
d:/Projects/advisely/advisely/API/newsapi.py
Traceback (most recent call last):
File "d:/Projects/newsoftoday/API/newsapi.py", line 3, in <module>
from newsapi import NewsApiClient
File "d:\Projects\newsoftoday\API\newsapi.py", line 3, in <module>
from newsapi import NewsApiClient
ImportError: cannot import name 'NewsApiClient' from partially initialized module 'newsapi' (most likely due to a circular import) (d:\Projects\newsoftoday\API\newsapi.py)
Desktop (please complete the following information):
@BlueSkyTrading Quite possible that you have already figured it out on your own but I'll give it a try anyway - you should change name of your file newsapi.py to something else to avoid modules names conflict.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior. For instance:
conda activate venv
pip install newsapi_python
(venv) C:\Users\abc\anaconda3\envs\venv\bin>C:/Users/abc/anaconda3/envs/venv/python.exe
Expected behavior
News Data
Screenshots
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: