Search code examples
tabsspyderpython-unittest

Errors such as: 'Solving environment: failed with initial frozen solve. Retrying with flexible solve' & 'unittest' tab


I am working with spyder - python. I want to test my codes. I have followed the pip install spyder-unittest and pip install pytest. I have restarted the kernel and restarted my MAC as well. Yet, Unit Testing tab does not appear. Even when I drop down Run cannot find the Run Unit test. Does someone know how to do this?


Solution

  • So, I solved the issue by running the command:

    conda config --set channel_priority false.

    And then proceeded with the unittest download with the command run:

    conda install -c spyder-ide spyder-unittest.

    The first command run conda config --set channel_priority false may solve other issues such as:

    Solving environment: failed with initial frozen solve. Retrying with flexible solve