python virtualenv ERROR: unknown command “config”












0















# virtualenv tmp/.venv

New python executable in /root/tmp/.venv/bin/python
Complete output from command /root/tmp/.venv/bin/python -m pip config list:
ERROR: unknown command "config"
----------------------------------------
Traceback (most recent call last):
File "/usr/bin/virtualenv", line 11, in <module>
sys.exit(main())
File "/usr/lib/python2.7/site-packages/virtualenv.py", line 793, in main
symlink=options.symlink,
File "/usr/lib/python2.7/site-packages/virtualenv.py", line 1087, in create_environment
install_wheel(to_install, py_executable, search_dirs, download=download)
File "/usr/lib/python2.7/site-packages/virtualenv.py", line 935, in install_wheel
_install_wheel_with_search_dir(download, project_names, py_executable, search_dirs)
File "/usr/lib/python2.7/site-packages/virtualenv.py", line 964, in _install_wheel_with_search_dir
config = _pip_config(py_executable, python_path)
File "/usr/lib/python2.7/site-packages/virtualenv.py", line 1038, in _pip_config
remove_from_env=["PIP_VERBOSE", "PIP_QUIET"],
File "/usr/lib/python2.7/site-packages/virtualenv.py", line 886, in call_subprocess
raise OSError("Command {} failed with error code {}".format(cmd_desc, proc.returncode))
OSError: Command /root/tmp/.venv/bin/python -m pip config list failed with error code 1









share|improve this question



























    0















    # virtualenv tmp/.venv

    New python executable in /root/tmp/.venv/bin/python
    Complete output from command /root/tmp/.venv/bin/python -m pip config list:
    ERROR: unknown command "config"
    ----------------------------------------
    Traceback (most recent call last):
    File "/usr/bin/virtualenv", line 11, in <module>
    sys.exit(main())
    File "/usr/lib/python2.7/site-packages/virtualenv.py", line 793, in main
    symlink=options.symlink,
    File "/usr/lib/python2.7/site-packages/virtualenv.py", line 1087, in create_environment
    install_wheel(to_install, py_executable, search_dirs, download=download)
    File "/usr/lib/python2.7/site-packages/virtualenv.py", line 935, in install_wheel
    _install_wheel_with_search_dir(download, project_names, py_executable, search_dirs)
    File "/usr/lib/python2.7/site-packages/virtualenv.py", line 964, in _install_wheel_with_search_dir
    config = _pip_config(py_executable, python_path)
    File "/usr/lib/python2.7/site-packages/virtualenv.py", line 1038, in _pip_config
    remove_from_env=["PIP_VERBOSE", "PIP_QUIET"],
    File "/usr/lib/python2.7/site-packages/virtualenv.py", line 886, in call_subprocess
    raise OSError("Command {} failed with error code {}".format(cmd_desc, proc.returncode))
    OSError: Command /root/tmp/.venv/bin/python -m pip config list failed with error code 1









    share|improve this question

























      0












      0








      0








      # virtualenv tmp/.venv

      New python executable in /root/tmp/.venv/bin/python
      Complete output from command /root/tmp/.venv/bin/python -m pip config list:
      ERROR: unknown command "config"
      ----------------------------------------
      Traceback (most recent call last):
      File "/usr/bin/virtualenv", line 11, in <module>
      sys.exit(main())
      File "/usr/lib/python2.7/site-packages/virtualenv.py", line 793, in main
      symlink=options.symlink,
      File "/usr/lib/python2.7/site-packages/virtualenv.py", line 1087, in create_environment
      install_wheel(to_install, py_executable, search_dirs, download=download)
      File "/usr/lib/python2.7/site-packages/virtualenv.py", line 935, in install_wheel
      _install_wheel_with_search_dir(download, project_names, py_executable, search_dirs)
      File "/usr/lib/python2.7/site-packages/virtualenv.py", line 964, in _install_wheel_with_search_dir
      config = _pip_config(py_executable, python_path)
      File "/usr/lib/python2.7/site-packages/virtualenv.py", line 1038, in _pip_config
      remove_from_env=["PIP_VERBOSE", "PIP_QUIET"],
      File "/usr/lib/python2.7/site-packages/virtualenv.py", line 886, in call_subprocess
      raise OSError("Command {} failed with error code {}".format(cmd_desc, proc.returncode))
      OSError: Command /root/tmp/.venv/bin/python -m pip config list failed with error code 1









      share|improve this question














      # virtualenv tmp/.venv

      New python executable in /root/tmp/.venv/bin/python
      Complete output from command /root/tmp/.venv/bin/python -m pip config list:
      ERROR: unknown command "config"
      ----------------------------------------
      Traceback (most recent call last):
      File "/usr/bin/virtualenv", line 11, in <module>
      sys.exit(main())
      File "/usr/lib/python2.7/site-packages/virtualenv.py", line 793, in main
      symlink=options.symlink,
      File "/usr/lib/python2.7/site-packages/virtualenv.py", line 1087, in create_environment
      install_wheel(to_install, py_executable, search_dirs, download=download)
      File "/usr/lib/python2.7/site-packages/virtualenv.py", line 935, in install_wheel
      _install_wheel_with_search_dir(download, project_names, py_executable, search_dirs)
      File "/usr/lib/python2.7/site-packages/virtualenv.py", line 964, in _install_wheel_with_search_dir
      config = _pip_config(py_executable, python_path)
      File "/usr/lib/python2.7/site-packages/virtualenv.py", line 1038, in _pip_config
      remove_from_env=["PIP_VERBOSE", "PIP_QUIET"],
      File "/usr/lib/python2.7/site-packages/virtualenv.py", line 886, in call_subprocess
      raise OSError("Command {} failed with error code {}".format(cmd_desc, proc.returncode))
      OSError: Command /root/tmp/.venv/bin/python -m pip config list failed with error code 1






      python virtualenv






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 31 at 8:26









      Gary AllenGary Allen

      1




      1






















          1 Answer
          1






          active

          oldest

          votes


















          0














          the problem is virtualenv is picking up old version of pip. this is an issue with vituelenv==16.3.0, and downgrading to 16.2.0 fixes it. This is fixed in https://github.com/pypa/virtualenv/pull/1303 for future releases






          share|improve this answer


























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1400430%2fpython-virtualenv-error-unknown-command-config%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            the problem is virtualenv is picking up old version of pip. this is an issue with vituelenv==16.3.0, and downgrading to 16.2.0 fixes it. This is fixed in https://github.com/pypa/virtualenv/pull/1303 for future releases






            share|improve this answer






























              0














              the problem is virtualenv is picking up old version of pip. this is an issue with vituelenv==16.3.0, and downgrading to 16.2.0 fixes it. This is fixed in https://github.com/pypa/virtualenv/pull/1303 for future releases






              share|improve this answer




























                0












                0








                0







                the problem is virtualenv is picking up old version of pip. this is an issue with vituelenv==16.3.0, and downgrading to 16.2.0 fixes it. This is fixed in https://github.com/pypa/virtualenv/pull/1303 for future releases






                share|improve this answer















                the problem is virtualenv is picking up old version of pip. this is an issue with vituelenv==16.3.0, and downgrading to 16.2.0 fixes it. This is fixed in https://github.com/pypa/virtualenv/pull/1303 for future releases







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jan 31 at 19:28

























                answered Jan 31 at 19:21









                ashash

                162




                162






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1400430%2fpython-virtualenv-error-unknown-command-config%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Plaza Victoria

                    In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

                    How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...