pyauth / pyotp

Python One-Time Password Library
https://pyauth.github.io/pyotp/
Other
2.91k stars 319 forks source link

error: subprocess-exited-with-error #150

Closed prathameshjoshi closed 1 year ago

prathameshjoshi commented 1 year ago

Error installing pytop package. Please look into it.

pip3 install pytop Defaulting to user installation because normal site-packages is not writeable Collecting pytop Using cached pyTOP-0.1.2.tar.gz (82 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.

│ exit code: 1 ╰─> [10 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "/tmp/pip-install-fitgaqo9/pytop_b7916ebb0e1c4501a3fdaf61cc74c830/setup.py", line 6, in import pyTOP File "/tmp/pip-install-fitgaqo9/pytop_b7916ebb0e1c4501a3fdaf61cc74c830/pyTOP/init.py", line 20, in from .api import TOP, TOPDate, TOPRequest File "/tmp/pip-install-fitgaqo9/pytop_b7916ebb0e1c4501a3fdaf61cc74c830/pyTOP/api.py", line 21, in from errors import TOPException ModuleNotFoundError: No module named 'errors' [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details.

prathameshjoshi commented 1 year ago

fix : sudo apt-get install python3-pyotp