Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
firefox 37.0.1 ImportError: No module named 'pip._vendor.requests'
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
woshirl
n00b
n00b


Joined: 12 Apr 2015
Posts: 4

PostPosted: Sun Apr 12, 2015 12:30 pm    Post subject: firefox 37.0.1 ImportError: No module named 'pip._vendor.req Reply with quote

Code:
Using Python from environment variable $PYTHON
Creating Python environment
New python executable in /var/tmp/notmpfs/portage/www-client/firefox-37.0.1/work/mozilla-release/ff/_virtualenv/bin/python2.7
Also creating executable in /var/tmp/notmpfs/portage/www-client/firefox-37.0.1/work/mozilla-release/ff/_virtualenv/bin/python
Installing setuptools, pip...
  Complete output from command /var/tmp/notmpfs/por...ualenv/bin/python2.7 -c "import sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip:
  Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/var/tmp/notmpfs/portage/www-client/firefox-37.0.1/work/mozilla-release/python/virtualenv/virtualenv_support/pip-6.0.6-py2.py3-none-any.whl/pip/__init__.py", line 15, in <module>
  File "/var/tmp/notmpfs/portage/www-client/firefox-37.0.1/work/mozilla-release/python/virtualenv/virtualenv_support/pip-6.0.6-py2.py3-none-any.whl/pip/vcs/mercurial.py", line 11, in <module>
  File "/var/tmp/notmpfs/portage/www-client/firefox-37.0.1/work/mozilla-release/python/virtualenv/virtualenv_support/pip-6.0.6-py2.py3-none-any.whl/pip/download.py", line 30, in <module>
  File "/var/tmp/notmpfs/portage/www-client/firefox-37.0.1/work/mozilla-release/python/virtualenv/virtualenv_support/pip-6.0.6-py2.py3-none-any.whl/pip/_vendor/__init__.py", line 81, in load_module
ImportError: No module named 'pip._vendor.requests'
----------------------------------------
...Installing setuptools, pip...done.
Traceback (most recent call last):
  File "/var/tmp/notmpfs/portage/www-client/firefox-37.0.1/work/mozilla-release/python/virtualenv/virtualenv.py", line 2352, in <module>
    main()
  File "/var/tmp/notmpfs/portage/www-client/firefox-37.0.1/work/mozilla-release/python/virtualenv/virtualenv.py", line 825, in main
    symlink=options.symlink)
  File "/var/tmp/notmpfs/portage/www-client/firefox-37.0.1/work/mozilla-release/python/virtualenv/virtualenv.py", line 993, in create_environment
    install_wheel(to_install, py_executable, search_dirs)
  File "/var/tmp/notmpfs/portage/www-client/firefox-37.0.1/work/mozilla-release/python/virtualenv/virtualenv.py", line 961, in install_wheel
    'PIP_NO_INDEX': '1'
  File "/var/tmp/notmpfs/portage/www-client/firefox-37.0.1/work/mozilla-release/python/virtualenv/virtualenv.py", line 903, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /var/tmp/notmpfs/por...ualenv/bin/python2.7 -c "import sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip failed with error code 1
Traceback (most recent call last):
  File "/var/tmp/notmpfs/portage/www-client/firefox-37.0.1/work/mozilla-release/python/mozbuild/mozbuild/virtualenv.py", line 473, in <module>
    manager.ensure()
  File "/var/tmp/notmpfs/portage/www-client/firefox-37.0.1/work/mozilla-release/python/mozbuild/mozbuild/virtualenv.py", line 128, in ensure
    return self.build()
  File "/var/tmp/notmpfs/portage/www-client/firefox-37.0.1/work/mozilla-release/python/mozbuild/mozbuild/virtualenv.py", line 371, in build
    self.create()
  File "/var/tmp/notmpfs/portage/www-client/firefox-37.0.1/work/mozilla-release/python/mozbuild/mozbuild/virtualenv.py", line 147, in create
    raise Exception('Error creating virtualenv.')
Exception: Error creating virtualenv.
------ config.log ------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:1183: checking host system type
configure:1204: checking target system type
configure:1222: checking build system type
configure:1298: checking for mawk
configure:1298: checking for gawk
*** Fix above errors and then restart with\
               "make -f client.mk build"
/var/tmp/notmpfs/portage/www-client/firefox-37.0.1/work/mozilla-release/client.mk:361: recipe for target 'configure' failed
make[2]: *** [configure] Error 1
make[2]: Leaving directory '/var/tmp/notmpfs/portage/www-client/firefox-37.0.1/work/mozilla-release'
/var/tmp/notmpfs/portage/www-client/firefox-37.0.1/work/mozilla-release/client.mk:375: recipe for target '/var/tmp/notmpfs/portage/www-client/firefox-37.0.1/work/mozilla-release/ff/Makefile' failed
make[1]: *** [/var/tmp/notmpfs/portage/www-client/firefox-37.0.1/work/mozilla-release/ff/Makefile] Error 2
make[1]: Leaving directory '/var/tmp/notmpfs/portage/www-client/firefox-37.0.1/work/mozilla-release'
client.mk:171: recipe for target 'build' failed
make: *** [build] Error 2
 * ERROR: www-client/firefox-37.0.1::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=www-client/firefox-37.0.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-client/firefox-37.0.1::gentoo'`.
 * The complete build log is located at '/var/tmp/notmpfs/portage/www-client/firefox-37.0.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/notmpfs/portage/www-client/firefox-37.0.1/temp/environment'.
 * Working directory: '/var/tmp/notmpfs/portage/www-client/firefox-37.0.1/work/mozilla-release'
 * S: '/var/tmp/notmpfs/portage/www-client/firefox-37.0.1/work/mozilla-release'

>>> Failed to emerge www-client/firefox-37.0.1, Log file:

>>>  '/var/tmp/notmpfs/portage/www-client/firefox-37.0.1/temp/build.log'

 * Messages for package www-client/firefox-37.0.1:

 * ERROR: www-client/firefox-37.0.1::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=www-client/firefox-37.0.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-client/firefox-37.0.1::gentoo'`.
 * The complete build log is located at '/var/tmp/notmpfs/portage/www-client/firefox-37.0.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/notmpfs/portage/www-client/firefox-37.0.1/temp/environment'.
 * Working directory: '/var/tmp/notmpfs/portage/www-client/firefox-37.0.1/work/mozilla-release'
 * S: '/var/tmp/notmpfs/portage/www-client/firefox-37.0.1/work/mozilla-release'
Back to top
View user's profile Send private message
woshirl
n00b
n00b


Joined: 12 Apr 2015
Posts: 4

PostPosted: Tue Apr 21, 2015 12:19 am    Post subject: Reply with quote

I have solved this problem, just about python:

1. need openssl:

Code:
emerge -av dev-libs/openssl


2. recompile python with use flag ssl, /etc/portage/package.use.

Code:
emerge -av dev-lang/python:2.7
[/quote]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum