This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: unable to install mongo-python-driver-3.0.3 driver
Type: behavior Stage: resolved
Components: Installation Versions: Python 2.7
process
Status: closed Resolution: third party
Dependencies: Superseder:
Assigned To: Nosy List: r.david.murray, siva
Priority: normal Keywords:

Created on 2015-09-15 18:33 by siva, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg250791 - (view) Author: (siva) Date: 2015-09-15 18:33
Hi There, I am using Python 2.7.10. When I am trying to install mongo-python-driver-3.0.3 driver it's showing an error. Here, I am attaching the screenshot taken from my machine.
Thanks in advance for you quick help.

[root@localhost mongo-python-driver-3.0.3]# whereis python
python: /usr/bin/python /usr/bin/python2.4 /usr/lib/python2.4 /usr/local/bin/python2.7-config /usr/local/bin/python2.7 /usr/local/bin/python /usr/local/lib/python2.7 /usr/include/python2.4 /usr/share/man/man1/python.1.gz
[root@localhost mongo-python-driver-3.0.3]# which python
/usr/local/bin/python
[root@localhost mongo-python-driver-3.0.3]# python -V
Python 2.7.10
[root@localhost mongo-python-driver-3.0.3]# pwd
/root/mongo-python-driver-3.0.3
[root@localhost mongo-python-driver-3.0.3]# ls
bson  CONTRIBUTING.rst  doc  ez_setup.py  green_framework_test.py  gridfs  LICENSE  MANIFEST.in  pymongo  README.rst  RELEASE.rst  setup.py  test  tools  tox.ini
[root@localhost mongo-python-driver-3.0.3]# python setup.py install
Downloading https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz
Traceback (most recent call last):
  File "setup.py", line 20, in <module>
    use_setuptools()
  File "/root/mongo-python-driver-3.0.3/ez_setup.py", line 132, in use_setuptools
    return _do_download(version, download_base, to_dir, download_delay)
  File "/root/mongo-python-driver-3.0.3/ez_setup.py", line 110, in _do_download
    to_dir, download_delay)
  File "/root/mongo-python-driver-3.0.3/ez_setup.py", line 290, in download_setuptools
    downloader(url, saveto)
  File "/root/mongo-python-driver-3.0.3/ez_setup.py", line 215, in download_file_wget
    _clean_check(cmd, target)
  File "/root/mongo-python-driver-3.0.3/ez_setup.py", line 160, in _clean_check
    subprocess.check_call(cmd)
  File "/usr/local/lib/python2.7/subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['wget', 'https://pypi.python.org/packages/source/s/setuptools/setuptools-1.4.2.tar.gz', '--quiet', '--output-document', '/root/mongo-python-driver-3.0.3/setuptools-1.4.2.tar.gz']' returned non-zero exit status 1
msg250796 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2015-09-15 19:02
This tracker is for bugs in python itself.  You should report this to the mongo-python-driver project.  (If they find there really is a problem in python, which doesn't look likely from your traceback, a new issue with specifics can be opened.)
History
Date User Action Args
2022-04-11 14:58:21adminsetgithub: 69319
2015-09-15 19:02:34r.david.murraysetstatus: open -> closed

nosy: + r.david.murray
messages: + msg250796

resolution: third party
stage: resolved
2015-09-15 18:33:18sivacreate