Anaconda分发的json包的行为与标准发行不同?

时间:2018-02-05 23:20:24

标签: json python-3.x flask anaconda miniconda

我使用Miniconda的Python发行版。尝试运行烧瓶网络应用时,代码会在拨打apply plugin: 'com.android.application' android { compileSdkVersion 26 defaultConfig { applicationId "com.bdpsoft.bitcoinfaucet" minSdkVersion 15 targetSdkVersion 26 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" multiDexEnabled true } packagingOptions { exclude 'META-INF/NOTICE' // will not include NOTICE file exclude 'META-INF/LICENSE' // will not include LICENSE file // as noted by @Vishnuvathsan you may also need to include // variations on the file name. It depends on your dependencies. // Some other common variations on notice and license file names exclude 'META-INF/notice' exclude 'META-INF/notice.txt' exclude 'META-INF/license' exclude 'META-INF/license.txt' } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) compile 'com.google.firebase:firebase-core:11.0.2' compile 'com.google.firebase:firebase-auth:11.0.2' compile 'com.google.firebase:firebase-database:11.0.2' compile 'com.google.firebase:firebase-crash:11.0.2' compile 'com.google.android.gms:play-services-auth:11.0.2' compile 'com.google.android.gms:play-services-ads:11.0.2' compile 'com.google.android.gms:play-services:11.0.2' compile 'com.google.firebase:firebase-messaging:11.0.2' compile 'com.firebase:firebase-client-android:2.3.1' compile 'com.github.ybq:Android-SpinKit:1.1.0' compile 'com.android.support:multidex:1.0.2' compile 'com.github.traex.rippleeffect:library:1.3' //noinspection GradleCompatible implementation 'com.android.support:appcompat-v7:27.0.2' implementation 'com.android.support.constraint:constraint-layout:1.0.2' testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.1' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1' } apply plugin: 'com.google.gms.google-services' 时崩溃,说json.dumps(aDict)。切换到通过自制程序安装的Python发行版,错误消失 - 整数键只是转换为字符串。

TypeError: keys must be a string模块的Anaconda版本是否真的可能与其他版本的行为不同?或者还有其他事情可以继续吗?

0 个答案:

没有答案