PVDM icon indicating copy to clipboard operation
PVDM copied to clipboard

couldn't run on mac os

Open iamsile opened this issue 9 years ago • 0 comments

Hello, when I use it on mac os, there is something wrong.

Traceback (most recent call last): File "pv_dm.py", line 18, in from pvdm_inner import train_sentence_pvdm, train_sentence_batch_pvdm, train_sentence_batch_pvdm_self_predict, train_sentence_batch_pvdm_skipgram File "/Library/Python/2.7/site-packages/pyximport/pyximport.py", line 435, in load_module language_level=self.language_level) File "/Library/Python/2.7/site-packages/pyximport/pyximport.py", line 227, in load_module exec("raise exc, None, tb", {'exc': exc, 'tb': tb}) File "/Library/Python/2.7/site-packages/pyximport/pyximport.py", line 210, in load_module mod = imp.load_dynamic(name, so_path) File "pvdm_inner.pyx", line 28, in init pvdm_inner (/Users/taowei/.pyxbld/temp.macosx-10.11-intel-2.7/pyrex/pvdm_inner.c:9919) cdef saxpy_ptr saxpy=<saxpy_ptr>PyCapsule_GetPointer(fblas.saxpy._cpointer , NULL) # y += alpha * x ImportError: Building module pvdm_inner failed: ['ValueError: PyCapsule_GetPointer called with invalid PyCapsule object\n']

iamsile avatar Feb 17 '16 09:02 iamsile