I have been working with the Bybit API for the last week when I encountered the title problem yesterday. I have started a new env and installed only the bybit wrapper again and the issue still arises. From what I can see I have jsonschema installed and in my env PATH. It was working a few days ago, so I do believe this to be separate from whatever API I am trying to use. Included is a picture of the response when run in an interpreter. Any help would be greatly appreciated.
ModuleNotFoundError: No module named 'jsonschema.compat' is the error that comes up.
That module was removed in
jsonschema
4.0. Your packages haven't been pinned to only use jsonschema 3.x, so that might happen.For now, you can downgrade to version 3.x of the
jsonschema
package withand things should work.