linkedin / detext

DeText: A Deep Neural Text Understanding Framework for Ranking and Classification Tasks
BSD 2-Clause "Simplified" License
1.26k stars 134 forks source link

Dependency issue while testing #34

Closed glitch401 closed 4 years ago

glitch401 commented 4 years ago

Following the installation instructions, I'd setup a new venv and had successfully run the setup step python setup.py develop Unfortunately, while running a sample test using pytest, there seems to be ModuleNotFoundError for its dependency on tensorflow. While checking in the same venv, i get the exact version of Tf installed as the requirement in setup.py error trace image

Although model training toy example using bash run_detext.sh at test/resources seems to be working fine

StarWang commented 4 years ago

Hi @glitch401 , can you try running python -m pytest test as a workaround?

I'm looking into the reason why your executing pytest directly does not work.

StarWang commented 4 years ago

No response from user