GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Cannot import pandas in pythonnet · pythonnet/pythonnet · Discussion #2223

Cannot import pandas in pythonnet #2223

Closed Unanswered
muler415 asked this question in Q&A
Cannot import pandas in pythonnet #2223
@muler415 muler415
Aug 16, 2023 · 2 comments
Return to top
Discussion options
  • Uh oh!

    There was an error while loading. Please reload this page.

muler415
Aug 16, 2023

Environment

  • Pythonnet version: 3.0.1
  • Python version: 3.8
  • Operating System: win11
  • .NET Runtime: 4.6.1

Details

  • Describe what you were trying to get done.

my python script only have one line -

import pandas as pd

when I exec and exception is thrown
partially initialized module 'pyarrow' has no attribute 'version' (most likely due to a circular import);

please help.

You must be logged in to vote
All reactions

Replies: 2 comments

Comment options
  • Uh oh!

    There was an error while loading. Please reload this page.

sb5m
Aug 21, 2023

Hi @muler415, how is your script called? Check if there are any namespace conflicts in your code or project structure that might be causing the circular import issue. This can happen if you have files with the same name as modules. For example "version.py" or "main.py".

You must be logged in to vote
All reactions
0 replies
Comment options
  • Uh oh!

    There was an error while loading. Please reload this page.

muler415
Sep 1, 2023
Author

I fixed this issue by installing pyarrow. pip install pyarrow. the error is gone after that.

You must be logged in to vote
All reactions
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
2 participants
@muler415 @sb5m
Converted from issue

This discussion was converted from issue #2222 on August 16, 2023 10:34.

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.