Answer the question
In order to leave comments, you need to log in
Packages not installing with Pip?
Good afternoon. I'm new to Python, I'm switching to it after Java. And I've already run into problems. Trying to install some package with Pip in Ubuntu terminal. Packages are not installed. Gives errors:
Downloading/unpacking selenium
Downloading selenium-3.0.2-py2.py3-none-any.whl (915kB): 915kB downloaded
Installing collected packages: selenium
Cleaning up...
Exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 283, in run
requirement_set.install(install_options, global_options, root=options.root_path)
File "/usr/lib/python3/dist-packages/pip/req.py", line 1436, in install
requirement.install(install_options, global_options, *args, **kwargs)
File "/usr/lib/python3/dist-packages/pip/req.py", line 672, in install
self.move_wheel_files(self.source_dir, root=root)
File "/usr/lib/python3/dist-packages/pip/req.py", line 902, in move_wheel_files
pycompile=self.pycompile,
File "/usr/lib/python3/dist-packages/pip/wheel.py", line 206, in move_wheel_files
clobber(source, lib_dir, True)
File "/usr/lib/python3/dist-packages/pip/wheel.py", line 193, in clobber
os.makedirs(destsubdir)
File "/usr/lib/python3.4/os.py", line 237, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.4/dist-packages/selenium'
Storing debug log for failure in /home/user/.pip/pip.log
error: could not create '/usr/local/lib/python3.4/dist-packages/numpy': Permission denied
----------------------------------------
Cleaning up...
Command /usr/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip_build_user/numpy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-y50gyst1-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_user/numpy
Storing debug log for failure in /home/user/.pip/pip.log
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question