Conda无法创建从YML文件到UTF8的环境

时间:2020-03-12 12:38:12

标签: python conda environment

我正在发布此消息,以防其他人遇到相同的问题。 我试图与同事following these instructions共享我的工作环境,但遇到一些错误。

问题在于,即使在运行<ScrollView contentContainerStyle={{ flexGrow: 1 }} scrollEnabled> <View style={{ maxHeight: 280 }}> <FlatList style={{ backgroundColor: '#eee' }} data={suppliers} keyExtractor={supplier => supplier} renderItem={({ item, index }) => { const style = index % 2 === 0 ? { backgroundColor: '#fff' } : null; return ( <TouchableOpacity style={{ ...style, height: height / 14, borderColor: '#333', borderWidth: 0.5, alignItems: 'center', flexDirection: 'row', justifyContent: 'space-between', }} > <Text style={{ fontSize: 14 }}>{item}</Text> <Feather name="chevron-right" size={21} /> </TouchableOpacity> ); }} /> </View> </ScrollView> 时conda仍希望您具有UTF-8编码的文件,但在Windows上导出环境时,conda会创建非UTF-8编码的文件。

1 个答案:

答案 0 :(得分:0)

为此,我将YML文件转换为UTF-8编码的文件(使用Windows的记事本打开并更改了编码)。

请让我知道是否还有其他更好的解决方案。