6

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?

GaB
  • 1,076
  • 2
  • 16
  • 29
  • Please report this problem [here](https://github.com/spyder-ide/spyder-unittest). – Carlos Cordoba Feb 19 '20 at 16:08
  • hello Carlos, I actually do not know how to report it on that page. Where to go to report it? – GaB Feb 19 '20 at 16:25
  • Does this answer your question? [conda returns 'Solving environment: failed'](https://stackoverflow.com/questions/51266535/conda-returns-solving-environment-failed) – hamagust Feb 04 '22 at 16:48

2 Answers2

23

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

GaB
  • 1,076
  • 2
  • 16
  • 29
2

I solved a similar problem by doing the following:

conda update --all --yes
conda install -c spyder-ide spyder-unittest
Rosario Scavo
  • 466
  • 4
  • 7