# Api Connection problems + Pywheel not installing + more

**URL:** https://community.openconversational.ai/t/api-connection-problems-pywheel-not-installing-more/11715
**Category:** This category is being retired - Support
**Created:** [January 8, 2022, 7:32am UTC](https://community.openconversational.ai/t/api-connection-problems-pywheel-not-installing-more/11715 "2022-01-08T07:32:50Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![thehamzan6](https://community.openconversational.ai/letter_avatar_proxy/v4/letter/t/f14d63/32.png) [@thehamzan6](https://community.openconversational.ai/u/thehamzan6)
#### Post date: [January 8, 2022, 7:32am UTC](https://community.openconversational.ai/t/api-connection-problems-pywheel-not-installing-more/11715/1 "2022-01-08T07:32:50Z")

</div>

Hi everyone, I currently have a raspberry pi 4B running Rasbian buster

I cloned the mycroft-core git repo, ran the installation, chose stable and installed mimic locally using the install script.

Pip always complains that it cannot install pywheel in the venv that mycroft is in, and most of the time it is timing out on connections to api.mycroft.ai

Additionally, running ./start-mycroft.sh debug, after a restart, running the script for the first time, the microphone is not used. if I type :exit or press CTRL+C, and run it again it works.

If I close the script and open it several times, it bugs out and does not load the skills. It loads the precise engine wake word, but nothing else. If I speak to it, it either does not respond or tells me please wait as I boot up and never finishes unless I reboot.

What’s going on here?

 ![mycroft problem](https://community.openconversational.ai/uploads/default/original/2X/5/51d292af0a9c0c09621d43e6ba7bffaaf02e3482.png)

---

<div class="post-metadata">

### Author: ![baconator](https://community.openconversational.ai/letter_avatar_proxy/v4/letter/b/d07c76/32.png) [@baconator](https://community.openconversational.ai/u/baconator)
#### Post date: [January 8, 2022, 6:54pm UTC](https://community.openconversational.ai/t/api-connection-problems-pywheel-not-installing-more/11715/2 "2022-01-08T18:54:37Z")

</div>

> [@thehamzan6](#):
>
> timing out on connections to api.mycroft.ai

That seems problematic. Any idea why?

---

<div class="post-metadata">

### Author: ![thehamzan6](https://community.openconversational.ai/letter_avatar_proxy/v4/letter/t/f14d63/32.png) [@thehamzan6](https://community.openconversational.ai/u/thehamzan6)
#### Post date: [January 8, 2022, 10:09pm UTC](https://community.openconversational.ai/t/api-connection-problems-pywheel-not-installing-more/11715/3 "2022-01-08T22:09:12Z")

</div>

None. I checked my connection, it was working fine.

---

<div class="post-metadata">

### Author: ![Mandrake](https://community.openconversational.ai/user_avatar/community.openconversational.ai/mandrake/32/3524_2.png) [@Mandrake](https://community.openconversational.ai/u/Mandrake)
#### Post date: [January 15, 2022, 7:51am UTC](https://community.openconversational.ai/t/api-connection-problems-pywheel-not-installing-more/11715/4 "2022-01-15T07:51:30Z")

</div>

It’s a weird timing issue using Raspian vs. Rasp Pi OS. I don’t know why. Put a pause/wait for 10 seconds in the startup. I don’t remember exactly how many steps in, I think it was just after the first call.  
Find this in “start-mycroft.sh” and insert the sleep 10 line:  
function launch-all() {  
echo “Starting all mycroft-core services”  
launch-background bus  
launch-background skills  
sleep 10  
launch-background audio  
launch-background voice  
launch-background enclosure  
}  
then do a “./stop-mycroft.sh”  
then do “./start-mycroft.sh all”  
or, try restarting your Pi to test it and see if it works properly on reboot as well.  
Hopefully that takes care of it for you. If not, I don’t know what else it would be. That’s what worked for me, but I just updated my OS and don’t have the problem at this time.  
All I did was start putting a sleep in between states one increment at a time until it worked. That’s where it happened to work for me. Good luck!  
Take care

---

<div class="post-metadata">

### Author: ![thehamzan6](https://community.openconversational.ai/letter_avatar_proxy/v4/letter/t/f14d63/32.png) [@thehamzan6](https://community.openconversational.ai/u/thehamzan6)
#### Post date: [January 15, 2022, 11:15am UTC](https://community.openconversational.ai/t/api-connection-problems-pywheel-not-installing-more/11715/5 "2022-01-15T11:15:13Z")

</div>

Hi Mandrake, thanks for the reply. I tried this and it did indeed help. Also, according to what I learned, if I want to restart mycroft, I should use:

```auto
./start-mycroft.sh debug restart

```

Also helped me with the weird behavior.

---

<div class="post-metadata">

### Author: ![Mandrake](https://community.openconversational.ai/user_avatar/community.openconversational.ai/mandrake/32/3524_2.png) [@Mandrake](https://community.openconversational.ai/u/Mandrake)
#### Post date: [January 15, 2022, 5:04pm UTC](https://community.openconversational.ai/t/api-connection-problems-pywheel-not-installing-more/11715/6 "2022-01-15T17:04:11Z")

</div>

Awesome! So glad it helped out. Also glad you found the one-liner for restart.

Have a great weekend 🙂
