Skip to content

module 'pandas' has no attribute '__version__'  #59402

@Ishan-kohli

Description

@Ishan-kohli

Pandas version checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pandas.

  • I have confirmed this bug exists on the main branch of pandas.

Reproducible Example

import pandas as pd
from io import StringIO
csv_data = """col1,col2
1,foo
2,bar
3,baz"""
data = StringIO(csv_data)
df = pd.read_csv(data)
print(df)

Issue Description

pls solve that issue

Expected Behavior

im not getting the code instead of solution im getting this error module 'pandas' has no attribute 'version'

Installed Versions

python version 3.11

Replace this line with the output of pd.show_versions()

Metadata

Metadata

Assignees

No one assigned

    Labels

    BuildLibrary building on various platformsNeeds InfoClarification about behavior needed to assess issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions