0

How can I get the library for calendar.py? I'm new to this.

I tried installing it and got the following error...

pip3 install calendar.py
Collecting calendar.py
  Could not find a version that satisfies the requirement calendar.py (from versions: )
No matching distribution found for calendar.py
2
  • 1
    try this pip3 install calendar Commented Jan 11, 2023 at 12:59
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. Commented Jan 11, 2023 at 13:07

1 Answer 1

1

You don't install this module at all. It's part of the standard lib. Do you get an error when you try import calendar

Sign up to request clarification or add additional context in comments.

3 Comments

I get the following... >>> import calendar.py Traceback (most recent call last): File "<stdin>", line 1, in <module> ModuleNotFoundError: No module named 'calendar.py'; 'calendar' is not a package >>>
don't do -> import calendar.py , do -> import calendar
I'm trying to install calendar.py I used install command and also import and it doesn't work. What commands can I use? I'm new to python.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.