Skip to content
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

ImportError: cannot import name 'getargspec' #8

Open
yingwang131 opened this issue Apr 11, 2019 · 1 comment
Open

ImportError: cannot import name 'getargspec' #8

yingwang131 opened this issue Apr 11, 2019 · 1 comment

Comments

@yingwang131
Copy link

Do you guys have this problem? I have python 3, and should I run the program on python 2?

C:\Users\ying\Downloads\flaskSaaS-master\flaskSaaS-master>python manage.py initdb
Traceback (most recent call last):
File "manage.py", line 33, in
manager.run()
File "C:\Users\ying\AppData\Roaming\Python\Python35\site-packages\flask_script_init_.py", line 412, in run
result = self.handle(sys.argv[0], sys.argv[1:])
File "C:\Users\ying\AppData\Roaming\Python\Python35\site-packages\flask_script_init_.py", line 383, in handle
res = handle(*args, **config)
File "C:\Users\ying\AppData\Roaming\Python\Python35\site-packages\flask_script\commands.py", line 215, in call
with app.test_request_context():
File "C:\Users\ying\AppData\Roaming\Python\Python35\site-packages\flask\app.py", line 1780, in test_request_context
from flask.testing import make_test_environ_builder
File "C:\ProgramData\Anaconda3\lib\site-packages\flask\testing.py", line 17, in
from flask.cli import ScriptInfo
File "C:\ProgramData\Anaconda3\lib\site-packages\flask\cli.py", line 29, in
from ._compat import getargspec, iteritems, reraise, text_type
ImportError: cannot import name 'getargspec'

C:\Users\ying\Downloads\flaskSaaS-master\flaskSaaS-master>python --version
Python 3.5.6 :: Anaconda, Inc.

@andresberejnoi
Copy link

I am running it with python 3.7.3 that comes with miniconda and have no problems. I am using Ubuntu 18.04 though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants