instalando pathos (python3) no Ubuntu 16.04

2

Eu tentei o seguinte comando:

pip3 install pathos

e o erro que recebo é:

$ pip3 install pathos
Collecting pathos
Collecting pox>=0.2.3 (from pathos)
Collecting ppft>=1.6.4.7 (from pathos)
Collecting multiprocess>=0.70.5 (from pathos)
Collecting dill>=0.2.7 (from pathos)
Requirement already satisfied: six>=1.7.3 in /usr/lib/python3/dist-packages (from ppft>=1.6.4.7->pathos)
Installing collected packages: pox, ppft, dill, multiprocess, pathos
Exception:
Traceback (most recent call last):
  File "/home/joao/.local/lib/python3.5/site-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
  File "/home/joao/.local/lib/python3.5/site-packages/pip/commands/install.py",
 line 342, in run
prefix=options.prefix_path,
  File "/home/joao/.local/lib/python3.5/site-packages/pip/req/req_set.py", line 784, in install **kwargs
  File "/home/joao/.local/lib/python3.5/site-packages/pip/req/req_install.py",
 line 851, in install
    self.move_wheel_files(self.source_dir, root=root, prefix=prefix)

  File "/home/joao/.local/lib/python3.5/site-packages/pip/req/req_install.py",
 line 1064, in move_wheel_files
isolated=self.isolated,

  File "/home/joao/.local/lib/python3.5/site-packages/pip/wheel.py",
 line 345, in move_wheel_files
clobber(source, lib_dir, True)

  File "/home/joao/.local/lib/python3.5/site-packages/pip/wheel.py",
 line 316, in clobber
ensure_dir(destdir)

  File "/home/joao/.local/lib/python3.5/site-packages/pip/utils/__init__.py",
 line 83, in ensure_dir os.makedirs(path)

  File "/usr/lib/python3.5/os.py",
 line 241, in makedirs mkdir(name, mode)
PermissionError: [Errno 13]
 Permissão negada: '/usr/local/lib/python3.5/dist-packages/pox'

Alguém pode me ajudar por favor?

    
por João Paulo 07.03.2018 / 23:12

1 resposta

0

Experimente sudo pip3 install pathos . Parece um erro de permissão negada.

    
por estibordo 08.03.2018 / 00:45