-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting an "ImportError: cannot import name 'ArgSpec' from 'inspect'" Error #258
Comments
@agronholm I see that you began a big refactoring towards a 3.0 version. In the meantime, would you be open to create a maintenance branch and release a 2.3.1 based on my fork and branch? |
Solution number 3: use the 3.0 release candidate which contains the fix. |
@agronholm Can we close this issue? It seems like an exact dupe of #239, for which there's a clear/simple solution (to which you referred herein, using the release candidate 3.0). |
Yup. |
Things to check first
Feature description
Can't use sqlacodegen, because I'm getting this error everytime I start it, even with
sqlacodegen --help
Error Messages as folllows:
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "E:\Programme\Python\Scripts\sqlacodegen.exe_main.py", line 4, in
File "E:\Programme\Python\Lib\site-packages\sqlacodegen\main.py", line 11, in
from sqlacodegen.codegen import CodeGenerator
File "E:\Programme\Python\Lib\site-packages\sqlacodegen\codegen.py", line 9, in
from inspect import ArgSpec
ImportError: cannot import name 'ArgSpec' from 'inspect' (E:\Programme\Python\Lib\inspect.py)
Use case
I want to use sqlacodegen and don't know how to file a bug report.
The text was updated successfully, but these errors were encountered: