Closed guange2015 closed 4 years ago
please check your untp version via pip show untp
, i tested on 1.1.7 and it work fine. this is my test code:
from untp import unpacker_dir, unpacker
print unpacker_dir
print unpacker
and output:
python test.py
<function unpacker_dir at 0x1038611b8>
<function unpacker at 0x103861140>
you could you use pip install untp --upgrade
to upgrade to lasest version.
the issue fixed and untp 1.1.8 released, you could got it via pip install untp --upgrade
.
untp Traceback (most recent call last): File "d:\soft\miniconda3\lib\runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "d:\soft\miniconda3\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "D:\soft\miniconda3\Scripts\untp.exe__main.py", line 4, in
File "d:\soft\miniconda3\lib\site-packages\untp\ init.py", line 3, in
from untp import unpacker_dir, unpacker
ImportError: cannot import name 'unpacker_dir' from 'untp' (d:\soft\miniconda3\lib\site-packages\untp\ init__.py)