0

I installed pandas usng

pipenv install pandas

command when i run my script getting errors as

ImportError: Unable to import required dependencies: dateutil: No module named 'dateutil'

and checked pipenv graph command and got following

pandas==2.0.3

  • numpy [required: >=1.21.0, installed: 1.25.1]
  • python-dateutil [required: >=2.8.2, installed: ?]
  • pytz [required: >=2020.1, installed: 2023.3]
  • tzdata [required: >=2022.1, installed: 2023.3]

I tried to install dateutil manually

pipenv install python-dateutil

Still issue not solved.Why pipenv failed to install python-dateutil. I seen an closed issue in github github issue

7
  • Pls post your code Commented Jul 22, 2023 at 16:31
  • @gtomer import pandas as pd; df = pd.read_excel("excelfilename.xlsx", sheet_name="BPR");print(df) Commented Jul 22, 2023 at 16:33
  • Are you sure this is the line of code that gets this error? Commented Jul 22, 2023 at 16:34
  • @gtomer getting error on import Commented Jul 22, 2023 at 16:35
  • Please post your full script Commented Jul 22, 2023 at 16:43

0

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.