模块'sqlalchemy.sql.sqltypes'没有属性'NativeForEmulated'

时间:2019-06-24 16:17:03

标签: python mysql sqlalchemy

我尝试了python sqlalchemy。无法连接数据库。引发错误 模块'sqlalchemy.sql.sqltypes'没有属性'NativeForEmulated'

Mysql连接代码

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<table>
  <tr>
    <th scope="row" class="check-column"><input type="checkbox" name="ids[6]" value="5"></th>
    <td class="order_id column-order_id has-row-actions column-primary" data-colname="Booking"><a href="https://example.com/wp-admin/12" class="wcpv-vendor-order-by-id">1528</a><button type="button" class="toggle-row"><span class="screen-reader-text">Vis for flere detaljer</span></button></td>
    <td class="order_status column-order_status" data-colname="Booking status"><span class="wcpv-order-status-completed">COMPLETED</span></td>
    <td class="order_date column-order_date" data-colname="Booking dato">June 5, 2019 9:19 am</td>
    <td class="shipping_address column-shipping_address" data-colname="Shipping"></td>
    <td class="product_name column-product_name" data-colname="Product">
      <a class="post-edit-link" href="https://example.com/admin/123"></a>
    </td>
    <td class="total_commission_amount column-total_commission_amount" data-colname="Commission"><span class="woocommerce-Price-amount amount">350&nbsp;<span class="woocommerce-Price-currencySymbol">DKK</span></span>
    </td>
    <td class="commission_status column-commission_status" data-colname="Kommission Status"><span class="wcpv-unpaid-status">UBETALT</span></td>
    <td class="paid_date column-paid_date" data-colname="Paid Date">0000-00-00 00:00:00</td>
    <td class="fulfillment_status column-fulfillment_status" data-colname="Udførselsstatus"><span class="wcpv-fulfilled-status">Opfyldt</span></td>
  </tr>
  <tr>
    <th scope="row" class="check-column"><input type="checkbox" name="ids[6]" value="5"></th>
    <td class="order_id column-order_id has-row-actions column-primary" data-colname="Booking"><a href="https://example.com/wp-admin/12" class="wcpv-vendor-order-by-id">1528</a><button type="button" class="toggle-row"><span class="screen-reader-text">Vis for flere detaljer</span></button></td>
    <td class="order_status column-order_status" data-colname="Booking status"><span class="">NOT COMPLETED</span></td>
    <td class="order_date column-order_date" data-colname="Booking dato">June 5, 2019 9:19 am</td>
    <td class="shipping_address column-shipping_address" data-colname="Shipping"></td>
    <td class="product_name column-product_name" data-colname="Product">
      <a class="post-edit-link" href="https://example.com/admin/123"></a>
    </td>
    <td class="total_commission_amount column-total_commission_amount" data-colname="Commission"><span class="woocommerce-Price-amount amount">350&nbsp;<span class="woocommerce-Price-currencySymbol">DKK</span></span>
    </td>
    <td class="commission_status column-commission_status" data-colname="Kommission Status"><span class="wcpv-unpaid-status">UBETALT</span></td>
    <td class="paid_date column-paid_date" data-colname="Paid Date">0000-00-00 00:00:00</td>
    <td class="fulfillment_status column-fulfillment_status" data-colname="Udførselsstatus"><span class="wcpv-fulfilled-status">Opfyldt</span></td>
  </tr>
</table>

0 个答案:

没有答案