Installing the older 2 version

Will it still be possible to install the older version of this project until 3 is a bit more stable? This will be more Windows. I understand there is a the exe files, but they lack the key files I need to edit that pip install allow me to do. Unless it’s saving it some place? I would go with the newer version, but I made some changes to some of the key files for some improvements on speed and control.

Not a big fan of the type check code:) Seems a bit complex for no real gains really.
Right off the bat I am already getting on version 3.0.3:

File “c:\users\administrator\appdata\local\programs\python\python35\lib\runpy.
py”, line 170, in _run_module_as_main
main”, mod_spec)
File “c:\users\administrator\appdata\local\programs\python\python35\lib\runpy.
py”, line 85, in run_code
exec(code, run_globals)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35\Scripts\mi
tmdump.exe_main
.py", line 5, in
File “c:\users\administrator\appdata\local\programs\python\python35\lib\site-p
ackages\mitmproxy\tools\main.py”, line 17, in
from mitmproxy.tools import cmdline # noqa
File “c:\users\administrator\appdata\local\programs\python\python35\lib\site-p
ackages\mitmproxy\tools\cmdline.py”, line 4, in
from mitmproxy import options
File “c:\users\administrator\appdata\local\programs\python\python35\lib\site-p
ackages\mitmproxy\options.py”, line 3, in
from mitmproxy import optmanager
File “c:\users\administrator\appdata\local\programs\python\python35\lib\site-p
ackages\mitmproxy\optmanager.py”, line 14, in
from mitmproxy.utils import typecheck
File “c:\users\administrator\appdata\local\programs\python\python35\lib\site-p
ackages\mitmproxy\utils\typecheck.py”, line 8, in
def sequence_type(typeinfo: typing.Type[typing.List]) → Type:
AttributeError: module ‘typing’ has no attribute 'Type

Sure - we won’t provide support for old releases, but we won’t stop you from installing and using them.

Right off the bat I am already getting on version 3.0.3:

This looks like you have a typing.py file somewhere in your code? Python’s typing module definitely has a Type attribute: https://github.com/python/cpython/blob/3.5/Lib/typing.py#L2092

This is just running the raw line:
C:\Users\Administrator\AppData\Local/Programs/Python/Python35/Scripts/mitmdump
Possible something else with python might be causing this? It’s a fresh install windows and a fresh copy from pip install.

I understand no support, but is there a way to install it from github? I am not 100% sure how to go about installing the older version now.

This most definitely looks like you have a borked Python installation. You can install old releases from pip like this: pip install mitmproxy~=2.0.0

Thanks, I will reinstall python and see if that will fix anything. I just created the VM today, so everything should’ve been a fresh copy.