Open wangxiaojianim opened 7 years ago
Hi @wangxiaojianim, Pyretic is deprecated and we recommend the Frenetic controller. https://github.com/frenetic-lang/frenetic
If you must persist with Pyretic, you could try installing only the dependencies other than ipdb (AFAICT ipdb is optional for the main controller functionality).
when I run this command, there are some questions like this, what should I do? root@sdnhubvm:/home/ubuntu/pyretic# sudo pip install networkx bitarray netaddr ipaddr pytest ipdb sphinx pyparsing==1.5.7 yappi Requirement already satisfied (use --upgrade to upgrade): networkx in /usr/local/lib/python2.7/dist-packages/networkx-1.8.1-py2.7.egg Requirement already satisfied (use --upgrade to upgrade): bitarray in /usr/local/lib/python2.7/dist-packages/bitarray-0.8.1-py2.7-linux-x86_64.egg Requirement already satisfied (use --upgrade to upgrade): netaddr in /usr/lib/python2.7/dist-packages Requirement already satisfied (use --upgrade to upgrade): ipaddr in /usr/local/lib/python2.7/dist-packages/ipaddr-2.1.11-py2.7.egg Downloading/unpacking pytest Downloading pytest-3.0.7-py2.py3-none-any.whl (172kB): 172kB downloaded Downloading/unpacking ipdb Downloading ipdb-0.10.3.tar.gz Running setup.py (path:/tmp/pip_build_root/ipdb/setup.py) egg_info for package ipdb error in ipdb setup command: Invalid environment marker: python_version >= "3.3" Complete output from command python setup.py egg_info: error in ipdb setup command: Invalid environment marker: python_version >= "3.3"
Cleaning up... Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/ipdb Storing debug log for failure in /root/.pip/pip.log