I am trying to install anaconda in ubuntu step by step and when I commanded conda list I saw anaconda navigator between them so I try to open anaconda navigator according to the following source code
but I saw some error.
(base) riv@riv-System-Product-Name:~$ anaconda-navigator
Traceback (most recent call last):
File "/home/riv/anaconda3/bin/anaconda-navigator", line 7, in <module>
from anaconda_navigator.app.main import main
ModuleNotFoundError: No module named 'anaconda_navigator'
the other type of error is
(base) riv@riv-System-Product-Name:~$ anaconda-navigator
libGL error: MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
2022-09-23 05:19:28,264 - ERROR download_api._get_url:378
Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "/home/riv/anaconda3/lib/python3.6/site-packages/anaconda_navigator/widgets/main_window.py", line 484, in setup
self.post_setup(conda_data=conda_data)
File "/home/riv/anaconda3/lib/python3.6/site-packages/anaconda_navigator/widgets/main_window.py", line 521, in post_setup
self.tab_home.setup(conda_data)
File "/home/riv/anaconda3/lib/python3.6/site-packages/anaconda_navigator/widgets/tabs/home.py", line 169, in setup
self.set_applications(applications, packages)
File "/home/riv/anaconda3/lib/python3.6/site-packages/anaconda_navigator/widgets/tabs/home.py", line 204, in set_applications
apps = self.api.process_apps(applications, prefix=self.current_prefix)
File "/home/riv/anaconda3/lib/python3.6/site-packages/anaconda_navigator/api/anaconda_api.py", line 811, in process_apps
versions=[vsdata.get('productVersion')],
AttributeError: 'str' object has no attribute 'get'
so I update conda and anaconda-navigator according to the following source code
but while updating anaconda-navigator it can not complete and give me different type of error and hang in somewhere an example of an error is.
riv@riv-System-Product-Name:~$ conda update conda
Collecting package metadata (current_repodata.json): done
Solving environment: -
The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:
- defaults/noarch::idna==3.3=pyhd3eb1b0_0
- defaults/linux-64::backcall==0.1.0=py36_0
- defaults/linux-64::pip==22.1.2=py37h06a4308_0
- defaults/linux-64::setuptools==63.4.1=py37h06a4308_0
- defaults/linux-64::html5lib==1.0.1=py36h2f9c1c0_0
- defaults/linux-64::babel==2.5.3=py36_0
- defaults/linux-64::pylint==1.8.4=py36_0
- defaults/linux-64::python==3.7.0=hc3d631a_0
failed with repodata from current_repodata.json, will retry with next repodata source.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: \
The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:
- defaults/noarch::idna==3.3=pyhd3eb1b0_0
- defaults/linux-64::backcall==0.1.0=py36_0
- defaults/linux-64::dask-core==0.17.5=py36_0
what is your suggestion.