在OS X 10.11.6上运行Princeton IOT Inspector时出错

时间:2019-05-11 17:12:51

标签: python xcode8 libsystem

[20346]加载Python lib'/var/folders/nj/nphdkhyj6s1dttb0pd9zb2wc0000gn/T/_MEIDiKCW5/.Python'时出错:dlopen:dlopen(/ var / folders / nj / nphdkhyj6s1dttb0Pd9zC2W :找不到符号:_clock_getres   引用自:/var/folders/nj/nphdkhyj6s1dttb0pd9zb2wc0000gn/T/_MEIDiKCW5/.Python(它是为Mac OS X 10.13构建的)   预期位于:/usr/lib/libSystem.B.dylib  在/var/folders/nj/nphdkhyj6s1dttb0pd9zb2wc0000gn/T/_MEIDiKCW5/.Python

我正在使用XCode 8.21和Anaconda Python 3.6运行OS X 10.11.6。 我正在尝试修改/安装IOT检查器以在10.11.6上运行。

https://github.com/noise-lab/iot-inspector-client/blob/master/linux-setup.sh

这里是依赖项:

# Install all the Python dependencies.
sudo pip2 install Flask
sudo pip2 install flask-cors
sudo pip2 install requests
sudo pip2 install netaddr
sudo pip2 install scapy-ssl_tls
sudo pip2 install scapy-http
sudo pip3 install netdisco

似乎对10.12 libsys共享库有依赖性:

Symbol not found: _clock_getres Referenced from: /var/folders/nj/nphdkhyj6s1dttb0pd9zb2wc0000gn/T/_MEIDiKCW5/.Python (which was built for Mac OS X 10.12) Expected in: /usr/lib/libSystem.B.dylib

0 个答案:

没有答案