You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(.venv) root@QJXH001:~/h# source .venv/bin/activate
(.venv) root@QJXH001:~/h# alembic -c conf/alembic.ini upgrade +1
Traceback (most recent call last):
File "/root/h/.venv/bin/alembic", line 11, in<module>sys.exit(main())
File "/root/h/.venv/local/lib/python2.7/site-packages/alembic/config.py", line 479, in main
CommandLine(prog=prog).main(argv=argv)
File "/root/h/.venv/local/lib/python2.7/site-packages/alembic/config.py", line 473, in main
self.run_cmd(cfg, options)
File "/root/h/.venv/local/lib/python2.7/site-packages/alembic/config.py", line 456, in run_cmd
**dict((k, getattr(options, k))forkin kwarg)
File "/root/h/.venv/local/lib/python2.7/site-packages/alembic/command.py", line 154, in upgrade
script = ScriptDirectory.from_config(config)
File "/root/h/.venv/local/lib/python2.7/site-packages/alembic/script/base.py", line 113, in from_config
util.coerce_resource_to_filename(script_location),
File "/root/h/.venv/local/lib/python2.7/site-packages/alembic/util/pyfiles.py", line 39, in coerce_resource_to_filename
fname = pkg_resources.resource_filename(*fname.split(':'))
File "/root/h/.venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1201, in resource_filename
return get_provider(package_or_requirement).get_resource_filename(
File "/root/h/.venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 434, in get_provider
__import__(moduleOrReq)
ImportError: No module named h
What might be the issue?
The text was updated successfully, but these errors were encountered:
What might be the issue?
The text was updated successfully, but these errors were encountered: