Comments (4)
Yes, I've confirmed mamba fails but conda succeeds. I've filed a bug report on mamba: mamba-org/mamba#668
Thank you for the assistance!
from gator.
Hey @hakasapl thank you for the detailed report. Could you run jupyterlab in debug mode in order to get the output of the conda commands?
from gator.
I'm attaching the JupyterLab log on debug mode.
gator.log
from gator.
Thanks for the log @hakasapl
So the error is on the command mamba search --json
and only that one (I see that listing environments and packages is working). And the error is:
"error": "ImportError(\"cannot import name 'id' from partially initialized module 'conda._vendor.distro' (most likely due to a circular import) (/modules/apps/miniconda/4.8.3/envs/jupyter-2-1/lib/python3.9/site-packages/conda/_vendor/distro.py)\")",
"exception_name": "ImportError",
"exception_type": "<class 'ImportError'>",
"traceback": "Traceback (most recent call last):\n File \"/modules/apps/miniconda/4.8.3/envs/jupyter-2-1/lib/python3.9/site-packages/conda/gateways/connection/session.py\", line 60, in __call__\n return cls._thread_local.session\nAttributeError: '_thread._local' object has no attribute 'session'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/modules/apps/miniconda/4.8.3/envs/jupyter-2-1/lib/python3.9/site-packages/conda/exceptions.py\", line 1079, in __call__\n return func(*args, **kwargs)\n File \"/modules/apps/miniconda/4.8.3/envs/jupyter-2-1/lib/python3.9/site-packages/mamba/mamba.py\", line 882, in exception_converter\n raise e\n File \"/modules/apps/miniconda/4.8.3/envs/jupyter-2-1/lib/python3.9/site-packages/mamba/mamba.py\", line 876, in exception_converter\n exit_code = _wrapped_main(*args, **kwargs)\n File \"/modules/apps/miniconda/4.8.3/envs/jupyter-2-1/lib/python3.9/site-packages/mamba/mamba.py\", line 835, in _wrapped_main\n result = do_call(args, p)\n File \"/modules/apps/miniconda/4.8.3/envs/jupyter-2-1/lib/python3.9/site-packages/mamba/mamba.py\", line 714, in do_call\n exit_code = getattr(module, func_name)(args, parser)\n File \"/modules/apps/miniconda/4.8.3/envs/jupyter-2-1/lib/python3.9/site-packages/conda/cli/main_search.py\", line 73, in execute\n matches = sorted(SubdirData.query_all(spec, channel_urls, subdirs),\n File \"/modules/apps/miniconda/4.8.3/envs/jupyter-2-1/lib/python3.9/site-packages/conda/core/subdir_data.py\", line 120, in query_all\n result = tuple(concat(executor.map(subdir_query, channel_urls)))\n File \"/modules/apps/miniconda/4.8.3/envs/jupyter-2-1/lib/python3.9/concurrent/futures/_base.py\", line 600, in result_iterator\n yield fs.pop().result()\n File \"/modules/apps/miniconda/4.8.3/envs/jupyter-2-1/lib/python3.9/concurrent/futures/_base.py\", line 433, in result\n return self.__get_result()\n File \"/modules/apps/miniconda/4.8.3/envs/jupyter-2-1/lib/python3.9/concurrent/futures/_base.py\", line 389, in __get_result\n raise self._exception\n File \"/modules/apps/miniconda/4.8.3/envs/jupyter-2-1/lib/python3.9/concurrent/futures/thread.py\", line 52, in run\n result = self.fn(*self.args, **self.kwargs)\n File \"/modules/apps/miniconda/4.8.3/envs/jupyter-2-1/lib/python3.9/site-pack
You may want to report an issue on mamba (and/or conda). But before that, you could try opening a terminal a running:
conda search --json
mamba search --json
to see if they are working. If conda works and not mamba - please report an issue on mamba repository. A solution could be to downgrade mamba or conda to a older version in the meantime.
from gator.
Related Issues (20)
- Classic notebook extension with 2.0.0 HOT 2
- Mamba not recognized on windows
- Using via JupyterHub? HOT 1
- Feature: Cache Location HOT 2
- First initialization not ending HOT 3
- Mamba still running after closing jupyterlab HOT 8
- gator not displayed in jupyterlab after updating or re-installing HOT 3
- only base environment being detected/displayed HOT 4
- pick non-base environment as kernel for notebooks HOT 4
- Dedicated branch for the Conda Store integration HOT 1
- UX/UI proposals for Gator HOT 13
- Fix infinite scrolling in conda-store environments extension HOT 1
- Unable to cache available package list in jupyter when mamba is installed HOT 12
- Pick Mamba environment as kernel for Jupyter Notebook HOT 3
- Option to disable background loading. Performance improvement on JupyterLab startup. HOT 5
- "No web browser found: could not locate runnable browser". Pages refuse to connect to launch Jupyter notebook. HOT 2
- An error occurred while retrieving available packages HOT 5
- Support for JupyterLab 4.0.4
- No such file or directory: 'conda' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gator.