Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

Plotly not compatible with IIS

Error occurred while reading WSGI handler: Traceback (most recent call last): File “E:\IndustryDashboard\”, line 794, in main env, handler = read_wsgi_handler(response.physical_path) File “E:\IndustryDashboard\”, line 636, in read_wsgi_handler handler = get_wsgi_handler(os.getenv(“WSGI_HANDLER”)) File “E:\IndustryDashboard\”, line 603, in get_wsgi_handler handler = import(module_name, fromlist=[name_list[0][0]]) File “.\”, line 9, in‘Indospirit’, api_key=‘xXEe2QiGUZPXMbglNZko’) File “C:\Python\Python37-32\lib\site-packages\plotly\”, line 128, in set_credentials_file raise exceptions.PlotlyError("You don’t have proper file permissions " plotly.exceptions.PlotlyError: You don’t have proper file permissions to run this function. StdOut: StdErr: C:\Python\Python37-32\lib\site-packages\plotly\ UserWarning: Looks like you don’t have ‘read-write’ permission to your ‘home’ (’~’) directory or to our ‘~/.plotly’ directory. That means plotly’s python api can’t setup local configuration files. No problem though! You’ll just have to sign-in using ‘plotly.plotly.sign_in()’. For help with that: ‘help(plotly.plotly.sign_in)’. Questions? Visit

WSGI is unable to acces plotly files as required thus, the whole app falls apart.