0

I tried to install py2exe using conda install -c kieranharding py2exe and pyinstaller but it hangs in solving environment.

I changed conda config --add channels conda-forge and conda config --set channel_priority strict and flexible.

But just keeps hanging. I managed to install in another environment but I want py2exe to install to root env.

merv
  • 67,214
  • 13
  • 180
  • 245
scorp
  • 35
  • 1
  • 10

2 Answers2

0

That version is only available for Python 3.4. If you're trying to install this in base env, then that command is going to send Conda into trying to figure out how to reconfigure your entire installation to use 3.4, which is a very heavy task. Instead, create a new env and that shouldn't have the same trouble:

conda create -n -c kieranharding python=3.4 py2exe
merv
  • 67,214
  • 13
  • 180
  • 245
0

see my another answer

conda update -n base conda

conda create --name myenv
conda activate myenv

try it

Kevin Chou
  • 489
  • 5
  • 8