Python Django Install Error

Source: Internet
Author: User

Exception:
Traceback (most recent):
File "/home/djangogirls/myvenv/lib/python3.6/site-packages/pip/basecommand.py", line 215, in main
Status = Self.run (options, args)
File "/home/djangogirls/myvenv/lib/python3.6/site-packages/pip/commands/install.py", line-up, in run
Prefix=options.prefix_path,
File "/home/djangogirls/myvenv/lib/python3.6/site-packages/pip/req/req_set.py", line 784, in install
**kwargs
File "/home/djangogirls/myvenv/lib/python3.6/site-packages/pip/req/req_install.py", line 851, in install
Self.move_wheel_files (Self.source_dir, Root=root, Prefix=prefix)
File "/home/djangogirls/myvenv/lib/python3.6/site-packages/pip/req/req_install.py", line 1064, in Move_wheel_files
Isolated=self.isolated,
File "/home/djangogirls/myvenv/lib/python3.6/site-packages/pip/wheel.py", line 345, in Move_wheel_files
Clobber (source, Lib_dir, True)
File "/home/djangogirls/myvenv/lib/python3.6/site-packages/pip/wheel.py", line clobber
Ensure_dir (Destdir)
File "/home/djangogirls/myvenv/lib/python3.6/site-packages/pip/utils/__init__.py", line, in Ensure_dir
Os.makedirs (PATH)
File "/usr/lib/python3.6/os.py", line-up, in Makedirs
mkdir (name, mode)
permissionerror: [Errno] Permission denied: '/home/djangogirls/myvenv/lib/python3.6/site-packages/django '

Slove:sudo Chown-r Astro:astro/home/djangogirls

done!

Python Django Install Error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.