Pandas < 2.2.0 doesn't appear to work on Python 3.9
評価
この issue はまだ評価されていません。
説明
Receives the following error when running a codeocean capsule in: https://codeocean.allenneuraldynamics-test.org/:
Traceback (most recent call last):
File "/code/run.py", line 3, in <module>
from aind_data_access_api.rds_tables import Client as RdsClient
File "/opt/conda/lib/python3.9/site-packages/aind_data_access_api/rds_tables.py", line 5, in <module>
import pandas as pd
File "/opt/conda/lib/python3.9/site-packages/pandas/__init__.py", line 46, in <module>
from pandas.core.api import (
File "/opt/conda/lib/python3.9/site-packages/pandas/core/api.py", line 1, in <module>
from pandas._libs import (
File "/opt/conda/lib/python3.9/site-packages/pandas/_libs/__init__.py", line 18, in <module>
from pandas._libs.interval import Interval
File "interval.pyx", line 1, in init pandas._libs.interval
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
The issue appears to be raised when using this package from python 3.9 with pandas < 2.2.0 (tested 2.0.0, 2.1.0) but appears to succeed when upgrading to pandas 2.2.0+ which is outside of the pin range specified in here: https://github.com/AllenNeuralDynamics/aind-data-access-api/blob/8e4e547b6effcaf8acb1c97cb2c1fded06399759/pyproject.toml#L47
The capsule environment is: Python + R (Python 3.9, R 4.2.2, Ubuntu 20.04)
The capsule that raised this exception is here (it currently has pandas 2.2.0 installed):
https://codeocean.allenneuraldynamics-test.org/capsule/8031734/tree
- 主要言語
- Python
- スター
- 3
- フォーク
- 0
- 平均マージ
- 2日 14時間
- マージ済み PR(30日)
- 3
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
AllenNeuralDynamics/aind-data-access-api のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
Remove or update `add_qc_evaluations_to_docdb`再び着手できるかも @dougollerenshaw が 104 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
AllenNeuralDynamics/aind-data-access-api#217 · コメント 2 件 · 担当者 1 名 ·
-
methods with v1/2 restrictions should check version and give informative errors再び着手できるかも @jtyoung84 が 59 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
AllenNeuralDynamics/aind-data-access-api#216 · コメント 8 件 · 担当者 1 名 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
-
Update Python support再び着手できるかも @jtyoung84 が 304 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
AllenNeuralDynamics/aind-data-access-api#199 · コメント 1 件 · 担当者 1 名 ·
AllenNeuralDynamics/aind-data-access-api の issue をすべて見る
似ている issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
web-push-libs/pywebpush#216 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
AgriciDaniel/claude-seo#572 ·
メンテナーはふだん 5 日以内に返信
-
area:print-dispatch
難易度 2/5 1〜3時間 初心者へのやさしさ 92/100
メンテナーはふだん 1 日以内に返信
-
area: docs domain: technical-writing good first issue type: documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
Deepak3699/Ai_Mentor#919 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信