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

rpy2 compatibility #43

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

rpy2 compatibility #43

wants to merge 2 commits into from

Conversation

alimanfoo
Copy link
Contributor

Resolve rpy2 installation/dependency issues, xref #38.

@alimanfoo alimanfoo mentioned this pull request Jan 31, 2017
@alimanfoo
Copy link
Contributor Author

OK, travis build is erroring with same problem:

ImportError: libicuuc.so.54: cannot open shared object file: No such file or directory

@hardingnj any chance you could investigate? Looks like either a missing dependency or dependency conflict?

@hardingnj
Copy link

hardingnj commented Jan 31, 2017 via email

@hardingnj
Copy link

Potentially relevant:
pkgw/pwkit#3

@hardingnj
Copy link

Using R in the docker image doesn't work either.

This workaround fixes:
ContinuumIO/anaconda-issues#152 (comment)

But we still have the issue with libicuuc

@alimanfoo
Copy link
Contributor Author

alimanfoo commented Feb 1, 2017 via email

@hardingnj
Copy link

Seems to be with icu. We can go up to 58.1, but mpl require 56.*

Although that may not explain missing lib error

@alimanfoo
Copy link
Contributor Author

alimanfoo commented Feb 1, 2017 via email

@alimanfoo
Copy link
Contributor Author

Changing channel priority does not fix the problem, r-base still ends up getting installed from conda-forge.

I tried manually installing r-base from the r channel, it looks like the dependencies are different from conda-forge. r-base=3.3.2 from r channel depends on icu 54, wherease r-base=3.3.2 from conda-forge depends on icu 56. I wonder if some other parts of r just assume icu 54 because that's where the current r-base package is at on the r channel, but then if r-base gets installed from conda-forge then icu 54 is obviously missing.

I can't see any easy way to resolve this, other than waiting for the r channel to upgrade it's icu dependency. If we force r-base to install from r channel then currently it will downgrade icu to 54 which will force downgrade of matplotlib etc.

@hardingnj
Copy link

Some people have reported a workaround by symlinking 56 > 54, but not a good fix.

@alimanfoo
Copy link
Contributor Author

alimanfoo commented Feb 1, 2017 via email

@alimanfoo
Copy link
Contributor Author

Seems like we've stumbled into a bit of a rat's nest: https://groups.google.com/a/continuum.io/forum/#!topic/anaconda/myBjZaaAoDI

Doesn't look like there's an easy solution for the moment.

@mingwandroid
Copy link

Symlinking ICU is actually not very risky. IMHO ICU shouldn't bother with versioned shared libraries since their interface doesn't change in incompatible ways.

@alimanfoo
Copy link
Contributor Author

alimanfoo commented Feb 6, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants