ValueError: The 'rex' package was not installed in a way that PackageLoader understands.
See original GitHub issueEnvironment
OS: Ubuntu 21.04.4 LTS python3: 3.8.10
Problem Description
I cloned rex
, ran python3 setup.py install --user
, and manually installed the following dependencies:
- povsim (v9.2.1)
- cle (v9.2.1)
- claripy (v9.2.1)
- archer (v9.2.1)
- ailment (v9.2.1)
- angr/tracer (master 4fe840c).
I finally got rex
to install.
Using /home/aesophor/.local/lib/python3.8/site-packages
Finished processing dependencies for rex==0.2
However, running rex triggers the following exceptions (jinja2?) I’m not sure what to do next to get rex to run. Here’s the error message I got:
/home/aesophor/Code/rex [git::master] [aesophor@aesophor-vm] [13:59]
> python3 tests/test_explore.py
Traceback (most recent call last):
File "tests/test_explore.py", line 4, in <module>
import rex
File "/home/aesophor/.local/lib/python3.8/site-packages/rex/__init__.py", line 2, in <module>
from rex.crash import Crash, NonCrashingInput
File "/home/aesophor/.local/lib/python3.8/site-packages/rex/crash.py", line 20, in <module>
from .exploit import CannotExploit, CannotExplore, ExploitFactory, CGCExploitFactory
File "/home/aesophor/.local/lib/python3.8/site-packages/rex/exploit/__init__.py", line 4, in <module>
from .exploit import Exploit, ExploitException
File "/home/aesophor/.local/lib/python3.8/site-packages/rex/exploit/exploit.py", line 12, in <module>
from ..scripter import Scripter
File "/home/aesophor/.local/lib/python3.8/site-packages/rex/scripter/__init__.py", line 10, in <module>
loader=jinja2.PackageLoader('rex', 'scripter/templates'),
File "/home/aesophor/.local/lib/python3.8/site-packages/jinja2/loaders.py", line 319, in __init__
raise ValueError(
ValueError: The 'rex' package was not installed in a way that PackageLoader understands.
Thanks in advance!
Issue Analytics
- State:
- Created a year ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
The 'yourapp' package was not installed in a way that ... - GitHub
I use the example provided in the documentation at https://jinja.palletsprojects.com/en/3.0.x/api/#basics The file yourapp.py contains: #!
Read more >Cannot import ligo-followup-advocate with jinja2>=3.0.0 (#66)
jinja' package was not installed in a way that PackageLoader understands. This is because the PackageLoader is being given the wrong package ...
Read more >need to package jinja2 template for python - Stack Overflow
I've discovered a WORKAROUND, here. In this usage, the template is not part of a module or package; it is loaded directly from...
Read more >[SOLVED]Error Compiling Firefox (Jinja2 PackageLoader Issue)
0:02.84 ValueError: The 'run_glean_parser' package was not installed in a way that PackageLoader understands.
Read more >The 'build_report' package was not installed in a way ... - GitLab
The 'build_report' package was not installed in a way that PackageLoader understands. The command snakemake build_report produces following ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In that case, this is an issue for @twizmwazin 😃
@twizmwazin Thanks!!