#69810 closed defect (duplicate)
trying to run py39-mitmproxy
Reported by: | boby51 | Owned by: | petrrr |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | py39-mitmproxy |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Hi, I get the following when /opt/local/bin/mitmdump-3.9
/opt/local/bin/mitmproxy-3.9 /opt/local/bin/mitmweb-3.9
Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 600, in _build_master ws.require(__requires__) File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 937, in require needed = self.resolve(parse_requirements(requirements)) File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 798, in resolve dist = self._resolve_dist( File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 844, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (cryptography 42.0.5 (/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages), Requirement.parse('cryptography!=40.0.0,!=40.0.1,<42,>=38.0.0'), {'pyOpenSSL'}) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/local/bin/mitmweb-3.9", line 33, in <module> sys.exit(load_entry_point('mitmproxy==7.0.4', 'console_scripts', 'mitmweb')()) File "/opt/local/bin/mitmweb-3.9", line 25, in importlib_load_entry_point return next(matches).load() File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/importlib/metadata.py", line 86, in load module = import_module(match.group('module')) File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1030, in _gcd_import File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 680, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 850, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/mitmproxy/tools/main.py", line 8, in <module> from mitmproxy import exceptions, master File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/mitmproxy/master.py", line 10, in <module> from mitmproxy import eventsequence File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/mitmproxy/eventsequence.py", line 8, in <module> from mitmproxy.proxy import layers File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/mitmproxy/proxy/layers/__init__.py", line 1, in <module> from . import modes File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/mitmproxy/proxy/layers/modes.py", line 9, in <module> from mitmproxy.proxy.layers import tls File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/mitmproxy/proxy/layers/tls.py", line 8, in <module> from mitmproxy.net import tls as net_tls File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/mitmproxy/net/tls.py", line 18, in <module> from mitmproxy.contrib.kaitaistruct import tls_client_hello File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/mitmproxy/contrib/kaitaistruct/tls_client_hello.py", line 7, in <module> from pkg_resources import parse_version File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3292, in <module> def _initialize_master_working_set(): File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3266, in _call_aside f(*args, **kwargs) File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3304, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 602, in _build_master return cls._build_from_requirements(__requires__) File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 615, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 798, in resolve dist = self._resolve_dist( File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 844, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (cryptography 42.0.5 (/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages), Requirement.parse('cryptography!=40.0.0,!=40.0.1,<42,>=38.0.0'), {'pyOpenSSL'})
Please advise... Thanks
Attachments (1)
Change History (5)
comment:1 Changed 7 months ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Owner: | set to petrrr |
Status: | new → assigned |
comment:2 Changed 7 months ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
comment:3 Changed 7 months ago by boby51
Hi, am still unable to fix this problem as new to Ports and need some guidance. Thanks Robert
Changed 7 months ago by boby51
Attachment: | Screen Shot 2024-04-26 at 11.09.57 am.jpg added |
---|
Portfile
Note: See
TracTickets for help on using
tickets.
Duplicate of #69746.