Error de ejemplo:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 dieciséis 17 18 19 20 21 22 23 | [root@s126368 BASNet-http]# pip3 install torch==0.4.1 WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead. Collecting torch==0.4.1 Exception: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File "/usr/lib/python3.6/site-packages/pip/commands/install.py", line 346, in run requirement_set.prepare_files(finder) File "/usr/lib/python3.6/site-packages/pip/req/req_set.py", line 381, in prepare_files ignore_dependencies=self.ignore_dependencies)) File "/usr/lib/python3.6/site-packages/pip/req/req_set.py", line 623, in _prepare_file session=self.session, hashes=hashes) File "/usr/lib/python3.6/site-packages/pip/download.py", line 821, in unpack_url hashes=hashes File "/usr/lib/python3.6/site-packages/pip/download.py", line 663, in unpack_http_url unpack_file(from_path, location, content_type, link) File "/usr/lib/python3.6/site-packages/pip/utils/__init__.py", line 609, in unpack_file flatten=not filename.endswith('.whl') File "/usr/lib/python3.6/site-packages/pip/utils/__init__.py", line 511, in unzip_file fp.write(data) OSError: [Errno 28] No space left on device |
Arreglo: cambiar TMPDIR
1 | [root@tutorialspots BASNet-http]# export TMPDIR="/mnt/store/tmp" |
¡Hecho! Ahora todas las cosas son normales:
1 2 3 4 5 6 | [root@tutorialspots BASNet-http]# pip3 install torch==0.4.1 WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead. Collecting torch==0.4.1 Installing collected packages: torch Successfully installed torch-0.4.1 |
0 Comentarios
Dejanos tu comentario para seguir mejorando!