Giter Club home page Giter Club logo

Comments (3)

Aloqeely avatar Aloqeely commented on June 29, 2024

Did you follow the steps to build pandas in this guide?
https://pandas.pydata.org/docs/development/contributing_environment.html

Steps 2 and 3 in particular

from pandas.

tuhinsharma121 avatar tuhinsharma121 commented on June 29, 2024

This is what I ran

conda env create --file environment.yml
conda activate pandas-dev
git fetch upstream --tags
python -m pip install -ve . --no-build-isolation --config-settings editable-verbose=true

output

Successfully built pandas
Installing collected packages: pandas
Successfully installed pandas-3.0.0.dev0+759.g22e524799d

Then I ran

pytest

Now I get a different error

+ /opt/anaconda3/envs/pandas-dev/bin/ninja
[1/1] Generating write_version_file with a custom command
ImportError while loading conftest '/Users/tuhinsharma/Documents/Git/pandas/pandas/conftest.py'.
pandas/conftest.py:714: in <module>
    idx = Index(pd.array([f"pandas_{i}" for i in range(100)], dtype="string[pyarrow]"))
pandas/core/construction.py:320: in array
    return cls._from_sequence(data, dtype=dtype, copy=copy)
pandas/core/arrays/string_arrow.py:205: in _from_sequence
    return cls(pa.array(result, type=pa.string(), from_pandas=True))
pyarrow/array.pxi:268: in pyarrow.lib.array
    ???
pyarrow/array.pxi:3715: in pyarrow.lib.get_values
    ???
pyarrow/pandas-shim.pxi:223: in pyarrow.lib._PandasAPIShim.is_series
    ???
pyarrow/pandas-shim.pxi:123: in pyarrow.lib._PandasAPIShim._have_pandas_internal
    ???
pyarrow/pandas-shim.pxi:102: in pyarrow.lib._PandasAPIShim._check_import
    ???
pyarrow/pandas-shim.pxi:105: in pyarrow.lib._PandasAPIShim._check_import
    ???
pyarrow/pandas-shim.pxi:74: in pyarrow.lib._PandasAPIShim._import_pandas
    ???
E   UserWarning: pyarrow requires pandas 1.0.0 or above, pandas 0+untagged.34786.g22e5247 is installed. Therefore, pandas-specific integration is not used.

from pandas.

tuhinsharma121 avatar tuhinsharma121 commented on June 29, 2024

Instead

python -m pip install -ve . --no-build-isolation --config-settings editable-verbose=true

if I use

python setup.py develop

then it works.

from pandas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.