Thanks both!
El miércoles, 15 de junio de 2022 a las 9:42:53 UTC+1, Simon King escribió:
> Here's the command you ran:
>
> (venv) jgarcia@Javier-PC:/var/www$ sudo pip install sqlacodegen==3.0.0b3
>
> The "(venv)" at the beginning of your prompt suggests that you are in an
> activated
Here's the command you ran:
(venv) jgarcia@Javier-PC:/var/www$ sudo pip install sqlacodegen==3.0.0b3
The "(venv)" at the beginning of your prompt suggests that you are in an
activated virtualenv. But when you run "sudo pip", you are installing the
package globally. You now have 2 different
This is what I'm getting when I try to upgrade to 3.0.0b3.
(venv) jgarcia@Javier-PC:/var/www$ sudo pip install sqlacodegen==3.0
ERROR: Could not find a version that satisfies the requirement
sqlacodegen==3.0 (from versions: 1.0.0, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4,
1.1.5, 1.1.6, 2.0.0, 2.0.1,
Thanks Simon, do you know how could I install that version as when I
upgrade the sqlacodegen I still get the version 2.3.0?
Javier
El martes, 14 de junio de 2022 a las 17:21:31 UTC+1, Simon King escribió:
> Based on the CHANGES file, it looks like --generator is a new option in
> v3.0.0:
>
>
Based on the CHANGES file, it looks like --generator is a new option in
v3.0.0:
https://github.com/agronholm/sqlacodegen/blob/master/CHANGES.rst
Simon
On Tue, Jun 14, 2022 at 5:06 PM Javier Garcia wrote:
> Hi,
>
> I have tried to run something like this:
>
> sqlacodegen --generator tables
Hi,
I have tried to run something like this:
sqlacodegen --generator tables
mysql+pymysql://user:password@localhost/dbname
but I get:
usage: sqlacodegen [-h] [--version] [--schema SCHEMA] [--tables TABLES]
[--noviews] [--noindexes] [--noconstraints] [--nojoined] [--noinflect]