Path error when using reticulate functions
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 1.8k
- Forks
- 349
- Avg merge
- 5h 13m
- Merged PRs (30d)
- 4
Description
After having used reticulate previously on my Windows machine. I am now getting a strange error with many reticulate functions. When I call functions like reticulate::py_config(), I get:
Error: lexical error: invalid char in json text.
C:\PROGRA~3\MINICO~1\lib\site-p
(right here) ------^
I have tried changed to the GitHub version of the package, and I have tried reinstalling Anaconda python, neither which has made the error go away. Is this a known issue? Any suggestions for fixing it? Thank you!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the error with reticulate::py_config() on Windows after using Anaconda, using the reported C:\PROGRA3\MINICO1\lib\site-p path as a clue. Done means py_config() and the other affected reticulate functions run without the invalid JSON character error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- anaconda, python, r
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100