这是indexloc提供的服务,不要输入任何密码
Skip to content

ModuleNotFoundError: No module named 'pandas_market_calendars' #57

@nilesh05apr

Description

@nilesh05apr
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
[<ipython-input-3-2b166d66a02b>](https://localhost:8080/#) in <cell line: 0>()
----> 1 import nselib

1 frames
[/usr/local/lib/python3.11/dist-packages/nselib/__init__.py](https://localhost:8080/#) in <module>
----> 1 from .libutil import trading_holiday_calendar
      2 
      3 __version__ = 1.7

[/usr/local/lib/python3.11/dist-packages/nselib/libutil.py](https://localhost:8080/#) in <module>
      6 import pandas as pd
      7 from nselib.constants import *
----> 8 import pandas_market_calendars as mcal
      9 
     10 default_header = {

ModuleNotFoundError: No module named 'pandas_market_calendars'

---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the
"Open Examples" button below.
---------------------------------------------------------------------------

To reproduce just do
import nselib

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions