I was trying to install some packages in R and I have run into an error:
Error: package or namespace load failed for ‘leiden’:
.onAttach failed in attachNamespace() for 'leiden', details:
call: py_module_import(module, convert = convert)
error: ModuleNotFoundError: No module named 'pandas'
This is strange to me because I definitely have pandas:
$ conda list | grep pandas
pandas 1.0.1 py37h0573a6f_0
Also which python seems to give me my anaconda installation:
/home/usrname/anaconda3/bin/python
I am installing these packages on WSL (Windows Subsystem for Linux) Ubuntu.
Any advice appreciated.