Limmen / gym-idsgame

An Abstract Cyber Security Simulation and Markov Game for OpenAI Gym
MIT License
72 stars 18 forks source link

Question about settings #9

Closed bbokka123 closed 1 year ago

bbokka123 commented 1 year ago

Hi, Dr. Hammar, after i install packages by "pip3 install -e ." in my conda virtual environments, "pytest" does not works because of import error. Running "pytest", it checks my host installed package not the virtual environment setting. For example package gym does not installed on my local python but in my virtual environment, but pytest gives me error that gym is not installed. of course i do this after conda activate my virtal environment what is my problem...

Thanks.

bbokka123 commented 1 year ago

i solved it by install "pytest-virtualenv"