You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get this error when starting Jupyter notebook and clicking on Conda tab in the browser:
[E 15:14:49.783 NotebookApp] Unhandled error in API request
...
File "/XXX/lib/python3.5/site-packages/nb_conda/envmanager.py", line 17, in pkg_info
name, version, build = s.rsplit('-', 2)
AttributeError: 'dict' object has no attribute 'rsplit'
Replacing the problematic line with
name, version, build = s["dist_name"].rsplit('-', 2)
fixes the issue but I'm not sure how or whether the grand scheme of things is affected.
Clearly function pkg_info expects a string but env_packages passes a dictionary.
Conda list returns effectively a list of dictionaries and there seems to be confusion about processing this list.
This is using
conda 4.3.13
nb_conda 2.0.0 py35_0
The current version of envmanager.py seems identical to v 2.0
The text was updated successfully, but these errors were encountered:
I get this error when starting Jupyter notebook and clicking on Conda tab in the browser:
[E 15:14:49.783 NotebookApp] Unhandled error in API request
...
File "/XXX/lib/python3.5/site-packages/nb_conda/envmanager.py", line 17, in pkg_info
name, version, build = s.rsplit('-', 2)
AttributeError: 'dict' object has no attribute 'rsplit'
Replacing the problematic line with
name, version, build = s["dist_name"].rsplit('-', 2)
fixes the issue but I'm not sure how or whether the grand scheme of things is affected.
Clearly function pkg_info expects a string but env_packages passes a dictionary.
Conda list returns effectively a list of dictionaries and there seems to be confusion about processing this list.
This is using
conda 4.3.13
nb_conda 2.0.0 py35_0
The current version of envmanager.py seems identical to v 2.0
The text was updated successfully, but these errors were encountered: