-
-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Bug Description
Several example scripts in the examples/compliance/
directory fail to run due to missing modules like cryptography.zkp
. The standard Python cryptography
library does not contain submodules such as zkp
, dp
, federated
, or homomorphic
, which are imported in multimind/compliance/advanced.py
.
This causes an ImportError
when attempting to run scripts that depend on multimind.compliance.model_training
.
To Reproduce
Steps to reproduce the behavior:
- Install the package using pip:
pip install multimind-sdk
- Run the following script:
python examples/compliance/healthcare/clinical_trial_compliance.py
Expected Behavior
Example scripts should run without import errors, or the required dependencies/modules should be clearly documented or included.
Environment
- OS: Windows 11
- Python Version: 3.13.0
- MultiMind SDK Version: 0.2.1
- CUDA Version: N/A
- GPU Model: N/A
Error Message
File "C:\Users\NIRAL\Desktop\Test\examples\compliance\healthcare\clinical_trial_compliance.py", line 17, in <module>
from multimind.compliance.model_training import (...)
File "C:\Users\NIRAL\Desktop\Test\venv\Lib\site-packages\multimind\compliance\advanced.py", line 10, in <module>
from cryptography.zkp import ZeroKnowledgeProof
ModuleNotFoundError: No module named 'cryptography.zkp'
Code Snippet
from multimind.compliance.model_training import (
train_compliance_model,
evaluate_model,
)
Additional Context
The file multimind/compliance/advanced.py contains imports such as:
from cryptography.zkp import ZeroKnowledgeProof
However, these submodules (zkp, dp, federated, etc.) are not part of the standard cryptography library. Either these are custom modules not published, or placeholder code not yet implemented.
This error occurs in multiple example scripts under the examples/compliance directory and blocks users from running and testing them.
Checklist
- I have searched the existing issues for similar bugs
- I have checked the documentation for relevant information
- I have provided a minimal reproducible example
- I have included all relevant environment details
- I have added appropriate labels to this issue