# Python, why it must be you Python?

**URL:** https://community.openconversational.ai/t/python-why-it-must-be-you-python/10892
**Category:** Archive - Former Random Mycroft Category
**Created:** [June 12, 2021, 8:59am UTC](https://community.openconversational.ai/t/python-why-it-must-be-you-python/10892 "2021-06-12T08:59:12Z")
**Posts on this page:** 3
**Page:** 2

<div class="post-metadata">

### Author: ![mcdonc](https://community.openconversational.ai/user_avatar/community.openconversational.ai/mcdonc/32/3133_2.png) [@mcdonc](https://community.openconversational.ai/u/mcdonc)
#### Post date: [June 14, 2021, 11:02pm UTC](https://community.openconversational.ai/t/python-why-it-must-be-you-python/10892/21 "2021-06-14T23:02:19Z")

</div>

Apologies, I’m just not sure how you could get yourself into a state where you have to manually activate the venv? The docs at [Linux - Mycroft AI](https://mycroft-ai.gitbook.io/docs/using-mycroft-ai/get-mycroft/linux) basically just say “run dev\_setup.sh” and this is where padome says his install is failing. Doesn’t “dev\_setup.sh” cause all the requisite apt packages to be installed? Even if he wasn’t installing into the venv, I’m not sure there would be any way that using _pip_ could rectify the problem; AFAICT the only thing that could rectify things is getting the right system libs installed. I’m confused about why the venv matters (but I’m often confused).

---

<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: [June 14, 2021, 11:03pm UTC](https://community.openconversational.ai/t/python-why-it-must-be-you-python/10892/22 "2021-06-14T23:03:38Z")

</div>

Well now you know at least one way.

---

<div class="post-metadata">

### Author: ![ChanceNCounter](https://community.openconversational.ai/user_avatar/community.openconversational.ai/chancencounter/32/1965_2.png) [@ChanceNCounter](https://community.openconversational.ai/u/ChanceNCounter)
#### Post date: [June 15, 2021, 9:57pm UTC](https://community.openconversational.ai/t/python-why-it-must-be-you-python/10892/23 "2021-06-15T21:57:04Z")

</div>

`dev_setup.sh` seems to have gotten the package and its venv _part_ of the way through setup. How it got there and where it quit, I dunno, because it would’ve been the first time through, before this thread was posted.

Users don’t usually need to install the pypi-hosted `cffi` manually because it’s almost always a dep of a dep, and it’s sometimes available systemwide. However, by whatever means, dependency installation in this case got far enough that it failed to install `cffi` but seems to have believed it had the dependent. I have nothing further to offer about the how.

What took me forever to notice is that OP made a typo the first time they tried to download `cffi` using pip.

My last guess is that the dependent _didn’t_ try to install `cffi`, assuming it would be available systemwide, and that OP would’ve seen the same improvement if they had `pip install`ed it outside the venv.

* * *

One way or another, if you’re in a state where you have to manually install a dep, and you don’t mean to manually install it systemwide, you’ll have to manually activate the venv before running pip.

[Previous page](https://community.openconversational.ai/t/python-why-it-must-be-you-python/10892.md?page=1)
