# Errors Running dev.sh

**URL:** <https://discourse.mitmproxy.org/t/errors-running-dev-sh/248>\
**Category:** help\
**Created:** [December 4, 2016, 4:58pm UTC](https://discourse.mitmproxy.org/t/errors-running-dev-sh/248 "2016-12-04T16:58:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nooneischgl](https://avatars.discourse-cdn.com/v4/letter/n/97f17d/32.png) [@nooneischgl](https://discourse.mitmproxy.org/u/nooneischgl)\
**Post date:** [December 4, 2016, 4:58pm UTC](https://discourse.mitmproxy.org/t/errors-running-dev-sh/248/1 "2016-12-04T16:58:25Z")

</div>

I am getting the following error message when running [dev.sh](http://dev.sh)

Command “/home/chase/mitm/mitmproxy/venv3.5/bin/python3.5 -u -c “import setuptools, tokenize; **file** =’/tmp/pip-build-hz5dkw6k/cryptography/setup.py’;f=getattr(tokenize, ‘open’, open)( **file** );code=f.read().replace(’\r\n’, ‘\n’);f.close();exec(compile(code, **file** , ‘exec’))” install --record /tmp/pip-v57hqv3e-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/chase/mitm/mitmproxy/venv3.5/include/site/python3.5/cryptography” failed with error code 1 in /tmp/pip-build-hz5dkw6k/cryptography/

On Ubuntu16.04  
chase@chase-VirtualBox:~/mitm/mitmproxy$ uname -a  
Linux chase-VirtualBox 4.4.0-51-generic #72-Ubuntu SMP Thu Nov 24 18:29:54 UTC 2016 x86\_64 x86\_64 x86\_64 GNU/Linux

Any ideas on what could be wrong ?

---

<div class="post-metadata">

**Author:** ![mhils](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mitmproxy.org/mhils/32/7_2.png) [@mhils](https://discourse.mitmproxy.org/u/mhils)\
**Post date:** [December 8, 2016, 2:30pm UTC](https://discourse.mitmproxy.org/t/errors-running-dev-sh/248/2 "2016-12-08T14:30:55Z")

</div>

This fails on installing cryptography: [https://cryptography.io/](https://cryptography.io/) - if you can get that installed cleanly, installing mitmproxy should work.

---

<div class="post-metadata">

**Author:** ![kingbase](https://avatars.discourse-cdn.com/v4/letter/k/ed655f/32.png) [@kingbase](https://discourse.mitmproxy.org/u/kingbase)\
**Post date:** [December 9, 2016, 1:59am UTC](https://discourse.mitmproxy.org/t/errors-running-dev-sh/248/3 "2016-12-09T01:59:23Z")

</div>

Hi.

Maybe this will help you:

> <https://stackoverflow.com/questions/35144550/how-to-install-cryptography-on-ubuntu>

---

<div class="post-metadata">

**Author:** ![nooneischgl](https://avatars.discourse-cdn.com/v4/letter/n/97f17d/32.png) [@nooneischgl](https://discourse.mitmproxy.org/u/nooneischgl)\
**Post date:** [December 21, 2016, 10:33pm UTC](https://discourse.mitmproxy.org/t/errors-running-dev-sh/248/4 "2016-12-21T22:33:03Z")

</div>

> [@mhils](#):
>
> [https://cryptography.io/](https://cryptography.io/)

Thanks for the help. I was only installing cryptography for python2.  
#pip3 install cryptography  
This worked installing using pip3 (installing for python3.)
