I have standalone box with python packages downloaded and no internet connection. And when I tried to execute
/usr/bin/pip install --no-download -r ./installer/requirements -b ./installer/SOURCES/python-modules-sources --install-option=--prefix=/somepath/tmp
It is hanging when "Running setup.py install for twisted"
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.6 -c conftest.c -o conftest.o
building 'twisted.runner.portmap' extension
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.6 -c twisted/runner/portmap.c -o build/temp.linux-x86_64-2.6/twisted/runner/portmap.o
gcc -pthread -shared build/temp.linux-x86_64-2.6/twisted/runner/portmap.o -L/usr/lib64 -lpython2.6 -o build/lib.linux-x86_64-2.6/twisted/runner/portmap.so
This is how my "requriements" file looks,
django==1.6.8
django-evolution==0.7.4
django-pipeline==1.3.25
django-haystack==2.3.1
argparse==1.3.0
markdown==2.4.1
mimeparse==0.1.3
recaptcha-client==1.0.6
SOAPpy==0.12.5
PyXB
python-dateutil==1.5
python-memcached==1.53
paramiko==1.15.1
Pygments==1.6
pytz==2014.7
feedparser==5.1.3
ecdsa==0.11
jsmin==2.0.6
docutils==0.12
fpconst==0.7.2
futures==2.2.0
pillowfight==0.2
Whoosh==2.6.0
wstools==0.3
twisted==13.2.0
backports.ssl-match-hostname==3.5.0.1
tornado==3.2
zope.interface==4.0.5
pycrypto==2.6.1
pip --version
pip 1.1 from /usr/lib/python2.6/site-packages (python 2.6)
python --version
Python 2.6.6
If I issue ctrl+C after 15 to 20 mins, I could not see any error message.
I see only the following in /root/.pip/pip.log,
gcc -pthread -shared build/temp.linux-x86_64-2.6/twisted/runner/portmap.o -L/usr/lib64 -lpython2.6 -o build/lib.linux-x86_64-2.6/twisted/runner/portmap.so
Operation cancelled by user
Exception information:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/pip/basecommand.py", line 104, in main
status = self.run(options, args)
File "/usr/lib/python2.6/site-packages/pip/commands/install.py", line 250, in run
requirement_set.install(install_options, global_options)
File "/usr/lib/python2.6/site-packages/pip/req.py", line 1133, in install
requirement.install(install_options, global_options)
File "/usr/lib/python2.6/site-packages/pip/req.py", line 577, in install
cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
File "/usr/lib/python2.6/site-packages/pip/__init__.py", line 230, in call_subprocess
line = console_to_str(stdout.readline())
KeyboardInterrupt
Would anyone please help me to fix this issue ? Where it is going wrong and what is missing ?
-- /usr/bin/pip install --no-download -r ./installer/requirements -b ./installer/SOURCES/python-modules-sources --install-option=--prefix=/somepath/tmp
It is hanging when "Running setup.py install for twisted"
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.6 -c conftest.c -o conftest.o
building 'twisted.runner.portmap' extension
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.6 -c twisted/runner/portmap.c -o build/temp.linux-x86_64-2.6/twisted/runner/portmap.o
gcc -pthread -shared build/temp.linux-x86_64-2.6/twisted/runner/portmap.o -L/usr/lib64 -lpython2.6 -o build/lib.linux-x86_64-2.6/twisted/runner/portmap.so
This is how my "requriements" file looks,
django==1.6.8
django-evolution==0.7.4
django-pipeline==1.3.25
django-haystack==2.3.1
argparse==1.3.0
markdown==2.4.1
mimeparse==0.1.3
recaptcha-client==1.0.6
SOAPpy==0.12.5
PyXB
python-dateutil==1.5
python-memcached==1.53
paramiko==1.15.1
Pygments==1.6
pytz==2014.7
feedparser==5.1.3
ecdsa==0.11
jsmin==2.0.6
docutils==0.12
fpconst==0.7.2
futures==2.2.0
pillowfight==0.2
Whoosh==2.6.0
wstools==0.3
twisted==13.2.0
backports.ssl-match-hostname==3.5.0.1
tornado==3.2
zope.interface==4.0.5
pycrypto==2.6.1
pip --version
pip 1.1 from /usr/lib/python2.6/site-packages (python 2.6)
python --version
Python 2.6.6
If I issue ctrl+C after 15 to 20 mins, I could not see any error message.
I see only the following in /root/.pip/pip.log,
gcc -pthread -shared build/temp.linux-x86_64-2.6/twisted/runner/portmap.o -L/usr/lib64 -lpython2.6 -o build/lib.linux-x86_64-2.6/twisted/runner/portmap.so
Operation cancelled by user
Exception information:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/pip/basecommand.py", line 104, in main
status = self.run(options, args)
File "/usr/lib/python2.6/site-packages/pip/commands/install.py", line 250, in run
requirement_set.install(install_options, global_options)
File "/usr/lib/python2.6/site-packages/pip/req.py", line 1133, in install
requirement.install(install_options, global_options)
File "/usr/lib/python2.6/site-packages/pip/req.py", line 577, in install
cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
File "/usr/lib/python2.6/site-packages/pip/__init__.py", line 230, in call_subprocess
line = console_to_str(stdout.readline())
KeyboardInterrupt
Would anyone please help me to fix this issue ? Where it is going wrong and what is missing ?
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/3f93474b-4647-4bb8-8787-47104b17517f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment