- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
我尝试使用“conda update conda”和“conda update --all”来更新 conda。但是,我不断收到以下消息。有谁知道这里发生了什么?
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/osx-64::conda-build==3.10.5=py36_0
- defaults/osx-64::anaconda-navigator==1.9.7=py36_0
- defaults/osx-64::anaconda-client==1.6.14=py36_0
- defaults/osx-64::numpydoc==0.8.0=py36_0
- defaults/osx-64::spyder==3.2.8=py36_0
- defaults/osx-64::blaze==0.11.3=py36h02e7a37_0
- defaults/osx-64::anaconda==5.2.0=py36_3
- defaults/osx-64::anaconda-project==0.8.2=py36h9ee5d53_0
- defaults/osx-64::sphinx==1.7.4=py36_0
- defaults/osx-64::conda==4.7.5=py36_0 done
">>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<"
Traceback (most recent call last):
File "/anaconda3/lib/python3.6/site-packages/conda/models/prefix_graph.py", line 252, in _topo_sort_handle_cycles
value = next(t)
File "/anaconda3/lib/python3.6/site-packages/conda/models/prefix_graph.py", line 230, in _toposort_raise_on_cycles
raise CyclicalDependencyError(tuple(graph))
conda.exceptions.CyclicalDependencyError: Cyclic dependencies exist among these items:
- defaults::_anaconda_depends-2019.03-py36_0
- defaults::anaconda-custom-py36_1
- defaults::astropy-3.2.1-py36h1de35cc_0
- defaults::bkcharts-0.2-py36h073222e_0
- defaults::bokeh-1.2.0-py36_0
- defaults::bottleneck-1.2.1-py36h1d22016_1
- defaults::dask-2.0.0-py_0
- defaults::datashape-0.5.4-py36_1
- defaults::h5py-2.9.0-py36h3134771_0
- defaults::imageio-2.5.0-py36_0
- defaults::lightgbm-2.2.1-py36h0a44026_0
- defaults::matplotlib-3.1.0-py36h54f8f79_0
- defaults::mkl-service-2.0.2-py36h1de35cc_0
- defaults::mkl_fft-1.0.12-py36h5e564d8_0
- defaults::numba-0.44.1-py36h6440ff4_0
- defaults::numexpr-2.6.9-py36h7413580_0
- defaults::numpy-1.16.4-py36hacdab7b_0
- defaults::odo-0.5.1-py36hc1af34a_0
- defaults::pandas-0.24.2-py36h0a44026_0
- defaults::patsy-0.5.1-py36_0
- defaults::pytables-3.5.2-py36h5bccee9_1
- defaults::pytest-arraydiff-0.3-py36h39e3cac_0
- defaults::pytest-astropy-0.5.0-py36_0
- defaults::pytest-doctestplus-0.3.0-py36_0
- defaults::pywavelets-1.0.3-py36h1d22016_1
- defaults::scikit-image-0.15.0-py36h0a44026_0
- defaults::scikit-learn-0.21.2-py36h27c97d8_0
- defaults::scipy-1.2.1-py36h1410ff5_0
- defaults::seaborn-0.9.0-py36_0
- defaults::statsmodels-0.10.0-py36h1d22016_0
- defaults::blaze-0.11.3-py36h02e7a37_0
- defaults::scipy-1.1.0-py36hcaad992_0
- defaults::numexpr-2.6.5-py36h057f876_0
- defaults::astropy-3.0.2-py36h917ab60_1
- defaults::bokeh-0.12.16-py36_0
- defaults::matplotlib-2.2.2-py36ha7267d0_0
- defaults::patsy-0.5.0-py36_0
- defaults::pywavelets-0.5.2-py36h2710a04_0
- defaults::dask-0.17.5-py36_0
- defaults::pytest-astropy-0.3.0-py36_0
- defaults::mkl_random-1.0.1-py36h78cc56f_0
- defaults::pytables-3.4.3-py36h5ca999c_2
- defaults::numpy-1.14.3-py36h9bb19eb_1
- defaults::bottleneck-1.2.1-py36hbd380ad_0
- defaults::pytest-doctestplus-0.1.3-py36_0
- defaults::pytest-arraydiff-0.2-py36_0
- defaults::h5py-2.7.1-py36ha8ecd60_2
- defaults::datashape-0.5.4-py36hfb22df8_0
- defaults::pandas-0.23.0-py36h1702cab_0
- defaults::seaborn-0.8.1-py36h595ecd9_0
- defaults::numba-0.38.0-py36h1702cab_0
- defaults::mkl_fft-1.0.1-py36h917ab60_0
- defaults::scikit-image-0.13.1-py36h1de35cc_1
- defaults::statsmodels-0.9.0-py36h917ab60_0
- defaults::imageio-2.3.0-py36_0
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/anaconda3/lib/python3.6/site-packages/conda/exceptions.py", line 1043, in __call__
return func(*args, **kwargs)
File "/anaconda3/lib/python3.6/site-packages/conda/cli/main.py", line 84, in _main
exit_code = do_call(args, p)
File "/anaconda3/lib/python3.6/site-packages/conda/cli/conda_argparse.py", line 82, in do_call
exit_code = getattr(module, func_name)(args, parser)
File "/anaconda3/lib/python3.6/site-packages/conda/cli/main_update.py", line 20, in execute
install(args, parser, 'update')
File "/anaconda3/lib/python3.6/site-packages/conda/cli/install.py", line 280, in install
force_reinstall=context.force_reinstall or context.force,
File "/anaconda3/lib/python3.6/site-packages/conda/core/solve.py", line 112, in solve_for_transaction
force_remove, force_reinstall)
File "/anaconda3/lib/python3.6/site-packages/conda/core/solve.py", line 150, in solve_for_diff
force_remove)
File "/anaconda3/lib/python3.6/site-packages/conda/core/solve.py", line 261, in solve_final_state
ssc.solution_precs = IndexedSet(PrefixGraph(ssc.solution_precs).graph)
File "/anaconda3/lib/python3.6/site-packages/conda/models/prefix_graph.py", line 47, in __init__
self._toposort()
File "/anaconda3/lib/python3.6/site-packages/conda/models/prefix_graph.py", line 202, in _toposort
sorted_nodes = tuple(self._topo_sort_handle_cycles(graph_copy))
File "/anaconda3/lib/python3.6/site-packages/conda/models/prefix_graph.py", line 259, in _topo_sort_handle_cycles
yield cls._toposort_pop_key(graph)
File "/anaconda3/lib/python3.6/site-packages/conda/models/prefix_graph.py", line 274, in _toposort_pop_key
(len(parents), node.name, node) for node, parents in iteritems(graph)
TypeError: '<' not supported between instances of 'PrefixRecord' and 'PackageRecord'
最佳答案
我通过使用 conda install -c anaconda setuptools
修复了我的问题,然后使用 conda update conda
。
关于python - 类型错误 : '<' not supported between instances of 'PrefixRecord' and 'PackageRecord' while updating Conda,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56928078/
我收到多行错误,指出它有重复的类 Duplicate class android.support.v4.accessibilityservice.AccessibilityServiceInfoCom
我的项目昨天运行良好,今天却出现以下错误。请帮忙。 出了什么问题:无法解析配置“:app:debugCompileClasspath”的所有文件。 Could not find support-v4.
错误:配置项目“:app”时出现问题。 Could not find support-v4.jar (com.android.support:support-v4:24.0.0). Searched
我正在使用 react-native-webrtc 运行示例应用程序模块。我正在尝试在 android 中运行该应用程序,但出现这样的错误... * What went wrong: A probl
错误:配置项目“:app”时出现问题。 Could not find support-v4.jar (com.android.support:support-v4:24.0.0). Searched
我克隆了我的项目并使用 Android studio 打开,但构建失败并出现以下错误并且同一个项目在其他项目上运行良好。 出了什么问题:无法解析配置“:app:flavorUnsignedReleas
我正在运行示例应用程序......我正在使用 this模块.....但是我收到这样的错误... FAILURE: Build failed with an exception. * What went
我有一个 Ionic 项目,在升级到 OSx Mojave 后,出于某种原因不再构建。 该项目基于 Ionic 3 构建。 我有 Cordova CLI 7.0.0 当我运行时 ionic cordo
我有一个 Ionic 项目,在升级到 OSx Mojave 后,出于某种原因不再构建。 该项目基于 Ionic 3 构建。 我有 Cordova CLI 7.0.0 当我运行时 ionic cordo
添加 Android 平台(ionic cordova platform add android)后,我构建了我的 Ionic 项目(ionic cordova build android),但出现错
这个问题在这里已经有了答案: Manifest merger failed : Attribute application@appComponentFactory - Androidx (14 个答
关于我的 Gradle 文件中的以下“complie”: dependencies { compile 'com.android.support:support-v4:25.3.1' }
有些困惑。 我想更频繁地使用@supports 但是...我不关心浏览器如何看待它。希望您能说清楚,如果可以的话谢谢您。 如果浏览器本身不理解@supports,它如何计算@support 'not'
我刚刚升级到 Dart 2 和最新版本的 Flutter,现在我无法构建我的应用程序。我在互联网上环顾四周,但仍然不明白为什么会发生这种情况。 我得到的错误是: FAILURE: Build fail
我正在学习 Firebase,但由于以下错误而陷入困境: Error:Failed to resolve: com.android.support:customtabs:25.4.0 Error:Fa
我在构建本周时出于某种原因尝试使用Cordova进行项目时遇到问题: cordova build android gradle获取com.android.support:support alpha而不
对应的androidx是什么com.android.support:support-compat 的图书馆实现push notifications ? 他们说here它是 androidx 的一部分,
我正在尝试为我的应用设置插桩单元测试。并且我已根据以下开发者站点链接添加了依赖项。 https://developer.android.com/training/testing/unit-testin
当我想使用 Proguard 规则生成签名的 APK(发布)时,我收到了以下错误消息: Cannot find a version of 'com.android.support:support-an
这个问题在这里已经有了答案: Failed to resolve: com.android.support:appcompat-v7:26.0.0 (14 个答案) Failed to resolv
我是一名优秀的程序员,十分优秀!