# Problem with a package instalation

**URL:** <https://help.galaxyproject.org/t/problem-with-a-package-instalation/106>\
**Category:** Uncategorized\
**Tags:** devops-administration\
**Created:** [December 4, 2018, 10:04pm UTC](https://help.galaxyproject.org/t/problem-with-a-package-instalation/106 "2018-12-04T22:04:02Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![rubens](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/rubens/32/73_2.png) [@rubens](https://help.galaxyproject.org/u/rubens)\
**Post date:** [December 4, 2018, 10:04pm UTC](https://help.galaxyproject.org/t/problem-with-a-package-instalation/106/1 "2018-12-04T22:04:02Z")

</div>

Hi,

I’m trying to install Galaxy and in the first time I run sh run.sh I have this message:

“Cannot uninstall ‘certifi’. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.”

So, it doesn’t run.

I’ll appreciate any help.

Best regards,  
Rubens.

---

<div class="post-metadata">

**Author:** ![jennaj](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/jennaj/32/27_2.png) [@jennaj](https://help.galaxyproject.org/u/jennaj)\
**Post date:** [December 11, 2018, 3:59pm UTC](https://help.galaxyproject.org/t/problem-with-a-package-instalation/106/2 "2018-12-11T15:59:23Z")

</div>

If still a problem…

- Are you starting up Galaxy inside a `virtualenv` or ??
- What is your source? A master release? Dev release? Docker image?

If resolved, what worked to resolve the install?

Help docs:

- [https://docs.galaxyproject.org/en/master/releases/index.html](https://docs.galaxyproject.org/en/master/releases/index.html)
- [https://docs.galaxyproject.org/en/master/admin/index.html](https://docs.galaxyproject.org/en/master/admin/index.html)

---

<div class="post-metadata">

**Author:** ![SamGG](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/samgg/32/49_2.png) [@SamGG](https://help.galaxyproject.org/u/SamGG)\
**Post date:** [December 12, 2018, 3:04pm UTC](https://help.galaxyproject.org/t/problem-with-a-package-instalation/106/3 "2018-12-12T15:04:16Z")

</div>

> [@rubens](#):
>
> Cannot uninstall ‘certifi

Hi,  
I installed Galaxy recently on top of Debian. No such an error. What is you Linux OS?  
Did you try the to install certifi on you own before starting? May be this could help

> **["Cannot uninstall 'certifi'" on upgrade attempt](https://community.home-assistant.io/t/cannot-uninstall-certifi-on-upgrade-attempt/55570)**
>
> I’ve been running 69.1 for a while and I noticed that 70.1 is out so I thought I’d upgrade. I logged into my orange pi machine and tried to issue pip3 install --upgrade homeassistant It gives me this error message every time and I’m not sure...

Best.

---

<div class="post-metadata">

**Author:** ![rubens](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/rubens/32/73_2.png) [@rubens](https://help.galaxyproject.org/u/rubens)\
**Post date:** [December 12, 2018, 4:32pm UTC](https://help.galaxyproject.org/t/problem-with-a-package-instalation/106/4 "2018-12-12T16:32:08Z")

</div>

Hi!

Thank you Jenna and Sam. I deleted and start all over again and it works. Now it is running.

Only thing is that I need to run sh with sudo command, but it is not a big deal.

Now my problems are others, with some tools… heheh

Cheers,  
Rubens.

---

<div class="post-metadata">

**Author:** ![mvdbeek](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/mvdbeek/32/110_2.png) [@mvdbeek](https://help.galaxyproject.org/u/mvdbeek)\
**Post date:** [December 13, 2018, 10:59am UTC](https://help.galaxyproject.org/t/problem-with-a-package-instalation/106/5 "2018-12-13T10:59:18Z")

</div>

Please never run run.sh as sudo, among other things this is a big security issue.  
There is clearly something wrong with your setup.  
Basic instructions are at [https://galaxyproject.org/admin/get-galaxy/](https://galaxyproject.org/admin/get-galaxy/), if this doesn’t work feel free to post the complete error message here.

---

<div class="post-metadata">

**Author:** ![SamGG](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/samgg/32/49_2.png) [@SamGG](https://help.galaxyproject.org/u/SamGG)\
**Post date:** [December 13, 2018, 10:37pm UTC](https://help.galaxyproject.org/t/problem-with-a-package-instalation/106/6 "2018-12-13T22:37:32Z")

</div>

Hi Marius,  
Having recently installed a server from scratch, may I suggest a few improvements in the documentation you pointed.  
a) [https://galaxyproject.org/admin/get-galaxy/#start-it-up](https://galaxyproject.org/admin/get-galaxy/#start-it-up) should state about a default user to install and launch the run.sh script. Maybe this information is in another part of the doc, but as it is the entry point I think this could be useful for newbie as me.  
b) [https://galaxyproject.org/admin/get-galaxy/#become-an-admin](https://galaxyproject.org/admin/get-galaxy/#become-an-admin) should state how to become a registered user. It will sound very obvious to you and any other Galaxy users, but being more a sys admin than a end user, I was looking for a command to create users before using Galaxy (as in Linux, mysql, postgresql… installations).  
My two cents, indirectly related to the question of the OP.

---

<div class="post-metadata">

**Author:** ![rubens](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/rubens/32/73_2.png) [@rubens](https://help.galaxyproject.org/u/rubens)\
**Post date:** [December 14, 2018, 2:13pm UTC](https://help.galaxyproject.org/t/problem-with-a-package-instalation/106/7 "2018-12-14T14:13:00Z")

</div>

Hi,

I follow exact these steps. Actually, I’ve made a full reinstall of my machine, from zero.

This time, after run git… galaxy was created in root, not under my user in home. Is that correct? If not, what should I do?

Again, it only runs with sudo. Without I receive this:  
OSError: [Errno 13] Permission denied: ‘/galaxy/static/plugins/interactive\_environments/neo/static’

Thank you for any help.  
Cheers,  
Rubens.

---

<div class="post-metadata">

**Author:** ![jennaj](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/jennaj/32/27_2.png) [@jennaj](https://help.galaxyproject.org/u/jennaj)\
**Post date:** [December 14, 2018, 5:40pm UTC](https://help.galaxyproject.org/t/problem-with-a-package-instalation/106/8 "2018-12-14T17:40:33Z")

</div>

From the path in your error, it doesn’t look as if you are cloning the Galaxy repository into your user home directory.

**Important:** Avoid moving a Galaxy install after running `sh run.sh` the first time. Start over instead by cloning Galaxy into the directory where you want it to be, or other problems will come up.

There are alternatives/choices for the exact install “how-to”, please see: [https://docs.galaxyproject.org/en/master/admin/framework\_dependencies.html](https://docs.galaxyproject.org/en/master/admin/framework_dependencies.html)

---

<div class="post-metadata">

**Author:** ![rubens](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/rubens/32/73_2.png) [@rubens](https://help.galaxyproject.org/u/rubens)\
**Post date:** [December 16, 2018, 12:13pm UTC](https://help.galaxyproject.org/t/problem-with-a-package-instalation/106/9 "2018-12-16T12:13:45Z")

</div>

Well, I really don’t know what’s going on. I did exactly what is in the tutorials.

Ok, I will not move. Can I delete it?

I’ll try again to see if it clone to my user home directory.

But I still didn’t find the information about the need of sudo.

Thanks!  
Rubens.

---

<div class="post-metadata">

**Author:** ![rubens](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/rubens/32/73_2.png) [@rubens](https://help.galaxyproject.org/u/rubens)\
**Post date:** [December 16, 2018, 2:04pm UTC](https://help.galaxyproject.org/t/problem-with-a-package-instalation/106/10 "2018-12-16T14:04:36Z")

</div>

Well, I try again and now everything works. Installed in the right directory and running without sudo. I have no idea what’s going on.

Thank you!

---

<div class="post-metadata">

**Author:** ![mvdbeek](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/mvdbeek/32/110_2.png) [@mvdbeek](https://help.galaxyproject.org/u/mvdbeek)\
**Post date:** [December 17, 2018, 1:00pm UTC](https://help.galaxyproject.org/t/problem-with-a-package-instalation/106/11 "2018-12-17T13:00:44Z")

</div>

> [@SamGG](#):
>
> a) [https://galaxyproject.org/admin/get-galaxy/#start-it-up](https://galaxyproject.org/admin/get-galaxy/#start-it-up) should state about a default user to install and launch the run.sh script. Maybe this information is in another part of the doc, but as it is the entry point I think this could be useful for newbie as me.

I’m not sure exactly what information is missing there, but you can click at the top of the site on “edit” and propose changes, this would be much appreciated.
