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

Conda warnings taken as errors #477

Closed
dougmet opened this issue Apr 9, 2019 · 6 comments
Closed

Conda warnings taken as errors #477

dougmet opened this issue Apr 9, 2019 · 6 comments

Comments

@dougmet
Copy link

dougmet commented Apr 9, 2019

Hi, not sure if this is the right repo, I actually experienced this problem in keras but thought this might be the source.

In conda 4.6.11 there is a bug whereby a deprecation warning is being printed to stderr. This warning isn't a problem to a python user (beyond being annoying) but it's bringing down the R connection.

This seems similar to #65 and I wonder if there's anything that can be done to carry on for warnings, or whether the fix really needs to come from the conda side?

@jjallaire
Copy link
Member

We have a fix for this here: 01e22ce

Could you try installing from master to see whether this resolves the issue on your end?

@dougmet
Copy link
Author

dougmet commented Apr 9, 2019

Apologies, should have tried fresh install from master before posting. That did get me round this issue -- thanks! It's fallen over further down stream, but it's probably a different issue:

> keras::install_keras()
Creating r-tensorflow conda environment for TensorFlow installation...
WARNING: The conda.compat module is deprecated and will be removed in a future release.
Collecting package metadata: ...working... failed

CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/noarch/repodata.json.bz2>
Elapsed: -

Works no problem from normal conda (ie conda install keras) mind but by all means close here. Thanks for the quick response!

@kevinushey
Copy link
Collaborator

Thanks for confirming! We're planning to submit to CRAN soon with a bugfix for this issue.

@dougmet dougmet closed this as completed Apr 9, 2019
@dougmet
Copy link
Author

dougmet commented Apr 23, 2019

Just a quick update for future googlers. conda has been updated to get rid of that silly warning, so upgrading conda is an alternative. Also the error I still had above was not related to this at all, but rather a Windows/SSL thing, which broke both pip and conda. By upgrading my git-for-windows installation everything started working again.

@NayeerSiddiquee
Copy link

Is this issue has been solved? I am facing this warning today.

@kevinushey
Copy link
Collaborator

It should be resolved as long as you are using either the latest version of reticulate or latest version of conda.

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

No branches or pull requests

4 participants