Advertisement
RingtailedFox

Python3 shits itself after update

Jan 26th, 2022
400
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. T:\>pip install gallery-dl
  2. ERROR: Exception:
  3. Traceback (most recent call last):
  4. File "C:\Python3-x64\lib\site-packages\pip\_internal\cli\base_command.py", line 164, in exc_logging_wrapper
  5. status = run_func(*args)
  6. File "C:\Python3-x64\lib\site-packages\pip\_internal\cli\req_command.py", line 205, in wrapper
  7. return func(self, options, args)
  8. File "C:\Python3-x64\lib\site-packages\pip\_internal\commands\install.py", line 294, in run
  9. wheel_cache = WheelCache(options.cache_dir, options.format_control)
  10. File "C:\Python3-x64\lib\site-packages\pip\_internal\cache.py", line 219, in __init__
  11. self._ephem_cache = EphemWheelCache(format_control)
  12. File "C:\Python3-x64\lib\site-packages\pip\_internal\cache.py", line 191, in __init__
  13. self._temp_dir = TempDirectory(
  14. File "C:\Python3-x64\lib\site-packages\pip\_internal\utils\temp_dir.py", line 125, in __init__
  15. path = self._create(kind)
  16. File "C:\Python3-x64\lib\site-packages\pip\_internal\utils\temp_dir.py", line 164, in _create
  17. path = os.path.realpath(tempfile.mkdtemp(prefix=f"pip-{kind}-"))
  18. File "C:\PYTHON3-x64\LIB\tempfile.py", line 357, in mkdtemp
  19. prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)
  20. File "C:\PYTHON3-x64\LIB\tempfile.py", line 126, in _sanitize_params
  21. dir = gettempdir()
  22. File "C:\PYTHON3-x64\LIB\tempfile.py", line 299, in gettempdir
  23. return _os.fsdecode(_gettempdir())
  24. File "C:\PYTHON3-x64\LIB\tempfile.py", line 292, in _gettempdir
  25. tempdir = _get_default_tempdir()
  26. File "C:\PYTHON3-x64\LIB\tempfile.py", line 224, in _get_default_tempdir
  27. raise FileNotFoundError(_errno.ENOENT,
  28. FileNotFoundError: [Errno 2] No usable temporary directory found in ['C:\\Users\\User\\AppData\\Local\\Temp', 'C:\\Users\\User\\AppData\\Local\\Temp', 'C:\\Users\\User\\AppData\\Local\\Temp', 'C:\\WINDOWS\\Temp', 'c:\\temp', 'c:\\tmp', '\\temp', '\\tmp', 'T:\\']
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement