rajatsen91 / CCIT

Classifier Conditional Independence Test: A CI test that uses a binary classifier (XGBoost) for CI testing
45 stars 10 forks source link

Import Error #2

Closed SamBurkart closed 2 years ago

SamBurkart commented 6 years ago

Import of CCIT in Jupyter (after installing with pip install ccit) throws an error:

ModuleNotFoundError: No module named 'DataGen'

karthikeyansh commented 6 years ago

Thanks for reporting this. We will get back to you soon.

Does it work with just an editor and running it in native python ?

On Jan 2, 2018 1:29 PM, "Samuel Burkart" notifications@github.com wrote:

Import of CCIT in Jupyter (after installing with pip install ccit) throws an error:

ModuleNotFoundError: No module named 'DataGen'

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rajatsen91/CCIT/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/AJswiXTuUNpOzTt_ZeePfZV7RtLT5Hbqks5tGnVwgaJpZM4RQ7WU .

rajatsen91 commented 6 years ago

I just installed CCIT on a fresh virtual environment in order to check the working. Here are the steps I followed:

1.Install virtualenv (if it is not installed already)

  1. virtualenv ~/testing
  2. source ~/testing/bin/activate
  3. pip install CCIT

After this I opened python, and import seems to work fine. I tested it in jupyter notebook as well. Please let me know if the issue is only in native python or in jupyter notebook? Also can you please try : from CCIT import *