You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to import quantmod after installing it, I get several errors like -
"C:\ProgramData\Anaconda3\lib\site-packages\pandas_datareader\compat_init_.py:7: FutureWarning: pandas.util.testing is deprecated. Use the functions in the public API at pandas.testing instead.
from pandas.util.testing import assert_frame_equal"
ModuleNotFoundError: No module named 'quantmod.theming'
ImportError:
The plotly.plotly module is deprecated,
please install the chart-studio package and use the
chart_studio.plotly module instead.
I've almost tried every solution I got but it never worked. Is there any single person who has imported quantmod successfully in a jupyter notebook?
The text was updated successfully, but these errors were encountered:
I've got it working. Almost all of the real functionality of the package doesn't really require the chart_studio part. If you remove the line from __init__.py about tools module, it works fine as far as I can tell. Here's my modified __init__.py:
"""Quantmod
A powerful financial charting library based on R's Quantmod.
With a Plotly backend and Cufflinks simplicity,
Quantmod provides beautiful charts and a variety of
quantitiative and technical finance tools.
Author
------
@jackwluo
Credits
-------
plotly.py : @chriddyp, @theengineear, et al.
cufflinks : @jorgesantos
"""
# flake8: noqa
from __future__ import absolute_import
from .core import *
from .chart import *
from .version import __version__
from . import ta
__docformat__ = 'restructuredtext'
# Offline mode from config initialization
When I try to import quantmod after installing it, I get several errors like -
"C:\ProgramData\Anaconda3\lib\site-packages\pandas_datareader\compat_init_.py:7: FutureWarning: pandas.util.testing is deprecated. Use the functions in the public API at pandas.testing instead.
from pandas.util.testing import assert_frame_equal"
ModuleNotFoundError: No module named 'quantmod.theming'
ImportError:
The plotly.plotly module is deprecated,
please install the chart-studio package and use the
chart_studio.plotly module instead.
I've almost tried every solution I got but it never worked. Is there any single person who has imported quantmod successfully in a jupyter notebook?
The text was updated successfully, but these errors were encountered: