Closed NguyenDucQuan12 closed 5 months ago
first try python -m pip install --upgrade --force-reinstall pip
and then do python -m pip freeze
for those who encounter errors like me when using virtual environments
I have installed the required files, but I still get this error. Please tell me how to fix it
python -m pip freeze
altgraph==0.17.4
bsdiff4==1.2.4
certifi==2024.2.2
cffi==1.16.0
charset-normalizer==3.3.2
cryptography==42.0.5
idna==3.6
packaging==24.0
pefile==2023.2.7
pycparser==2.22
pyinstaller==6.5.0
pyinstaller-hooks-contrib==2024.3
PyNaCl==1.5.0
pywin32-ctypes==0.2.2
requests==2.31.0
ruff==0.3.5
securesystemslib==0.31.0
tuf==3.1.1
tufup @ git+https://github.com/dennisvang/tufup.git@9e53b744a8811d0d9ab6820172da11c9a4327453
urllib3==2.2.1
@NguyenDucQuan12
What happens if you run tufup -v
on the command line?
@dennisvang return tufup 0.7.1
@NguyenDucQuan12 This looks like an IDE configuration issue.
I'm not familiar with VS Code/Pylance, but perhaps it's related to this issue?
Hello, when I try to run your example, I get an error that module name 'tufup' cannot be installed.