Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: module 'plotly.tools' has no attribute 'set_credentials_file' #1

Open
ooker777 opened this issue May 31, 2023 · 0 comments

Comments

@ooker777
Copy link

python .\main.py
Traceback (most recent call last):
  File "D:\QC supplements\Code\Apps\reddit\Reddit_Unlocked\main.py", line 14, in <module>
    from run import display_praw, stats_praw, body_to_graph, get_keyword_dict
  File "D:\QC supplements\Code\Apps\reddit\Reddit_Unlocked\run.py", line 84, in <module>
    plotly.tools.set_credentials_file(username='reddit_unlocked', api_key='gfnXKc7JvUKST4HRJyFX')
AttributeError: module 'plotly.tools' has no attribute 'set_credentials_file'

Here is the line 82

plotly.tools.set_credentials_file(username='reddit_unlocked', api_key='gfnXKc7JvUKST4HRJyFX')

I look at the plotly v5.14.1 documentation and see that there is indeed no plotly.tools here. Can you take a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant