jackluo / py-quantmod

Powerful financial charting library based on R's Quantmod | http://py-quantmod.readthedocs.io/en/latest/
MIT License
175 stars 55 forks source link

No module named 'quantmod.theming' #9

Open snowriverout opened 6 years ago

snowriverout commented 6 years ago

Hello, I'm trying to run dash_example_simple.py, but I received the following error message "ModuleNotFoundError: No module named 'quantmod.theming'" . I already tried looking at a previous post regarding the same issue, but wasn't able to figure it out. Can anyone help? Thanks.

snowriverout commented 6 years ago

Traceback (most recent call last): File "quantmod_demo.py", line 8, in import quantmod as qm File "~/anaconda3/lib/python3.6/site-packages/quantmod/init.py", line 23, in from .core import * File "~/anaconda3/lib/python3.6/site-packages/quantmod/core.py", line 13, in from .chart import Chart File "~/anaconda3/lib/python3.6/site-packages/quantmod/chart.py", line 22, in from . import factory File "~/anaconda3/lib/python3.6/site-packages/quantmod/factory.py", line 14, in from .theming.skeleton import SKELETON ModuleNotFoundError: No module named 'quantmod.theming'

hikingyu commented 5 years ago

this is install mistake.I try replace the setup.py and is ok. setup.py:

from setuptools import setup,find_packages

exec (open('quantmod/version.py').read())  # noqa

setup(
    name='quantmod',
    version=__version__,  # noqa
    author='Jack Luo',
    author_email='jackluo@plot.ly',
    description="Powerful financial charting library based on R's Quantmod.",
    long_description=open('README.md').read(),
    license='MIT',
    keywords=['pandas', 'plotly', 'ta-lib', 'data-visualization',
              'data-science', 'quantitative-finance', 'quantitative-trading'],
    packages=find_packages(),
    install_requires=[
        'numpy',
        'pandas',
        'pandas_datareader',
        'plotly'
    ]
)
mtwichan commented 5 years ago

I also get this error....

KIC commented 5 years ago

error remains with the mentioned changed setup.py