Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Python] Pin runtime library versions in conda-forge packages to force upgrades #16364

Closed
asfimport opened this issue Mar 31, 2017 · 5 comments
Closed

Comments

@asfimport
Copy link
Collaborator

asfimport commented Mar 31, 2017

Had been using PyArrow 0.1 ok. Uninstalled 0.1. Installed 0.2 using

conda install -c conda-forge pyarrow

But then, when I try ```Java
import pyarrow

```Java
ImportError                               Traceback (most recent call last)
<ipython-input-1-6218b61e718a> in <module>()
----> 1 import pyarrow as pa

/Users/gnilrets/miniconda3/envs/pyitketl/lib/python3.5/site-packages/pyarrow/__init__.py in <module>()
     26 
     27 
---> 28 import pyarrow.config
     29 from pyarrow.config import cpu_count, set_cpu_count
     30 

ImportError: dlopen(/Users/gnilrets/miniconda3/envs/pyitketl/lib/python3.5/site-packages/pyarrow/config.cpython-35m-darwin.so, 2): Symbol not found: __ZN5arrow2io9Writeable5FlushEv
  Referenced from: /Users/gnilrets/miniconda3/envs/pyitketl/lib/python3.5/site-packages/pyarrow/libpyarrow.dylib
  Expected in: /Users/gnilrets/miniconda3/envs/pyitketl/lib/python3.5/site-packages/pyarrow/../../../libarrow_io.dylib
 in /Users/gnilrets/miniconda3/envs/pyitketl/lib/python3.5/site-packages/pyarrow/libpyarrow.dylib

Environment: OS X 10.12.3, Python 3.5.2
Reporter: Sterling Paramore
Assignee: Wes McKinney / @wesm

Related issues:

Note: This issue was originally created as ARROW-748. Please see the migration documentation for further details.

@asfimport
Copy link
Collaborator Author

Wes McKinney / @wesm:
What's the output of conda list | grep arrow? I think you need to conda update arrow-cpp

@asfimport
Copy link
Collaborator Author

Wes McKinney / @wesm:
See conda-forge/pyarrow-feedstock#21 – we aren't pinning the version of arrow-cpp which probably caused it to not get updated when you installed the latest pyarrow

@asfimport
Copy link
Collaborator Author

Sterling Paramore:
You're right. arrow-cpp was still on version 0.1. conda update arrow-cpp didn't change that, however. I tried conda install -c conda-forge arrow-cpp and it did update the version, but I still got a similar error (different symbol was missing though). Then I uninstalled pyarrow and arrow-cpp (which also uninstalled parquet-cpp) and reinstalled the 0.2 version. Now it works!

Thanks!

@asfimport
Copy link
Collaborator Author

Wes McKinney / @wesm:
Great! I renamed the issue to reflect the problem, we'll get it sorted out as part of releasing 0.3

@asfimport
Copy link
Collaborator Author

@asfimport asfimport added this to the 0.3.0 milestone Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants