-
Notifications
You must be signed in to change notification settings - Fork 30
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
Unable to cache available package list in jupyter when mamba is installed #170
Comments
Mamba was installed in the |
Sorry for the late answer.
No it should not.
Could you try running the following command in a terminal on the machine? /opt/conda/bin/mamba repoquery search * --json |
@fcollonval Sorry for the late reply, from which dir I should run that command? From
|
Might be related,
But the same using conda works: conda-4.13.0 |
@fcollonval I think I got what you wanted
|
But I do have write access to that file, I tried |
…alled User `jenkins` had to own the folder `/opt/conda/pkgs/cache`. Just having write permissions there is not enough ! To fix this error: ``` $ mamba install pyston_lite_autoload -c pyston -c conda-forge Traceback (most recent call last): File "/opt/conda/lib/python3.9/site-packages/conda/exceptions.py", line 1114, in __call__ return func(*args, **kwargs) File "/opt/conda/lib/python3.9/site-packages/mamba/mamba.py", line 935, in exception_converter raise e File "/opt/conda/lib/python3.9/site-packages/mamba/mamba.py", line 929, in exception_converter exit_code = _wrapped_main(*args, **kwargs) File "/opt/conda/lib/python3.9/site-packages/mamba/mamba.py", line 887, in _wrapped_main result = do_call(args, p) File "/opt/conda/lib/python3.9/site-packages/mamba/mamba.py", line 750, in do_call exit_code = install(args, parser, "install") File "/opt/conda/lib/python3.9/site-packages/mamba/mamba.py", line 497, in install index = load_channels(pool, channels, repos) File "/opt/conda/lib/python3.9/site-packages/mamba/utils.py", line 129, in load_channels index = get_index( File "/opt/conda/lib/python3.9/site-packages/mamba/utils.py", line 110, in get_index is_downloaded = dlist.download(api.MAMBA_DOWNLOAD_FAILFAST) RuntimeError: Operation not permitted: '/opt/conda/pkgs/cache/47929eba.json' ``` See issue mamba-org/gator#170
@fcollonval I found it, the current user have to be the owner of Should I still keep this issue open to fix the "current user have to be the owner of |
Thanks a lot @tlvu to dig that one up. Would you mind opening an issue in the mamba repository? |
Sure. Will close this issue once the other one in mamba repo opened. |
Thanks |
Hi! The issue already existed in the main mamba repo: mamba-org/mamba#488 PS: I'm using mamba but not gator, Googling for the error first brought me here... |
Closing as per comment above. Thanks @pgramme |
Description
Since we added
mamba
into our conda env, we are unable to update the cache of available package list. The extension used to work properly before. I removedmamba
and the extension works again !Reproduce
Expected behavior
Context
Python 3.7.12
mamba_gator 5.1.2 pyhd8ed1ab_0 conda-forge
Command Line Output
Browser Output
The text was updated successfully, but these errors were encountered: