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
ImportError on Ubuntu 18.04 #2213
Comments
Duplicate of https://issues.apache.org/jira/browse/ARROW-2783 |
This should be fixed now, please try to reinstall |
Can confirmed it's fixed. Thank you! |
Hi,
I reinstalled the the packages put I'm still getting the same error Any suggestions? |
@sephib As in the comment above, it seems that you have installed |
Hi, |
This is really frustrating. I'm getting the same error as @cpiscos , but cannot reinstall libboost from conda-forge (does it even exist on that channel?).
Installing all but libboost results in the following error:
Any advice would be appreciated. |
Can you remove |
Hi @wesm, I tried that, but got the error above regarding |
Argh. No, I spoke too soon: I still can't create the full environment (minus libboost) without getting the error. Here's the complete log:
Thanks again. |
If you |
Ah I see you don't have libboost at all This is problematic
What happens when you install pyarrow 0.11.0? |
Yep, I think that's it. Looks like
Thanks again! |
Thanks -- feel free to open an issue on conda-forge/libhdfs3-feedstock about bringing the project up to date with the latest package stack @kszucs the parquet-cpp version installed here looks weird, do you know what is going on? |
@wesm This parquet-cpp version is one with a more open |
I think the correct option here is to pin the parquet-cpp metapackage in https://github.com/conda-forge/pyarrow-feedstock/blob/master/recipe/meta.yaml#L33. This will cause other versions to be uninstalled I think |
That would make |
It's an empty metapackage, I thought that was the idea anyway |
I added here in the PR for 0.11.1 conda-forge/pyarrow-feedstock@74c3fba |
I don't know why parquet-cpp gets installed, it's not a dependency arrow-cpp or pyarrow since 0.11 |
The safest choice for now is indeed to pin parquet-cpp in pyarrow. However We should ask a forge developer about correctly handling this scenario. |
Conda now updates correctly: $ conda update pyarrow
Solving environment: done
## Package Plan ##
environment location: /Users/krisz/.conda/envs/test
added / updated specs:
- pyarrow
The following packages will be downloaded:
package | build
---------------------------|-----------------
pyarrow-0.11.1 | py36hfc679d8_0 1.9 MB conda-forge
parquet-cpp-1.5.1 | 1 3 KB conda-forge
arrow-cpp-0.11.1 | py36h3bd774a_0 4.9 MB conda-forge
------------------------------------------------------------
Total: 6.7 MB
The following packages will be UPDATED:
arrow-cpp: 0.10.0-py36h70250a7_0 conda-forge --> 0.11.1-py36h3bd774a_0 conda-forge
boost-cpp: 1.67.0-h3a22d5f_0 conda-forge --> 1.68.0-h3a22d5f_0 conda-forge
parquet-cpp: 1.5.0.pre-h83d4a3d_0 conda-forge --> 1.5.1-1 conda-forge
pyarrow: 0.10.0-py36hfc679d8_0 conda-forge --> 0.11.1-py36hfc679d8_0 conda-forge |
That's great, thanks @kszucs! |
I have a script to install dependencies on aws emr and run a python script. From yesterday, it went wrong :
I didn't change the script , install command
I also tried to import in python shell :
|
@eromoe Yesterday |
@xhochy Thank you for telling me this news . I always created conda by
I think the problem is the python version of Miniconda3-4.5.4 is 3.6.4 . |
I think this is still broken-ish. The following dockerfile results in a pyarrow installation that is broken with the
This is with the latest pull of jupyter/dockerscience-notebook, i.e. jupyter/datascience-notebook@sha256:2f7865853e27982ed98c314054ee62e10e1bea3b0e3bb6fafc9b7f68e9e887be The workaround is presumably this:
which then results in a working version of pyarrow. Package management is confusing :). |
@jacksonloper can we discuss this issue somewhere else, like on the ASF JIRA? I'm not sure where the problem is but we should identify the root cause and open an issue in the upstream project (e.g. if one of these other projects is causing the issue) or fix our packaging stuff otherwise |
Not a member of ASF JIRA. But I also probably won't be much help. Just letting you know its still broken :). Happy to create a more barebones broken-case, from a vanilla ubuntu docker or something if you want. |
Can you create an account on https://issues.apache.org/jira and open a JIRA issue? |
It looks like this is https://issues.apache.org/jira/browse/ARROW-4809. I'll copy-paste your repro there |
Awesome thanks |
I installed pyarrow from conda-forge and I'm getting this error on import:
The text was updated successfully, but these errors were encountered: