"python setup.py egg_info did not run successfully" error while running run.sh on first install in Windows

I am trying to run Galaxy on my local. After I clone the project I am running run.sh using git bash. But I get the following error:

Any help would be greatly appreciated. Thank you!

Hi @Minel_Aydin,
did you try to follow those instructions?: Running Galaxy on Windows - Galaxy Community Hub


1 Like


Thank you so much for your help. I followed all the instructions and built Ubuntu on my Windows. When I try to run


as step 3 says:

I get the error and I could not find a solution of that.

I need any help about it. Thank you so much

Hi @Minel_Aydin,
it seems that the problem is related to the python headers. I recommend you to reinstall python in order to install the developer headers and libraries. Here you can find some information about that 4. Using Python on Windows — Python 3.10.2 documentation.

Let me know if it solves the problem.


Hello @gallardoalba ,

Unfourtunately, it did not work. I installed miniconda also checked python version (which is 3.9.5 now), now I am getting this kind of error.

I read a solution like that about this:

When I go here: sudo nano /etc/dhcp/dhclient.conf
I am not able to edit this page and I can not find a way to edit here:

Maybe you know the solution about that. Thank you very much for your help

Hi! Sorry, I have not so much experience with Windows; perhaps it can be helpful: How to run 'sudo' command in windows - Stack Overflow.