Skip to content

Sent2vec for Windows/ Not running on VS code/Could not build wheels for sent2vec which use PEP 517 and cannot be installed directly #121

Open
@GulJabeen

Description

@GulJabeen

pip install ./sent2vec
Processing c:\nlp@ri\mitcollab-master\sent2vec
DEPRECATION: A future pip version will change local packages to be built in-place without first copying to a temporary directory. We recommend you use
--use-feature=in-tree-build to test your packages with this new behavior before it becomes the default.
pip 21.3 will remove support for this functionality. You can find discussion regarding this at pypa/pip#7555.
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Requirement already satisfied: Cython>=0.29.13 in c:\users\ekbxm\appdata\local\programs\python\python37\lib\site-packages (from sent2vec==0.0.0) (0.29.23)
Requirement already satisfied: numpy>=1.17.1 in c:\users\ekbxm\appdata\local\programs\python\python37\lib\site-packages (from sent2vec==0.0.0) (1.21.2)
Building wheels for collected packages: sent2vec
Building wheel for sent2vec (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\ekbxm\appdata\local\programs\python\python37\python.exe' 'c:\users\ekbxm\appdata\local\programs\python\python37\lib\site-packages\pip_vendor\pep517\in_process_in_process.py' build_wheel 'C:\Users\EKBXM\AppData\Local\Temp\tmptq7nua02'
cwd: C:\Users\EKBXM\AppData\Local\Temp\pip-req-build-2ladzjy_
Complete output (7 lines):
running bdist_wheel
running build
running build_ext
building 'sent2vec' extension
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Isrc -IC:\Users\EKBXM\AppData\Local\Temp\pip-build-env-5slnbx7x\overlay\Lib\site-packages\numpy\core\include -Ic:\users\ekbxm\appdata\local\programs\python\python37\include -Ic:\users\ekbxm\appdata\local\programs\python\python37\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" /EHsc /Tpsrc/sent2vec.cpp /Fobuild\temp.win-amd64-3.7\Release\src/sent2vec.obj
-std=c++0x -Wno-cpp -pthread -Wno-sign-compare
cl : Command line error D8021 : invalid numeric argument '/Wno-cpp'
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.exe' failed with exit status 2

ERROR: Failed building wheel for sent2vec
Failed to build sent2vec
ERROR: Could not build wheels for sent2vec which use PEP 517 and cannot be installed directly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions