-
Notifications
You must be signed in to change notification settings - Fork 73
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
python import error #172
Comments
How to reproduce this? I tried with a git clone of the master branch, using the config file in the test directory, and it worked:
I used python 3.9.13 on a win10 laptop. |
Hah, just realized that config file was a sample that was in the repo! (I always use my own, and am aware of the unit tests and that data directory, and forgot those others were there.) Ok, so it worked on master branch with
|
This may be an environmental issue, because I see you use a windows operating system. For context, the exact steps I executed:
|
I don't have access to a centos7 VM to accurately replicate your environment, but just from looking at the steps, I see some confusion. In step 7, you are installing medallion from pypi. In step 8, you are running medallion from your local git clone, which is a different codebase. You're mixing two different codebases: the git clone codebase and the pypi version. You need to decide which version you want to run. If you want to use the version from your git clone directory, from within that directory run If you want to use the version from pypi, all you need is to run In either case, a |
I ran into an issue installing the server. There seems to be a python problem.
Command run:
python3 medallion/scripts/run.py --conf-file sample-config-with-memory-backend.json.
Error I saw after I ran the command:
Traceback (most recent call last):
File "medallion/scripts/run.py", line 10, in
from medallion.common import (
ImportError: cannot import name 'APPLICATION_INSTANCE'
Any idea on what is causing this error and how to fix it?
Thanks
The text was updated successfully, but these errors were encountered: