Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

435
Views
pip install django error using virtualenv

I have set the virtual environment having

(website) username[`/public_html/website]

Have django project in /public_html/website directory

When i try to install django using pip install django Gives following error

Collecting django 
Could not find a version that satisfies the requirement django (from versions:)
No mathcing distribution for django

I have tried which pip it gives public_html/website/bin/pip

When I try python manage.py runserver Gives error couldnt import django

How should I install django in virtualenv and then runserver?

EDIT

When tried pip search django got the following error

HTTP error 403 while getting https://pypi.python.org/pypi
Exception:
Traceback (most recent call last):
  File "/home/siddhesh3186/public_html/website/env/lib/python3.4/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/home/siddhesh3186/public_html/website/env/lib/python3.4/site-packages/pip/commands/search.py", line 45, in run
    pypi_hits = self.search(query, options)
  File "/home/siddhesh3186/public_html/website/env/lib/python3.4/site-packages/pip/commands/search.py", line 62, in search
    hits = pypi.search({'name': query, 'summary': query}, 'or')
  File "/home/siddhesh3186/.local/lib/python3.4/xmlrpc/client.py", line 1098, in __call__
    return self.__send(self.__name, args)
  File "/home/siddhesh3186/.local/lib/python3.4/xmlrpc/client.py", line 1437, in __request
    verbose=self.__verbose
  File "/home/siddhesh3186/public_html/website/env/lib/python3.4/site-packages/pip/download.py", line 776, in request
    response.raise_for_status()
  File "/home/siddhesh3186/public_html/website/env/lib/python3.4/site-packages/pip/_vendor/requests/models.py", line 862, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
pip._vendor.requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://pypi.python.org/pypi

This is the error I got

about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Try this: pip search django. What does it show ?

Edit:

Try creating new virtual environment. If problem still persist, create a virtual environment without pip using virtualenv --no-pip, and then install pip using get-pip.py

about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!