What's the .egg folder in pycharm?

Question:

I am using pycharm/python 3.8. I am working on a branch let’s call it: Working_branch1. I have some tests that I need to run, usually when I run them they test the version of my code: code.py located directory_namecode.py. However since few days, every time I run these tests they are testing instead another version of my code of the same folder located in Libsite-packagesdirectory_name-py3.8.eggcode.py.
The tests are failing since it’s an older version of the code.

Can someone please let me know what’s this .egg directory and how can I force my tests to run on my actual code version instead ?

Asked By: the phoenix

||

Answers:

site-packages is where Python stores installed packages for a given environment. The tests are running on the version installed in your environment, which means you probably installed it at some point. Your options are either to uninstall it, or to reinstall the updated version.

Answered By: Josh Friedlander
Categories: questions Tags: , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.