py-quantmod icon indicating copy to clipboard operation
py-quantmod copied to clipboard

No module named 'quantmod.theming'

Open snowriverout opened this issue 6 years ago • 4 comments

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 avatar Jun 20 '18 18:06 snowriverout

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'

snowriverout avatar Jun 20 '18 18:06 snowriverout

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='[email protected]',
    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'
    ]
)

hikingyu avatar Feb 13 '19 17:02 hikingyu

I also get this error....

mtwichan avatar Mar 19 '19 03:03 mtwichan

error remains with the mentioned changed setup.py

KIC avatar Jun 26 '19 15:06 KIC