python - Unresolved reference with scapy -
i working on network tool write in python using scapy.
ide using pycharm.
code works. if run it, works intended.
my problem pycharm giving me errors.
marks every use of ip
, tcp
, ether
, ... undefined reference ...
the relevant parts of code
#!/usr/bin/env python scapy.all import * ... ... syn = ip(src=src_ip, dst=dst_ip) / tcp(sport=src_port, dport=dst_port, seq=src_seq, flags="s") ...
i tried many things found using google, adding src folder source root, refreshed caches find , restarted pycharm dozens of times, nothing worked...
since code works it's minor problem, still i'd have ide working intended
i working under macos , use virtual environment
Comments
Post a Comment