Saturday, 15 February 2014

python - Pip3 python3 egg_info error -


I was trying to install some packages with Pip3 on the Python 3 setup. However, I found many errors I have never seen before.

The errors I've received are:

  Cleaning ... Command python setup.py egg_info /home/omega/.pip/pip.log  < Failure to save debug log for failure in / pre> 

failed with / tmp / pip_build_omega / IMDbPY in error code 1 I suggested updating some people and I did so:

  Omega @ omega - system: ~ $ pip3 install --upgrade setuptools https://ptpi.python.org/packages/3.4/s/setuptools/ setup / unpacking setup toolup from setuptools-14.3 -py2.py3-on-any.whl # md5 = fc7acea179a69c7d9bf8b854fe44b029 เจกਾ Installing the setuptools-14.3-py2.py3- nun-any.whl (501kB): 501kB is installing the collected package: setuptools found the current installation: setuptools 11.3.1 Uninstall setup tools: cleaning up .. Exception: Traceback (most recent call final): Move to file "/usr/lib/python3.4/shutil.py", line 522, os.rename (src, real_dst) Permission error: [Errno 13] Permission denied: '/ usr / local / bin / ea Sy_install' - & gt; During handling the above exception, another exception occurred: traceback (most recent call final): The file "/ usr / lib / python3 / dist-packages / '/' '/ /' '/' 'Pip / basecommand.py ", Line 122, in the main position = self.run (option, args) in the file" /usr/lib/python3/dist-packages/pip/commands/install.py ", line 283, run requirement_set. Install (install_options, global_options, root = options.root_path) file "/usr/lib/python3/dist-packages/pip/req.py", line 1431, install.uninstall (auto_confirm = true) file "/ usr / lib /python3/dist-packages/pip/req.py ", line 598, uninstall paths_to_remove.remove (auto_confirm) file" /usr/lib/python3/dist-packages/pip/req.py ", line 1836, in the file "/usr/lib/python3/dist-packages/pip/util.py" To delete line 295, remove filial.move (old, new) file "/ usr / lib / python3" names Error in permissions (path, new_path) 4 / shutil.py ", line 535, transfer os.unlink (src): [Errno 13] Permission denied: '/ usr / local / bin / easy_install' / home Store debug logs for failure in /omega/.pip/pip.log  

You can use sudo pip3 args . PermissionError: [errno 13] Permission denied: '/ usr / local / bin / easy_install'

There are errors of this kind when you are running your commands, not as a privileged user, / usr / local / bin not is yours This can be related to root user


No comments:

Post a Comment