Skip to content
Discussion options

You must be logged in to vote

hi -

there's likely some change you've made in your alembic.ini or env.py that's affecting things. since it can't find 'versions', likely something with "script_location" or "version_locations".

try using a fresh start, dont edit any files whatsoever. then make sure "alembic revision -m 'some rev'" creates a file.

here's what it looks like:

(.venv) [classic@photon3 tmp]$ alembic init alembic
  Creating directory /home/classic/tmp/alembic ...  done
  Creating directory /home/classic/tmp/alembic/versions ...  done
  Generating /home/classic/tmp/alembic/script.py.mako ...  done
  Generating /home/classic/tmp/alembic/README ...  done
  Generating /home/classic/tmp/alembic.ini ...  done
  Gene…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@staticdev
Comment options

@zzzeek
Comment options

@staticdev
Comment options

@zzzeek
Comment options

Answer selected by staticdev
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1066 on July 14, 2022 15:07.