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 errors in rmarkdown notebook chunks show: Evaluation error: option error has NULL value. #494

Closed
danielfrg opened this issue May 2, 2019 · 5 comments

Comments

@danielfrg
Copy link

In a notebook like this:

---
title: "R Notebook"
output: html_notebook
---

```{r}
library(reticulate)
use_python("/Users/danielfrg/workspace/dinero/.venv/bin/python")
```

```{python}
import pandas
```

Gives me:

Evaluation error: option error has NULL value.

Doing it in the R session would give me the error I would be expecting.

> pd <- import("pandas")
Error in py_module_import(module, convert = convert) : 
  ImportError: No module named pandas

The same thing happens for other Python errors on the notebook cells. Not sure if this is config on my side.

@davidlieberman
Copy link

Getting the same issues on my end as well

@Jesse-Kerr
Copy link

Also have the same issue

@shermstats
Copy link

I'm getting this issue as well, but only when I'm working in an RStudio project. The exact same code works fine when I'm working outside a project.

@kevinushey
Copy link
Collaborator

Should be fixed in the preview release.

@NehaDeshmukh03
Copy link

Check your rstudio version , library reticulate works fine in the version 1.2.1555.1

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

6 participants