Hi Simon, I installed both pytest and mock using pip install py.test mock in the virtualenv. I am using anaconda python. Both the libraries are surely installed.
On Friday, 9 February 2018 12:36:26 UTC+1, Simon King wrote: > On Wed, Feb 7, 2018 at 2:23 PM, su-sa <sachdeva....@gmail.com > <javascript:>> wrote: > > Hallo everyone, > > > > I am trying to run all the pytest of sqlalchemy. But I always get the > error > > - SQLAlchemy requires Mock as of version 0.8.2. I already have the mock > > library installed. Could somebody please help me to solve the problem. > > > > How have you installed these libraries? Are you using virtualenv? If > so, are pytest and mock both installed in the virtualenv? > > Simon > -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description. --- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To post to this group, send email to sqlalchemy@googlegroups.com. Visit this group at https://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.