微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

使用pip3 install telethon安装Telethon时出错

如何解决使用pip3 install telethon安装Telethon时出错

当我尝试从pip3安装telethon时,出现此错误,为什么? 我在cmd的32位Windows 10中运行此程序。

def perfundo (self) :
    file = open('D:\\agron\\testing\\' + self.id_1.text + '-' + str(date.today()) + '.txt','x')
    global lista
    global t

    # get the list of all PartsTextInputs
    parts_prices = self.ids.parts_text_inputs.children[:]

    # reverse the list to get them in the samee order that you see on the screen
    parts_prices.reverse()

    # loop through all the PartsTextInputs
    for ti in parts_prices:
        lista.append(ti.ids.txtinp1.text)
        lista.append(ti.ids.txtinp2.text)
        lista.append(ti.ids.txtinp3.text)
        
    file.write('Emri dhe mbiemri :' + self.id_1.text + '\n' + 'Lloji i vetures :' + self.id_2.text + '\n' + 'Nr. i telefonit :' + self.id_3.text + '\n' + 'Problemi :' + self.id_4.text+ '\n' + 'idk :' + str(lista))
    file.close()

解决方法

我通过卸载python和pip解决了该问题,我拥有的python版本是3.8.5,最新版本是3.8.9。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。