Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac os installing error #224

Open
ghost opened this issue Oct 28, 2016 · 0 comments
Open

Mac os installing error #224

ghost opened this issue Oct 28, 2016 · 0 comments

Comments

@ghost
Copy link

ghost commented Oct 28, 2016

I installing:
sudo python setup.py install
But I have errors:

running install
Checking .pth file support in /Library/Python/2.7/site-packages/
/usr/bin/python -E -c pass
TEST PASSED: /Library/Python/2.7/site-packages/ appears to support .pth files
running bdist_egg
running egg_info
writing requirements to spockbot.egg-info/requires.txt
writing spockbot.egg-info/PKG-INFO
writing top-level names to spockbot.egg-info/top_level.txt
writing dependency_links to spockbot.egg-info/dependency_links.txt
reading manifest file 'spockbot.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'spockbot.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.10-intel/egg
running install_lib
running build_py
creating build/bdist.macosx-10.10-intel/egg
creating build/bdist.macosx-10.10-intel/egg/spockbot
copying build/lib/spockbot/__init__.py -> build/bdist.macosx-10.10-intel/egg/spockbot
creating build/bdist.macosx-10.10-intel/egg/spockbot/mcdata
copying build/lib/spockbot/mcdata/__init__.py -> build/bdist.macosx-10.10-intel/egg/spockbot/mcdata
copying build/lib/spockbot/mcdata/biomes.py -> build/bdist.macosx-10.10-intel/egg/spockbot/mcdata
copying build/lib/spockbot/mcdata/blocks.py -> build/bdist.macosx-10.10-intel/egg/spockbot/mcdata
copying build/lib/spockbot/mcdata/constants.py -> build/bdist.macosx-10.10-intel/egg/spockbot/mcdata
copying build/lib/spockbot/mcdata/items.py -> build/bdist.macosx-10.10-intel/egg/spockbot/mcdata
copying build/lib/spockbot/mcdata/materials.py -> build/bdist.macosx-10.10-intel/egg/spockbot/mcdata
copying build/lib/spockbot/mcdata/recipes.py -> build/bdist.macosx-10.10-intel/egg/spockbot/mcdata
copying build/lib/spockbot/mcdata/utils.py -> build/bdist.macosx-10.10-intel/egg/spockbot/mcdata
copying build/lib/spockbot/mcdata/windows.py -> build/bdist.macosx-10.10-intel/egg/spockbot/mcdata
creating build/bdist.macosx-10.10-intel/egg/spockbot/mcp
copying build/lib/spockbot/mcp/__init__.py -> build/bdist.macosx-10.10-intel/egg/spockbot/mcp
copying build/lib/spockbot/mcp/bbuff.py -> build/bdist.macosx-10.10-intel/egg/spockbot/mcp
copying build/lib/spockbot/mcp/datautils.py -> build/bdist.macosx-10.10-intel/egg/spockbot/mcp
copying build/lib/spockbot/mcp/extensions.py -> build/bdist.macosx-10.10-intel/egg/spockbot/mcp
copying build/lib/spockbot/mcp/mcpacket.py -> build/bdist.macosx-10.10-intel/egg/spockbot/mcp
copying build/lib/spockbot/mcp/nbt.py -> build/bdist.macosx-10.10-intel/egg/spockbot/mcp
copying build/lib/spockbot/mcp/proto.py -> build/bdist.macosx-10.10-intel/egg/spockbot/mcp
copying build/lib/spockbot/mcp/yggdrasil.py -> build/bdist.macosx-10.10-intel/egg/spockbot/mcp
creating build/bdist.macosx-10.10-intel/egg/spockbot/plugins
copying build/lib/spockbot/plugins/__init__.py -> build/bdist.macosx-10.10-intel/egg/spockbot/plugins
copying build/lib/spockbot/plugins/base.py -> build/bdist.macosx-10.10-intel/egg/spockbot/plugins
creating build/bdist.macosx-10.10-intel/egg/spockbot/plugins/core
copying build/lib/spockbot/plugins/core/__init__.py -> build/bdist.macosx-10.10-intel/egg/spockbot/plugins/core
copying build/lib/spockbot/plugins/core/auth.py -> build/bdist.macosx-10.10-intel/egg/spockbot/plugins/core
copying build/lib/spockbot/plugins/core/event.py -> build/bdist.macosx-10.10-intel/egg/spockbot/plugins/core
copying build/lib/spockbot/plugins/core/net.py -> build/bdist.macosx-10.10-intel/egg/spockbot/plugins/core
copying build/lib/spockbot/plugins/core/select.py -> build/bdist.macosx-10.10-intel/egg/spockbot/plugins/core
copying build/lib/spockbot/plugins/core/settings.py -> build/bdist.macosx-10.10-intel/egg/spockbot/plugins/core
copying build/lib/spockbot/plugins/core/taskmanager.py -> build/bdist.macosx-10.10-intel/egg/spockbot/plugins/core
copying build/lib/spockbot/plugins/core/ticker.py -> build/bdist.macosx-10.10-intel/egg/spockbot/plugins/core
copying build/lib/spockbot/plugins/core/timers.py -> build/bdist.macosx-10.10-intel/egg/spockbot/plugins/core
creating build/bdist.macosx-10.10-intel/egg/spockbot/plugins/helpers
copying build/lib/spockbot/plugins/helpers/__init__.py -> build/bdist.macosx-10.10-intel/egg/spockbot/plugins/helpers
copying build/lib/spockbot/plugins/helpers/auxiliary.py -> build/bdist.macosx-10.10-intel/egg/spockbot/plugins/helpers
copying build/lib/spockbot/plugins/helpers/channels.py -> build/bdist.macosx-10.10-intel/egg/spockbot/plugins/helpers
copying build/lib/spockbot/plugins/helpers/chat.py -> build/bdist.macosx-10.10-intel/egg/spockbot/plugins/helpers
copying build/lib/spockbot/plugins/helpers/clientinfo.py -> build/bdist.macosx-10.10-intel/egg/spockbot/plugins/helpers
copying build/lib/spockbot/plugins/helpers/craft.py -> build/bdist.macosx-10.10-intel/egg/spockbot/plugins/helpers
copying build/lib/spockbot/plugins/helpers/entities.py -> build/bdist.macosx-10.10-intel/egg/spockbot/plugins/helpers
copying build/lib/spockbot/plugins/helpers/interact.py -> build/bdist.macosx-10.10-intel/egg/spockbot/plugins/helpers
copying build/lib/spockbot/plugins/helpers/inventory.py -> build/bdist.macosx-10.10-intel/egg/spockbot/plugins/helpers
copying build/lib/spockbot/plugins/helpers/movement.py -> build/bdist.macosx-10.10-intel/egg/spockbot/plugins/helpers
copying build/lib/spockbot/plugins/helpers/pathfinding.py -> build/bdist.macosx-10.10-intel/egg/spockbot/plugins/helpers
copying build/lib/spockbot/plugins/helpers/physics.py -> build/bdist.macosx-10.10-intel/egg/spockbot/plugins/helpers
copying build/lib/spockbot/plugins/helpers/start.py -> build/bdist.macosx-10.10-intel/egg/spockbot/plugins/helpers
copying build/lib/spockbot/plugins/helpers/world.py -> build/bdist.macosx-10.10-intel/egg/spockbot/plugins/helpers
copying build/lib/spockbot/plugins/loader.py -> build/bdist.macosx-10.10-intel/egg/spockbot/plugins
creating build/bdist.macosx-10.10-intel/egg/spockbot/plugins/tools
copying build/lib/spockbot/plugins/tools/__init__.py -> build/bdist.macosx-10.10-intel/egg/spockbot/plugins/tools
copying build/lib/spockbot/plugins/tools/collision.py -> build/bdist.macosx-10.10-intel/egg/spockbot/plugins/tools
copying build/lib/spockbot/plugins/tools/event.py -> build/bdist.macosx-10.10-intel/egg/spockbot/plugins/tools
copying build/lib/spockbot/plugins/tools/inventory_async.py -> build/bdist.macosx-10.10-intel/egg/spockbot/plugins/tools
copying build/lib/spockbot/plugins/tools/smpmap.py -> build/bdist.macosx-10.10-intel/egg/spockbot/plugins/tools
copying build/lib/spockbot/plugins/tools/task.py -> build/bdist.macosx-10.10-intel/egg/spockbot/plugins/tools
copying build/lib/spockbot/vector.py -> build/bdist.macosx-10.10-intel/egg/spockbot
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/__init__.py to __init__.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/mcdata/__init__.py to __init__.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/mcdata/biomes.py to biomes.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/mcdata/blocks.py to blocks.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/mcdata/constants.py to constants.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/mcdata/items.py to items.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/mcdata/materials.py to materials.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/mcdata/recipes.py to recipes.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/mcdata/utils.py to utils.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/mcdata/windows.py to windows.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/mcp/__init__.py to __init__.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/mcp/bbuff.py to bbuff.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/mcp/datautils.py to datautils.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/mcp/extensions.py to extensions.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/mcp/mcpacket.py to mcpacket.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/mcp/nbt.py to nbt.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/mcp/proto.py to proto.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/mcp/yggdrasil.py to yggdrasil.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/plugins/__init__.py to __init__.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/plugins/base.py to base.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/plugins/core/__init__.py to __init__.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/plugins/core/auth.py to auth.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/plugins/core/event.py to event.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/plugins/core/net.py to net.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/plugins/core/select.py to select.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/plugins/core/settings.py to settings.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/plugins/core/taskmanager.py to taskmanager.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/plugins/core/ticker.py to ticker.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/plugins/core/timers.py to timers.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/plugins/helpers/__init__.py to __init__.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/plugins/helpers/auxiliary.py to auxiliary.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/plugins/helpers/channels.py to channels.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/plugins/helpers/chat.py to chat.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/plugins/helpers/clientinfo.py to clientinfo.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/plugins/helpers/craft.py to craft.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/plugins/helpers/entities.py to entities.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/plugins/helpers/interact.py to interact.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/plugins/helpers/inventory.py to inventory.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/plugins/helpers/movement.py to movement.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/plugins/helpers/pathfinding.py to pathfinding.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/plugins/helpers/physics.py to physics.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/plugins/helpers/start.py to start.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/plugins/helpers/world.py to world.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/plugins/loader.py to loader.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/plugins/tools/__init__.py to __init__.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/plugins/tools/collision.py to collision.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/plugins/tools/event.py to event.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/plugins/tools/inventory_async.py to inventory_async.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/plugins/tools/smpmap.py to smpmap.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/plugins/tools/task.py to task.pyc
byte-compiling build/bdist.macosx-10.10-intel/egg/spockbot/vector.py to vector.pyc
creating build/bdist.macosx-10.10-intel/egg/EGG-INFO
copying spockbot.egg-info/PKG-INFO -> build/bdist.macosx-10.10-intel/egg/EGG-INFO
copying spockbot.egg-info/SOURCES.txt -> build/bdist.macosx-10.10-intel/egg/EGG-INFO
copying spockbot.egg-info/dependency_links.txt -> build/bdist.macosx-10.10-intel/egg/EGG-INFO
copying spockbot.egg-info/requires.txt -> build/bdist.macosx-10.10-intel/egg/EGG-INFO
copying spockbot.egg-info/top_level.txt -> build/bdist.macosx-10.10-intel/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist/spockbot-0.2.0-py2.7.egg' and adding 'build/bdist.macosx-10.10-intel/egg' to it
removing 'build/bdist.macosx-10.10-intel/egg' (and everything under it)
Processing spockbot-0.2.0-py2.7.egg
Removing /Library/Python/2.7/site-packages/spockbot-0.2.0-py2.7.egg
Copying spockbot-0.2.0-py2.7.egg to /Library/Python/2.7/site-packages
spockbot 0.2.0 is already the active version in easy-install.pth

Installed /Library/Python/2.7/site-packages/spockbot-0.2.0-py2.7.egg
Processing dependencies for spockbot==0.2.0
Searching for cryptography>=0.9
Reading https://pypi.python.org/simple/cryptography/
Best match: cryptography 1.5.2
Downloading https://pypi.python.org/packages/03/1a/60984cb85cc38c4ebdfca27b32a6df6f1914959d8790f5a349608c78be61/cryptography-1.5.2.tar.gz#md5=f977a6ddb38b071213c0157fc77c62ab
Processing cryptography-1.5.2.tar.gz
Writing /tmp/easy_install-N_nayR/cryptography-1.5.2/setup.cfg
Running cryptography-1.5.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-N_nayR/cryptography-1.5.2/egg-dist-tmp-31CR0v
no previously-included directories found matching 'docs/_build'
warning: no previously-included files matching '*' found under directory 'vectors'
build/temp.macosx-10.10-intel-2.7/_openssl.c:588:30: error: expected function
      body after function declarator
typedef LHASH_OF(CONF_VALUE) Cryptography_LHASH_OF_CONF_VALUE;
                             ^
build/temp.macosx-10.10-intel-2.7/_openssl.c:802:6: error: expected ')'
DSA *DSAparams_dup(DSA *);
     ^
/usr/include/openssl/dsa.h:191:26: note: expanded from macro 'DSAparams_dup'
#define DSAparams_dup(x) ASN1_dup_of_const(DSA,i2d_DSAparams,d2i_DSAparams,x)
                         ^
/usr/include/openssl/asn1.h:944:11: note: expanded from macro
      'ASN1_dup_of_const'
    ((type*)ASN1_dup(CHECKED_I2D_OF(const type, i2d), \
          ^
build/temp.macosx-10.10-intel-2.7/_openssl.c:802:6: note: to match this '('
/usr/include/openssl/dsa.h:191:26: note: expanded from macro 'DSAparams_dup'
#define DSAparams_dup(x) ASN1_dup_of_const(DSA,i2d_DSAparams,d2i_DSAparams,x)
                         ^
/usr/include/openssl/asn1.h:944:6: note: expanded from macro 'ASN1_dup_of_const'
    ((type*)ASN1_dup(CHECKED_I2D_OF(const type, i2d), \
     ^
build/temp.macosx-10.10-intel-2.7/_openssl.c:802:6: error: expected ')'
DSA *DSAparams_dup(DSA *);
     ^
/usr/include/openssl/dsa.h:191:26: note: expanded from macro 'DSAparams_dup'
#define DSAparams_dup(x) ASN1_dup_of_const(DSA,i2d_DSAparams,d2i_DSAparams,x)
                         ^
/usr/include/openssl/asn1.h:944:13: note: expanded from macro
      'ASN1_dup_of_const'
    ((type*)ASN1_dup(CHECKED_I2D_OF(const type, i2d), \
            ^
build/temp.macosx-10.10-intel-2.7/_openssl.c:802:6: note: to match this '('
/usr/include/openssl/dsa.h:191:26: note: expanded from macro 'DSAparams_dup'
#define DSAparams_dup(x) ASN1_dup_of_const(DSA,i2d_DSAparams,d2i_DSAparams,x)
                         ^
/usr/include/openssl/asn1.h:944:5: note: expanded from macro 'ASN1_dup_of_const'
    ((type*)ASN1_dup(CHECKED_I2D_OF(const type, i2d), \
    ^
build/temp.macosx-10.10-intel-2.7/_openssl.c:802:6: error: redefinition of 'DSA'
      as different kind of symbol
DSA *DSAparams_dup(DSA *);
     ^
/usr/include/openssl/dsa.h:191:44: note: expanded from macro 'DSAparams_dup'
#define DSAparams_dup(x) ASN1_dup_of_const(DSA,i2d_DSAparams,d2i_DSAparams,x)
                                           ^
/usr/include/openssl/asn1.h:944:7: note: expanded from macro 'ASN1_dup_of_const'
    ((type*)ASN1_dup(CHECKED_I2D_OF(const type, i2d), \
      ^
/usr/include/openssl/ossl_typ.h:128:23: note: previous definition is here
typedef struct dsa_st DSA;
                      ^
build/temp.macosx-10.10-intel-2.7/_openssl.c:974:22: error: unknown type name
      'EVP_PKEY_CTX'
int EVP_PKEY_encrypt(EVP_PKEY_CTX *, unsigned char *, size_t *,
                     ^
build/temp.macosx-10.10-intel-2.7/_openssl.c:976:22: error: unknown type name
      'EVP_PKEY_CTX'
int EVP_PKEY_decrypt(EVP_PKEY_CTX *, unsigned char *, size_t *,
                     ^
build/temp.macosx-10.10-intel-2.7/_openssl.c:999:1: error: unknown type name
      'EVP_PKEY_CTX'
EVP_PKEY_CTX *EVP_PKEY_CTX_new(EVP_PKEY *, ENGINE *);
^
build/temp.macosx-10.10-intel-2.7/_openssl.c:1000:1: error: unknown type name
      'EVP_PKEY_CTX'
EVP_PKEY_CTX *EVP_PKEY_CTX_new_id(int, ENGINE *);
^
build/temp.macosx-10.10-intel-2.7/_openssl.c:1001:1: error: unknown type name
      'EVP_PKEY_CTX'
EVP_PKEY_CTX *EVP_PKEY_CTX_dup(EVP_PKEY_CTX *);
^
build/temp.macosx-10.10-intel-2.7/_openssl.c:1001:32: error: unknown type name
      'EVP_PKEY_CTX'
EVP_PKEY_CTX *EVP_PKEY_CTX_dup(EVP_PKEY_CTX *);
                               ^
build/temp.macosx-10.10-intel-2.7/_openssl.c:1002:24: error: unknown type name
      'EVP_PKEY_CTX'
void EVP_PKEY_CTX_free(EVP_PKEY_CTX *);
                       ^
build/temp.macosx-10.10-intel-2.7/_openssl.c:1003:24: error: unknown type name
      'EVP_PKEY_CTX'
int EVP_PKEY_sign_init(EVP_PKEY_CTX *);
                       ^
build/temp.macosx-10.10-intel-2.7/_openssl.c:1004:19: error: unknown type name
      'EVP_PKEY_CTX'
int EVP_PKEY_sign(EVP_PKEY_CTX *, unsigned char *, size_t *,
                  ^
build/temp.macosx-10.10-intel-2.7/_openssl.c:1006:26: error: unknown type name
      'EVP_PKEY_CTX'
int EVP_PKEY_verify_init(EVP_PKEY_CTX *);
                         ^
build/temp.macosx-10.10-intel-2.7/_openssl.c:1007:21: error: unknown type name
      'EVP_PKEY_CTX'
int EVP_PKEY_verify(EVP_PKEY_CTX *, const unsigned char *, size_t,
                    ^
build/temp.macosx-10.10-intel-2.7/_openssl.c:1009:27: error: unknown type name
      'EVP_PKEY_CTX'
int EVP_PKEY_encrypt_init(EVP_PKEY_CTX *);
                          ^
build/temp.macosx-10.10-intel-2.7/_openssl.c:1010:27: error: unknown type name
      'EVP_PKEY_CTX'
int EVP_PKEY_decrypt_init(EVP_PKEY_CTX *);
                          ^
build/temp.macosx-10.10-intel-2.7/_openssl.c:1040:5: error: conflicting types
      for 'HMAC_Init_ex'
int HMAC_Init_ex(HMAC_CTX *, const void *, int, const EVP_MD *, ENGINE *);
    ^
/usr/include/openssl/hmac.h:97:6: note: previous declaration is here
void HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len,
     ^
build/temp.macosx-10.10-intel-2.7/_openssl.c:1041:5: error: conflicting types
      for 'HMAC_Update'
int HMAC_Update(HMAC_CTX *, const unsigned char *, size_t);
    ^
/usr/include/openssl/hmac.h:99:6: note: previous declaration is here
void HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, size_t len) D...
     ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
error: Setup script exited with error: command 'cc' failed with exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants