question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pip config set global.index error

See original GitHub issue

Environment

  • pip version: 10.0.1
  • Python version: 3.7.0 in Anaconda 5.3.1
  • OS: Win7 Professional SP1 x64

Description

When I tryed to type the command ‘pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple’ in cmd, the bug is reported: ‘Fatal Internal error [id=2]. Please report as a bug.’

Expected behavior

I wish the configuration would be seccussed and I could download packages from the proxy server.

How to Reproduce

  1. Install Anaconda 5.3.1 with pip 10.0.1;
  2. Then run ‘pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple’ in cmd;
  3. An error occurs.

Output

Paste the output of the steps above, including the commands themselves and
pip's output/traceback etc.

‘Fatal Internal error [id=2]. Please report as a bug.’

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
DavidBordcommented, May 11, 2019

@pradyunsg following our conversation at pycon, I tried working on this issue but I wasn’t able to reproduce. @w-xy can you please try and reproduce it again? a screenshot might help as well

0reactions
pradyunsgcommented, Jun 8, 2019

Hah! So this is fixed! Thanks @xavfernandez! (and @DavidBord!)

I just realized David even commented on this issue. 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

pip config - pip documentation v22.3.1
Manage local and global configuration. Subcommands: list: List the active configuration (or from the file specified). edit: Edit the configuration file in an ......
Read more >
Can pip.conf specify two index-url at the same time?
So, i want to know if pip support specify more than one index-url in [global] section in pip. conf .
Read more >
pipconf - PyPI
PIPCONF - The PIP configuration manager. If you need to manage multiple configurations containing indexes and trusted hosts for PIP, ...
Read more >
Adding a global config to specify package indexes
Right now, each tool must have its own config, which is not optimal. Most users will have their custom indexes in pip.conf ,...
Read more >
pip-config(1) - Arch manual pages
Configuration keys should be dot separated command and option name, with the special prefix "global" affecting any command. For example, "pip config set...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found