# Error running mitmproxy after install

**URL:** <https://discourse.mitmproxy.org/t/error-running-mitmproxy-after-install/284>\
**Category:** help\
**Created:** [January 3, 2017, 6:58pm UTC](https://discourse.mitmproxy.org/t/error-running-mitmproxy-after-install/284 "2017-01-03T18:58:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![markab](https://avatars.discourse-cdn.com/v4/letter/m/919ad9/32.png) [@markab](https://discourse.mitmproxy.org/u/markab)\
**Post date:** [January 3, 2017, 6:58pm UTC](https://discourse.mitmproxy.org/t/error-running-mitmproxy-after-install/284/1 "2017-01-03T18:58:18Z")

</div>

hi pals!  
I’m having the following error message after installing mitmproxy. Installs works fine, but when I try to run for the very first time, Iget this message

root@debian:~# /root/.local/bin/mitmproxy --host  
Traceback (most recent call last):  
File “/root/.local/bin/mitmproxy”, line 11, in   
sys.exit(mitmproxy())  
File “/root/.local/lib/python3.5/site-packages/mitmproxy/tools/main.py”, line 67, in mitmproxy  
console\_options = options.Options()  
File “/root/.local/lib/python3.5/site-packages/mitmproxy/options.py”, line 123, in **init**  
self.rfile = rfile  
File “/root/.local/lib/python3.5/site-packages/mitmproxy/optmanager.py”, line 111, in **setattr**  
self.\_typecheck(attr, value)  
File “/root/.local/lib/python3.5/site-packages/mitmproxy/optmanager.py”, line 122, in \_typecheck  
typecheck.check\_type(attr, value, expected\_type)  
File “/root/.local/lib/python3.5/site-packages/mitmproxy/utils/typecheck.py”, line 29, in check\_type  
types = typeinfo. **union\_params**  
AttributeError: ‘\_Union’ object has no attribute ‘ **union\_params** ’

Any Idea what could be??? My SO is linux debian jessie  
Thanks  
Mariano

---

<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:** [January 4, 2017, 4:20pm UTC](https://discourse.mitmproxy.org/t/error-running-mitmproxy-after-install/284/2 "2017-01-04T16:20:26Z")

</div>

What’s your output for `mitmproxy --sysinfo`? This looks like you are not using 1.0. **2**
