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

pip install error #120

Open
woccho opened this issue Jan 27, 2024 · 8 comments
Open

pip install error #120

woccho opened this issue Jan 27, 2024 · 8 comments

Comments

@woccho
Copy link

woccho commented Jan 27, 2024

pip install git+https://github.com/ergrelet/unlicense.git
.
.
ERROR: Could not find a version that satisfies the requirement lief<0.14,>=0.13 (from unlicense) (from versions: 0.8.0.post7, 0.8.1.post1, 0.8.2.post1, 0.8.3.post3, 0.9.0, 0.10.0, 0.10.1, 0.11.0, 0.11.1, 0.11.2, 0.11.3, 0.11.4, 0.11.5, 0.12.0, 0.12.1, 0.12.2, 0.12.3)
ERROR: No matching distribution found for lief<0.14,>=0.13

@imeftun
Copy link

imeftun commented Jul 14, 2024

+1 Any solution?

@greenozon
Copy link

+1
also hit this (using Python 3.12)

INFO: pip is looking at multiple versions of unlicense to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement lief<0.14,>=0.13 (from unlicense) (from versions: 0.8.0.post7, 0.8.1.post1, 0.8.2.post1, 0.8.3.post3, 0.9.0, 0.10.0, 0.10.1, 0.11.0, 0.11
.1, 0.11.2, 0.11.3, 0.11.4, 0.11.5, 0.12.0, 0.12.1, 0.12.2, 0.12.3, 0.14.0, 0.14.1)
ERROR: No matching distribution found for lief<0.14,>=0.13

@greenozon
Copy link

Here is a small patch (you need to local git clone and do install based on ot):

diff --git a/pyproject.toml b/pyproject.toml
index fca8c9a..e32c3ac 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -6,10 +6,10 @@ authors = ["Erwan Grelet"]
 license = "GPL-3.0-or-later"

 [tool.poetry.dependencies]
-python = ">=3.9, <3.12"
+python = ">=3.9, <3.13"
 frida = "^16.1"
 unicorn = "^1.0"
-lief = "^0.13"
+lief = "^0.14"
 fire = "^0.4"
 capstone = "^4.0"
 xxhash = "^2.0"

@greenozon
Copy link

hmm
still can't use Python 3.12 - one dependency is not having python3.12 pre-built package:

https://pypi.org/project/pyscylla/#files

@greenozon
Copy link

ref ergrelet/Scylla#5

@greenozon
Copy link

upd:
after some fixes in upstream packages, it is possible now to install it, eg:

pip install .
...
...
...
Installing collected packages: unicorn, pyscylla, xxhash, termcolor, lief, frida, capstone, fire, unlicense
Successfully installed capstone-4.0.2 fire-0.4.0 frida-16.4.7 lief-0.14.1 pyscylla-0.11.2 termcolor-2.4.0 unicorn-1.0.3 unlicense-0.4.0 xxhash-2.0.2

C:\Dev\python\unlic\unlicense>unlicense
ERROR: The function received no value for the required argument: pe_to_dump
Usage: unlicense PE_TO_DUMP <flags>
  optional flags:        --verbose | --pause_on_oep | --no_imports |
                         --force_oep | --target_version | --timeout

For detailed information on this command, run:
  unlicense --help

C:\Dev\python\unlic\unlicense>python -V
Python 3.12.2

@greenozon
Copy link

most probably same issue as
#116

@chang-joon-won
Copy link

chang-joon-won commented Aug 1, 2024

I installed succesfully in below environments^^.

(01 success)
Python 3.11.5 | packaged by Anaconda

(02 success)
after install 3.11.8 python 32bit in windows
prompt> python -m pip install git+https://github.com/ergrelet/unlicense.git

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

4 participants