mcaceresb / stata-parquet

Read and write parquet files from Stata
MIT License
22 stars 6 forks source link

Newer versions of Arrow (15.0.0+) #22

Open kuriwaki opened 8 months ago

kuriwaki commented 8 months ago

Hi, I'm trying to getting my dependencies lined up so I can install this library.

I'm on a M2 Macbook.

When I run conda env create -f environment.yml per the readme, it gives me

Channels:
 - conda-forge
 - defaults
Platform: osx-arm64
Collecting package metadata (repodata.json): done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - arrow-cpp=0.14.1*
  - boost=1.70.0*
  - gxx_linux-64=7.3.0*

Current channels:

  - https://conda.anaconda.org/conda-forge/osx-arm64
  - https://repo.anaconda.com/pkgs/main/osx-arm64
  - https://repo.anaconda.com/pkgs/r/osx-arm64

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

I'm wondering if my arrow version is too new? Since I have already installed arrow-cpp.

I've tried:

Channels:
 - conda-forge
 - defaults
Platform: osx-arm64
Collecting package metadata (repodata.json): done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - arrow-cpp=0.14.1*

Current channels:

  - https://conda.anaconda.org/conda-forge
  - defaults

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.
mcaceresb commented 8 months ago

@kuriwaki Right, the versions are all too new. We only got this to work with those specific versions on Linux. You even have the newer Mac chips and I don't think the current install script will work with that. But that's probably less of a barrier than the arrow versions.

PS: If you happen to have Stata 16+ maybe try the Python integration?

kuriwaki commented 8 months ago

Thanks @mcaceresb. That makes sense. I was not aware that a python integration is now available.