explosion / sense2vec

🦆 Contextually-keyed word vectors
https://explosion.ai/blog/sense2vec-reloaded
MIT License
1.62k stars 239 forks source link

fail to install #20

Closed fremontpf123 closed 8 years ago

fremontpf123 commented 8 years ago

Environment: python: 2.7.12 use anaconda to create a clean environment, following the steps:

  1. cloning the repository
  2. run pip install -r requirements.txt
  3. pip install -e .

Then found the following errors: sense2vec/vectors.cpp:8061:10: error: 'pyx_v_ptr' declared as a pointer to a reference of type 'float &' float &*pyx_v_ptr; ^ 1 warning and 1 error generated. error: command 'gcc' failed with exit status 1

Could someone provide the solution?

Thanks,

fremontpf123 commented 8 years ago

I have installed this package without anaconda. Probably anaconda has different compiler.