{"action":"created","issue":{"url":"https://api.github.com/repos/ftao/vpn-deploy-playbook/issues/40","labels_url":"https://api.github.com/repos/ftao/vpn-deploy-playbook/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/ftao/vpn-deploy-playbook/issues/40/comments","events_url":"https://api.github.com/repos/ftao/vpn-deploy-playbook/issues/40/events","html_url":"https://github.com/ftao/vpn-deploy-playbook/issues/40","id":54154711,"number":40,"title":"报错：'module' object has no attribute 'HAVE_DECL_MPZ_POWM_SEC'","user":{"login":"lkqdmsk","id":7851023,"avatar_url":"https://avatars.githubusercontent.com/u/7851023?v=3","gravatar_id":"","url":"https://api.github.com/users/lkqdmsk","html_url":"https://github.com/lkqdmsk","followers_url":"https://api.github.com/users/lkqdmsk/followers","following_url":"https://api.github.com/users/lkqdmsk/following{/other_user}","gists_url":"https://api.github.com/users/lkqdmsk/gists{/gist_id}","starred_url":"https://api.github.com/users/lkqdmsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lkqdmsk/subscriptions","organizations_url":"https://api.github.com/users/lkqdmsk/orgs","repos_url":"https://api.github.com/users/lkqdmsk/repos","events_url":"https://api.github.com/users/lkqdmsk/events{/privacy}","received_events_url":"https://api.github.com/users/lkqdmsk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-13T06:15:34Z","updated_at":"2015-01-13T07:16:38Z","closed_at":null,"body":"按照wiki上面配置，第三步执行时报错，如下\r\n[root@lkqdmsk vpn-deploy-playbook]# ansible-playbook  l2tp.yml  -l testvm\r\nTraceback (most recent call last):\r\n  File \"/usr/bin/ansible-playbook\", line 36, in <module>\r\n    import ansible.playbook\r\n  File \"/usr/lib/python2.6/site-packages/ansible/playbook/__init__.py\", line 20, in <module>\r\n    import ansible.runner\r\n  File \"/usr/lib/python2.6/site-packages/ansible/runner/__init__.py\", line 62, in <module>\r\n    from Crypto.Random import atfork\r\n  File \"/usr/lib64/python2.6/site-packages/Crypto/Random/__init__.py\", line 29, in <module>\r\n    from Crypto.Random import _UserFriendlyRNG\r\n  File \"/usr/lib64/python2.6/site-packages/Crypto/Random/_UserFriendlyRNG.py\", line 38, in <module>\r\n    from Crypto.Random.Fortuna import FortunaAccumulator\r\n  File \"/usr/lib64/python2.6/site-packages/Crypto/Random/Fortuna/FortunaAccumulator.py\", line 39, in <module>\r\n    import FortunaGenerator\r\n  File \"/usr/lib64/python2.6/site-packages/Crypto/Random/Fortuna/FortunaGenerator.py\", line 34, in <module>\r\n    from Crypto.Util.number import ceil_shift, exact_log2, exact_div\r\n  File \"/usr/lib64/python2.6/site-packages/Crypto/Util/number.py\", line 56, in <module>\r\n    if _fastmath is not None and not _fastmath.HAVE_DECL_MPZ_POWM_SEC:\r\nAttributeError: 'module' object has no attribute 'HAVE_DECL_MPZ_POWM_SEC'\r\n\r\n坏境：VPC，centos6.4"},"comment":{"url":"https://api.github.com/repos/ftao/vpn-deploy-playbook/issues/comments/69704423","html_url":"https://github.com/ftao/vpn-deploy-playbook/issues/40#issuecomment-69704423","issue_url":"https://api.github.com/repos/ftao/vpn-deploy-playbook/issues/40","id":69704423,"user":{"login":"ftao","id":544911,"avatar_url":"https://avatars.githubusercontent.com/u/544911?v=3","gravatar_id":"","url":"https://api.github.com/users/ftao","html_url":"https://github.com/ftao","followers_url":"https://api.github.com/users/ftao/followers","following_url":"https://api.github.com/users/ftao/following{/other_user}","gists_url":"https://api.github.com/users/ftao/gists{/gist_id}","starred_url":"https://api.github.com/users/ftao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ftao/subscriptions","organizations_url":"https://api.github.com/users/ftao/orgs","repos_url":"https://api.github.com/users/ftao/repos","events_url":"https://api.github.com/users/ftao/events{/privacy}","received_events_url":"https://api.github.com/users/ftao/received_events","type":"User","site_admin":false},"created_at":"2015-01-13T07:16:38Z","updated_at":"2015-01-13T07:16:38Z","body":"从未在  centos 测试过。 \r\n你这感觉是 ansible 没有装好。 \r\n请参考 下面， 重新安装 ansible 试试 \r\nhttp://docs.ansible.com/intro_installation.html#latest-release-via-yum\r\n\r\n\r\n"}}