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

An error "No module named 'quantmod.theming'

Open zeugmato opened this issue 8 years ago • 6 comments

Hi Jack ,thanks for the response. When I tested my installation through "import quantmod as qm", it reports an error "No module named 'quantmod.theming'", I found it happened in the "~\quantmod-0.1.3-py3.6.egg\quantmod\factory.py " ,line 14. My jupyter version is 4.3.0, python version is 3.6, TA-Lib vesion is 0.4.0. So I wonder what's wrong. Thanks.

zeugmato avatar Oct 15 '17 05:10 zeugmato

Can you test in non-jupyter python?

jackluo avatar Oct 18 '17 14:10 jackluo

Yes, now it works well,it's my fault.Thanks!

zeugmato avatar Oct 27 '17 14:10 zeugmato

Hello, I have the same issue in PyCharm... What can i do? regards

cryptonaut1357 avatar Jan 22 '18 17:01 cryptonaut1357

same here

KIC avatar Sep 14 '18 07:09 KIC

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]](mailto:[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

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]](mailto:[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'
]
)

When I replace it and run python setup.py install I get this error -Traceback (most recent call last): File "setup.py", line 4, in exec (open('quantmod/version.py').read()) # noqa FileNotFoundError: [Errno 2] No such file or directory: 'quantmod/version.py'

arunklama avatar Apr 14 '20 06:04 arunklama