Skip to content

Windows pip install error ('not': undeclared identifier) #6

@rami-alloush

Description

@rami-alloush

I'm trying to install on Python v3.12 (and 3.10) Windows 11 with pip search pyzeo and MSVC v143.
I'm getting the error below

      src/cluster.cc(124): warning C4365: 'argument': conversion from 'int' to 'const unsigned __int64', signed/unsigned mismatch
      src/cluster.cc(134): warning C4365: 'argument': conversion from 'int' to 'const unsigned __int64', signed/unsigned mismatch
      src/cluster.cc(222): warning C4305: 'argument': truncation from 'double' to 'const float'
      src/cluster.cc(235): warning C4305: 'argument': truncation from 'double' to 'const float'
      src/cluster.cc(241): warning C4305: 'argument': truncation from 'double' to 'const float'
      src/cluster.cc(358): warning C4244: 'initializing': conversion from '__int64' to 'int', possible loss of data
      src/cluster.cc(470): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
      src/cluster.cc(470): warning C4365: 'initializing': conversion from 'unsigned __int64' to 'int', signed/unsigned mismatch
      src/cluster.cc(485): warning C4365: 'argument': conversion from 'int' to 'const unsigned __int64', signed/unsigned mismatch
      src/cluster.cc(564): error C2065: 'not': undeclared identifier
      src/cluster.cc(564): error C2146: syntax error: missing ')' before identifier 'near_flag'
      src/cluster.cc(564): error C2059: syntax error: ')'
      src/cluster.cc(565): error C2146: syntax error: missing ';' before identifier 'red_vornet'
      src/cluster.cc(564): warning C4555: result of expression not used
      error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.44.35207\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
      [end of output]

Please let me know

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