久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    • <bdo id='pVRXb'></bdo><ul id='pVRXb'></ul>

  • <tfoot id='pVRXb'></tfoot>

    1. <legend id='pVRXb'><style id='pVRXb'><dir id='pVRXb'><q id='pVRXb'></q></dir></style></legend>

      <small id='pVRXb'></small><noframes id='pVRXb'>

    2. <i id='pVRXb'><tr id='pVRXb'><dt id='pVRXb'><q id='pVRXb'><span id='pVRXb'><b id='pVRXb'><form id='pVRXb'><ins id='pVRXb'></ins><ul id='pVRXb'></ul><sub id='pVRXb'></sub></form><legend id='pVRXb'></legend><bdo id='pVRXb'><pre id='pVRXb'><center id='pVRXb'></center></pre></bdo></b><th id='pVRXb'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='pVRXb'><tfoot id='pVRXb'></tfoot><dl id='pVRXb'><fieldset id='pVRXb'></fieldset></dl></div>

        出現錯誤:沒有名為“calendar_ui"的模塊.即使

        Getting error : No module named #39;calendar_ui#39;. even though KivyCalendar has been installed using pip in windows 10(出現錯誤:沒有名為“calendar_ui的模塊.即使 KivyCalendar 已在 Windows 10 中使用 pip 安裝) - IT屋-程序
        <i id='B6OC3'><tr id='B6OC3'><dt id='B6OC3'><q id='B6OC3'><span id='B6OC3'><b id='B6OC3'><form id='B6OC3'><ins id='B6OC3'></ins><ul id='B6OC3'></ul><sub id='B6OC3'></sub></form><legend id='B6OC3'></legend><bdo id='B6OC3'><pre id='B6OC3'><center id='B6OC3'></center></pre></bdo></b><th id='B6OC3'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='B6OC3'><tfoot id='B6OC3'></tfoot><dl id='B6OC3'><fieldset id='B6OC3'></fieldset></dl></div>
            <bdo id='B6OC3'></bdo><ul id='B6OC3'></ul>

            <small id='B6OC3'></small><noframes id='B6OC3'>

            <tfoot id='B6OC3'></tfoot>

                <tbody id='B6OC3'></tbody>

                  <legend id='B6OC3'><style id='B6OC3'><dir id='B6OC3'><q id='B6OC3'></q></dir></style></legend>
                • 本文介紹了出現錯誤:沒有名為“calendar_ui"的模塊.即使 KivyCalendar 已在 Windows 10 中使用 pip 安裝的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  KivyCalendar 已在 windows 10 中使用 pip 安裝.但返回錯誤:-

                  KivyCalendar has been installed using pip in windows 10. But returns an error:-

                  沒有名為calendar_ui"的模塊

                  No module named 'calendar_ui

                  我的代碼是:

                  from kivy.app import App
                  from KivyCalendar import CalendarWidget
                  
                  
                  class MyApp(App):
                  
                      def build(self):
                          return CalendarWidget()
                  
                  MyApp().run()
                  

                  任何幫助將不勝感激.謝謝

                  Any help would be much appreciated. Thanks

                  推薦答案

                  我在項目中使用 KivyCalendar 時遇到了一些問題,因此我做了一些改進以使其在 Python 3 上運行.確保有原始文件的副本.

                  I had a few troubles using KivyCalendar in my project so I made a few improvements to make it work on Python 3. Make sure to have a copy of original files.

                  添加行首帶有 + 標記的行并刪除行首帶有 - 標記的文件.

                  Add lines which are having a + mark at the beginning of the line and remove files which are having a - mark at the beginning of the line.

                  首先找到kivycalendar的安裝目錄.

                  First of all find the directory where kivycalendar is installed.

                  KivyCalendar/init.py

                  KivyCalendar/init.py

                   #!/usr/bin/python
                   # -*- coding: utf-8 -*-
                  
                   -from calendar_ui import DatePicker, CalendarWidget
                   +from .calendar_ui import DatePicker, CalendarWidget
                  

                  KivyCalendar/calendar_data.py

                  KivyCalendar/calendar_data.py

                  -from calendar import TimeEncoding, month_name, day_abbr, Calendar, monthrange
                  +from calendar import month_name, day_abbr, Calendar, monthrange
                   from datetime import datetime
                   from locale import getdefaultlocale
                  +import locale as _locale
                  +
                  +
                  +class TimeEncoding:
                  +    def __init__(self, locale):
                  +        self.locale = locale
                  +
                  +    def __enter__(self):
                  +        self.oldlocale = _locale.setlocale(_locale.LC_TIME, self.locale)
                  +        return _locale.getlocale(_locale.LC_TIME)[1]
                  +
                  +    def __exit__(self, *args):
                  +        _locale.setlocale(_locale.LC_TIME, self.oldlocale)
                  +
                  
                   def get_month_names():
                       """ Return list with months names """
                  

                  KivyCalendar/calendar_ui.py

                  KivyCalendar/calendar_ui.py

                   from kivy.core.window import Window
                   from kivy.properties import NumericProperty, ReferenceListProperty
                  
                  -import calendar_data as cal_data
                  +from . import calendar_data as cal_data
                   ###########################################################
                   Builder.load_string("""
                   <ArrowButton>:
                  

                  這篇關于出現錯誤:沒有名為“calendar_ui"的模塊.即使 KivyCalendar 已在 Windows 10 中使用 pip 安裝的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  How to make a discord bot that gives roles in Python?(如何制作一個在 Python 中提供角色的不和諧機器人?)
                  Discord bot isn#39;t responding to commands(Discord 機器人沒有響應命令)
                  Can you Get the quot;About mequot; feature on Discord bot#39;s? (Discord.py)(你能得到“關于我嗎?Discord 機器人的功能?(不和諧.py))
                  message.channel.id Discord PY(message.channel.id Discord PY)
                  How do I host my discord.py bot on heroku?(如何在 heroku 上托管我的 discord.py 機器人?)
                  discord.py - Automaticaly Change an Role Color(discord.py - 自動更改角色顏色)

                  <small id='xNYd2'></small><noframes id='xNYd2'>

                      • <bdo id='xNYd2'></bdo><ul id='xNYd2'></ul>
                          <tbody id='xNYd2'></tbody>

                          <i id='xNYd2'><tr id='xNYd2'><dt id='xNYd2'><q id='xNYd2'><span id='xNYd2'><b id='xNYd2'><form id='xNYd2'><ins id='xNYd2'></ins><ul id='xNYd2'></ul><sub id='xNYd2'></sub></form><legend id='xNYd2'></legend><bdo id='xNYd2'><pre id='xNYd2'><center id='xNYd2'></center></pre></bdo></b><th id='xNYd2'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='xNYd2'><tfoot id='xNYd2'></tfoot><dl id='xNYd2'><fieldset id='xNYd2'></fieldset></dl></div>
                          <tfoot id='xNYd2'></tfoot>

                          • <legend id='xNYd2'><style id='xNYd2'><dir id='xNYd2'><q id='xNYd2'></q></dir></style></legend>

                            主站蜘蛛池模板: 久久久久国产 | 久草日韩 | 日本成人在线免费视频 | 91精品久久久久久久久99蜜臂 | 中文字幕日韩欧美一区二区三区 | 欧美日韩三区 | 一区天堂 | av天天看 | 欧美日韩视频在线第一区 | 久久久男人的天堂 | 电影午夜精品一区二区三区 | 国产一区二区av | 午夜一区二区三区视频 | 国产一区| 日韩三级| 青青草原综合久久大伊人精品 | 亚洲午夜精品一区二区三区他趣 | 麻豆亚洲 | 国产专区在线 | 国产激情视频 | 一级大黄 | 三级成人在线 | 亚洲精品久 | 欧美久久国产 | 亚洲狠狠爱 | 中文字幕一二三区 | 午夜视频在线观看网站 | 成人黄色电影在线播放 | 精品一区二区三区在线观看国产 | 久久伊| 午夜视频导航 | 亚洲天堂久久 | 亚洲一区二区三区视频 | 天天爽天天操 | 日韩精品久久久久 | 中文字幕视频三区 | 欧美精品一区二区三区在线播放 | 91超碰caoporn97人人 | 久久手机在线视频 | 国产欧美一区二区在线观看 | 精品国产免费一区二区三区五区 |