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

failing to import display_charts from python (v2.7.10), working fine with %load from IPython #32

Open
ManieqZ opened this issue Apr 20, 2016 · 2 comments

Comments

@ManieqZ
Copy link

ManieqZ commented Apr 20, 2016

  1. Thank you very much for your work. Combination of pandas with highcharts makes the graphic creation on the webpage a very entertaining exercise.

Nevertheless under OSX I have notices a problem when importing the display_charts.
Everything appears to work as expected when using the IPython (v4.1.2). When trying to use the examples from pure python (v2.7.10) I see the following error:

# > python  app2.py

Traceback (most recent call last):
  File "app2.py", line 11, in <module>
    from pandas_highcharts.display import display_charts
  File "build/bdist.macosx-10.11-x86_64/egg/pandas_highcharts/display.py", line 32, in <module>
AttributeError: 'NoneType' object has no attribute 'config'

The app2.py code presents itself as:

from flask import Flask, render_template
import pandas as pd
from pandas_highcharts.core import serialize
import ConfigParser
import os

from pandas_highcharts.display import display_charts
[..]

Am I missing something ?

Thank you in advance for your comments / support.

Cheers,
ManieqZ

@shezankazi
Copy link

I get the same error... any news on this?

@cici
Copy link

cici commented Jul 9, 2017

Still no solution?

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

3 participants