Giter Site home page Giter Site logo

Comments (6)

fantix avatar fantix commented on May 3, 2024

抱歉,readthedocs 还不支持 Python 3.6,我提交内测申请了但没人理我。文档目前先看 README 吧,更详细的还没有写,欢迎帮忙~!

from gino.

fantix avatar fantix commented on May 3, 2024

Will fix in #4

from gino.

zjxubinbin avatar zjxubinbin commented on May 3, 2024

然而README的那个例子都跑不通,比如

import asyncio
from gino import Gino, enable_task_local

db = Gino()


class User(db.Model):
    __tablename__ = 'users'

    id = db.Column()

db没有Column这个方法...

Gino version: 0.4.1

from gino.

fantix avatar fantix commented on May 3, 2024

我这里是可以的:

(py36env) fantix@bogon:~/PycharmProjects$ pip install gino
Collecting gino
  Downloading gino-0.4.1.tar.gz
Requirement already satisfied: asyncpg~=0.12 in /Volumes/Home/fantix/py36env/lib/python3.6/site-packages (from gino)
Requirement already satisfied: SQLAlchemy~=1.1 in /Volumes/Home/fantix/py36env/lib/python3.6/site-packages (from gino)
Building wheels for collected packages: gino
  Running setup.py bdist_wheel for gino ... done
  Stored in directory: /Volumes/Home/fantix/Library/Caches/pip/wheels/f4/44/0c/fa22159f677cc0026795079ae04c69ccf73bbd548e5213964f
Successfully built gino
Installing collected packages: gino
Successfully installed gino-0.4.1
(py36env) fantix@bogon:~/PycharmProjects$ ipython
Python 3.6.1 (default, Apr  4 2017, 09:40:21) 
Type 'copyright', 'credits' or 'license' for more information
IPython 6.1.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: from gino import Gino

In [2]: db = Gino()

In [3]: db.Column
Out[3]: sqlalchemy.sql.schema.Column

from gino.

zjxubinbin avatar zjxubinbin commented on May 3, 2024

感谢回复,那就是我的Python环境有问题,我去找个干净的环境试试.

from gino.

fantix avatar fantix commented on May 3, 2024

不客气,如有问题请再回复。

from gino.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.