This is my setup.py file
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='test',
version='0.1',
description='',
author='',
author_email='',
install_requires=[
'django >= 1.2.3',
'pyxmlsec',
'south',
'lxml',
'xlrd'
],
packages=find_packages(exclude=['ez_setup']),
include_package_data=True,
test_suite='nose.collector',
)
After running the command python setup.py install , it installs the .egg in my site_packges but while installing the dependencies it throws errors :
Processing dependencies for test==0.1
Searching for lxml
Reading https://pypi.python.org/simple/lxml/
Download error on https://pypi.python.org/simple/lxml/: timed out -- Some packages may not be found!
Couldn't find index page for 'lxml' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: timed out -- Some packages may not be found!
No local packages or download links found for lxml
error: Could not find suitable distribution for Requirement.parse('lxml')
Not only for lxml module,the same error is happening for all other modules like xlrd . The attempted pypi link is fine with the source code . So what can be the solution? Thanks in Advance.
pip install lxmloreasy_install lxmlsetup.py.