小编pyg*_*iou的帖子

python word2vec没有安装

我一直在尝试使用我的Python2.7解释器在我的Windows 7机器上安装word2vec:https://github.com/danielfrg/word2vec

我已经尝试setup.py从解压缩的目录下载zip并运行python install并运行pip install.但是在这两种情况下都会返回以下错误:

Downloading/unpacking word2vec
  Downloading word2vec-0.5.1.tar.gz
  Running setup.py egg_info for package word2vec
    Traceback (most recent call last):
      File "<string>", line 16, in <module>
      File "c:\users\georgioa\appdata\local\temp\pip_build_georgioa\word2vec\setup.py", line 17, in <module>
        subprocess.call(['make', '-C', 'word2vec-c'])
      File "C:\Python27\lib\subprocess.py", line 524, in call
        return Popen(*popenargs, **kwargs).wait()
      File "C:\Python27\lib\subprocess.py", line 711, in __init__
        errread, errwrite)
      File "C:\Python27\lib\subprocess.py", line 948, in _execute_child
        startupinfo)
    WindowsError: [Error 2] The system cannot find the file specified
    Complete output from command …
Run Code Online (Sandbox Code Playgroud)

python pip gnuwin32 word2vec

8
推荐指数
1
解决办法
1万
查看次数

标签 统计

gnuwin32 ×1

pip ×1

python ×1

word2vec ×1