Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building for python 3.12 #26

Open
Exiled1 opened this issue Jan 8, 2024 · 2 comments
Open

Building for python 3.12 #26

Exiled1 opened this issue Jan 8, 2024 · 2 comments

Comments

@Exiled1
Copy link

Exiled1 commented Jan 8, 2024

I just wanted to share this with people if anyone wants to try to get DAILA working with python 3.12 you can follow these steps (use command provided to you by pytorch here).

  1. use command provided to you by pytorch here to install the version of pytorch for your system, at this time you need the nightly version of pytorch.
  2. gh repo clone binsync/varbert_api or git clone [email protected]:binsync/varbert_api.git
  3. cd varvert_api
  4. Use a text editor of your choice to edit setup.cfg and bump the following dependencies:
[options]
install_requires =
    torch
    transformers
    tqdm
    dailalib==2.2.2
    libbs==0.14.0
  1. while in the varbert_api dir, pip3 install -e .
  2. either pip3 install dailalib or if that doesn't work, clone the repo and pip3 install -e . inside of the directory
  3. daila --install
  4. Verify that it works in your decompiler of choice
  5. Profit
@mahaloz
Copy link
Owner

mahaloz commented Jan 9, 2024

Hi @Exiled1, why can't this be a PR to varbert_api? Unlike d2d, DAILA has no problems being 3.12 compatible unless you know of a specific bug

@Exiled1
Copy link
Author

Exiled1 commented Jan 9, 2024

Oh, perfect! I'll make the PR, sorry I just assumed support for 3.12 wasn't a priority haha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants