Giter Site home page Giter Site logo

pip install banditpam error about banditpam HOT 9 OPEN

KeyCode17 avatar KeyCode17 commented on July 29, 2024
pip install banditpam error

from banditpam.

Comments (9)

Adarsh321123 avatar Adarsh321123 commented on July 29, 2024

Hi @KeyCode17, thanks for filing an issue!

  1. pip install banditpam is currently unsupported on Windows. v4.0.4 will upload BanditPAM Windows wheels to PyPI.
  2. I think you're getting a carma issue because you might not have a carma subdirectory (as in, there might not be any code under the headers/carma directory). Can you try removing headers/carma, cloning carma, and then running mkdir build && cd build && cmake -DCARMA_INSTALL_LIB=ON .. && sudo cmake --build . --config Release --target?

from banditpam.

KeyCode17 avatar KeyCode17 commented on July 29, 2024

which carma i need to clone ?

from banditpam.

Adarsh321123 avatar Adarsh321123 commented on July 29, 2024

Just clone the most recent version of carma from its repo using git clone https://github.com/RUrlus/carma.git!

from banditpam.

KeyCode17 avatar KeyCode17 commented on July 29, 2024

do i run this inside carma ? mkdir build && cd build && cmake -DCARMA_INSTALL_LIB=ON .. && sudo cmake --build . --config Release --target

from banditpam.

Adarsh321123 avatar Adarsh321123 commented on July 29, 2024

Yes, after cloning you should have a headers/carma directory. cd into it and then run mkdir build, cd build, cmake -DCARMA_INSTALL_LIB=ON .., and cmake --build . --config Release --target install (you can run this last command as administrator since sudo doesn't exist on Windows).

from banditpam.

KeyCode17 avatar KeyCode17 commented on July 29, 2024

Now error like this

build\lib.win32-cpython-310\banditpam.cp310-win_amd64.pyd : fatal error LNK1120: 132 unresolved externals
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\bin\HostX86\x86\link.exe' failed with exit code 1120
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for banditpam
Failed to build banditpam
ERROR: Could not build wheels for banditpam, which is required to install pyproject.toml-based projects

from banditpam.

Adarsh321123 avatar Adarsh321123 commented on July 29, 2024

Have you followed these steps from install_windows.md?:

 1) Add the location of `cl.exe` to PATH in Environment Variables (e.g. `C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\bin\Hostx64\x64`).
 2) Run `python -m pip install .` in the home directory (`/BanditPAM`)
 2) Add the file `C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\bin\Hostx86\x64\clang_rt.asan_dynamic-x86_64.dll` to `build\lib.win-amd64-cpython-310`
 3) Run `python -m pip install .` in the home directory (`/BanditPAM`)

from banditpam.

KeyCode17 avatar KeyCode17 commented on July 29, 2024

i can't find build\lib.win-amd64-cpython-310

from banditpam.

Adarsh321123 avatar Adarsh321123 commented on July 29, 2024

Can you please show me the contents of your build directory?

from banditpam.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.