paketleri yada kütüphaneleri sorunsuz kuramıyorum genelde bu 2 hatayı almaktayım.
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-thv7hcns/Web.py
ve
PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.4/dist-packages/utils'
Web.py kurulum sorunu :
sudo pip install Web.py
The directory '/home/gkhan/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/gkhan/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting Web.py
Downloading web.py-0.37.tar.gz (90kB)
100% |████████████████████████████████| 94kB 53kB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "/tmp/pip-build-thv7hcns/Web.py/setup.py", line 6, in <module>
from web import __version__
File "/tmp/pip-build-thv7hcns/Web.py/web/__init__.py", line 14, in <module>
import utils, db, net, wsgi, http, webapi, httpserver, debugerror
ImportError: No module named 'utils'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-thv7hcns/Web.py
Django kurulum sorunu
pip install django
Collecting django
Using cached Django-1.8.5-py2.py3-none-any.whl
Installing collected packages: django
Exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/pip/basecommand.py", line 211, in main
status = self.run(options, args)
File "/usr/local/lib/python3.4/dist-packages/pip/commands/install.py", line 311, in run
root=options.root_path,
File "/usr/local/lib/python3.4/dist-packages/pip/req/req_set.py", line 646, in install
**kwargs
File "/usr/local/lib/python3.4/dist-packages/pip/req/req_install.py", line 803, in install
self.move_wheel_files(self.source_dir, root=root)
File "/usr/local/lib/python3.4/dist-packages/pip/req/req_install.py", line 998, in move_wheel_files
isolated=self.isolated,
File "/usr/local/lib/python3.4/dist-packages/pip/wheel.py", line 339, in move_wheel_files
clobber(source, lib_dir, True)
File "/usr/local/lib/python3.4/dist-packages/pip/wheel.py", line 310, in clobber
ensure_dir(destdir)
File "/usr/local/lib/python3.4/dist-packages/pip/utils/__init__.py", line 71, in ensure_dir
os.makedirs(path)
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/django'