Can't change the path through use_python() or use_condaenv()
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 1.8k
- Forks
- 349
- Avg merge
- 5h 13m
- Merged PRs (30d)
- 4
Description
Hello. I have been trying hard to change the path of the Python in my Mac since py_available() keeps returning FALSE.
I've tried the methods here and someone recommended me to change through use_python() with miniconda path, but still no use. I have the Python 3.7.1 in miniconda. So I also tried going through use_condaenv() but still remain the same with the py_available() FALSE.
Here's the config return in RStudio:
`> py_config()
python: /usr/bin/python
libpython: /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config/libpython2.7.dylib
pythonhome: /System/Library/Frameworks/Python.framework/Versions/2.7:/System/Library/Frameworks/Python.framework/Versions/2.7
version: 2.7.10 (default, Oct 6 2017, 22:29:07) [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)]
numpy: /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy
numpy_version: 1.8.0
python versions found:
/usr/bin/python
/Users/inger.noire/miniconda3/bin/python`
Many thanks.
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 macOS configuration with py_config(), use_python(), and use_condaenv(), checking which interpreter is selected and why py_available() remains FALSE. Done means the requested Miniconda Python is selected and py_available() returns TRUE; no file or test is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, r
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100