When I tried to update the pdm like this:
<code>> pdm self update
[InvalidSchema]: Missing dependencies for SOCKS support.
Add '-v' to see the detailed traceback
> unset all_proxy
> pdm self update
Installing version 2.15.3 failed:
Looking in indexes: http://admin:****@192.168.50.90:8092/repository/group-pypi/simple
WARNING: The repository located at 192.168.50.90 is not a trusted or secure host and is being ignored. If this repository is available via HTTPS we recommend you use HTTPS
instead, otherwise you may silence this warning and allow it anyway with '--trusted-host 192.168.50.90'.
ERROR: Could not find a version that satisfies the requirement pdm==2.15.3 (from versions: none)
ERROR: No matching distribution found for pdm==2.15.3
WARNING: The repository located at 192.168.50.90 is not a trusted or secure host and is being ignored. If this repository is available via HTTPS we recommend you use HTTPS
instead, otherwise you may silence this warning and allow it anyway with '--trusted-host 192.168.50.90'.
</code>
<code>> pdm self update
[InvalidSchema]: Missing dependencies for SOCKS support.
Add '-v' to see the detailed traceback
> unset all_proxy
> pdm self update
Installing version 2.15.3 failed:
Looking in indexes: http://admin:****@192.168.50.90:8092/repository/group-pypi/simple
WARNING: The repository located at 192.168.50.90 is not a trusted or secure host and is being ignored. If this repository is available via HTTPS we recommend you use HTTPS
instead, otherwise you may silence this warning and allow it anyway with '--trusted-host 192.168.50.90'.
ERROR: Could not find a version that satisfies the requirement pdm==2.15.3 (from versions: none)
ERROR: No matching distribution found for pdm==2.15.3
WARNING: The repository located at 192.168.50.90 is not a trusted or secure host and is being ignored. If this repository is available via HTTPS we recommend you use HTTPS
instead, otherwise you may silence this warning and allow it anyway with '--trusted-host 192.168.50.90'.
</code>
> pdm self update
[InvalidSchema]: Missing dependencies for SOCKS support.
Add '-v' to see the detailed traceback
> unset all_proxy
> pdm self update
Installing version 2.15.3 failed:
Looking in indexes: http://admin:****@192.168.50.90:8092/repository/group-pypi/simple
WARNING: The repository located at 192.168.50.90 is not a trusted or secure host and is being ignored. If this repository is available via HTTPS we recommend you use HTTPS
instead, otherwise you may silence this warning and allow it anyway with '--trusted-host 192.168.50.90'.
ERROR: Could not find a version that satisfies the requirement pdm==2.15.3 (from versions: none)
ERROR: No matching distribution found for pdm==2.15.3
WARNING: The repository located at 192.168.50.90 is not a trusted or secure host and is being ignored. If this repository is available via HTTPS we recommend you use HTTPS
instead, otherwise you may silence this warning and allow it anyway with '--trusted-host 192.168.50.90'.
how to change the indexs url? I have tried pdm config
, and search 192.168.50.90:8092 global in macOS operation system. I also checked the pip3 list
, did not found where config this indexs, what should I do to restore these config? The pdm config look like this:
<code>> pdm config
Site/default configuration (/Library/Application Support/pdm/config.toml):
build_isolation = True
cache_dir = /Users/xiaoqiangjiang/Library/Caches/pdm
check_update = True
global_project.fallback = False
global_project.fallback_verbose = True
global_project.path = /Users/xiaoqiangjiang/Library/Application Support/pdm/global-project
global_project.user_site = False
install.cache = False
install.cache_method = symlink
install.parallel = True
pypi.ignore_stored_index = False
pypi.json_api = False
pypi.url = https://pypi.org/simple
pypi.verify_ssl = True
python.providers = ['venv', 'path', 'asdf', 'pyenv', 'rye', 'winreg', 'macos']
python.use_pyenv = True
python.use_venv = True
strategy.resolve_max_rounds = 10000
strategy.save = minimum
strategy.update = reuse
theme.error = red
theme.info = blue
theme.primary = cyan
theme.req = bold green
theme.success = green
theme.warning = yellow
venv.backend = virtualenv
venv.in_project = True
venv.location = /Users/xiaoqiangjiang/Library/Application Support/pdm/venvs
venv.prompt = {project_name}-{python_version}
venv.with_pip = False
Home configuration (/Users/xiaoqiangjiang/Library/Application Support/pdm/config.toml):
pypi.url = https://pypi.tuna.tsinghua.edu.cn/simple
Project configuration (/Users/xiaoqiangjiang/pdm.toml):
PDM 2.10.4 is installed, while 2.15.3 is available.
Please run `pdm self update` to upgrade.
Run `pdm config check_update false` to disable the check.
</code>
<code>> pdm config
Site/default configuration (/Library/Application Support/pdm/config.toml):
build_isolation = True
cache_dir = /Users/xiaoqiangjiang/Library/Caches/pdm
check_update = True
global_project.fallback = False
global_project.fallback_verbose = True
global_project.path = /Users/xiaoqiangjiang/Library/Application Support/pdm/global-project
global_project.user_site = False
install.cache = False
install.cache_method = symlink
install.parallel = True
pypi.ignore_stored_index = False
pypi.json_api = False
pypi.url = https://pypi.org/simple
pypi.verify_ssl = True
python.providers = ['venv', 'path', 'asdf', 'pyenv', 'rye', 'winreg', 'macos']
python.use_pyenv = True
python.use_venv = True
strategy.resolve_max_rounds = 10000
strategy.save = minimum
strategy.update = reuse
theme.error = red
theme.info = blue
theme.primary = cyan
theme.req = bold green
theme.success = green
theme.warning = yellow
venv.backend = virtualenv
venv.in_project = True
venv.location = /Users/xiaoqiangjiang/Library/Application Support/pdm/venvs
venv.prompt = {project_name}-{python_version}
venv.with_pip = False
Home configuration (/Users/xiaoqiangjiang/Library/Application Support/pdm/config.toml):
pypi.url = https://pypi.tuna.tsinghua.edu.cn/simple
Project configuration (/Users/xiaoqiangjiang/pdm.toml):
PDM 2.10.4 is installed, while 2.15.3 is available.
Please run `pdm self update` to upgrade.
Run `pdm config check_update false` to disable the check.
</code>
> pdm config
Site/default configuration (/Library/Application Support/pdm/config.toml):
build_isolation = True
cache_dir = /Users/xiaoqiangjiang/Library/Caches/pdm
check_update = True
global_project.fallback = False
global_project.fallback_verbose = True
global_project.path = /Users/xiaoqiangjiang/Library/Application Support/pdm/global-project
global_project.user_site = False
install.cache = False
install.cache_method = symlink
install.parallel = True
pypi.ignore_stored_index = False
pypi.json_api = False
pypi.url = https://pypi.org/simple
pypi.verify_ssl = True
python.providers = ['venv', 'path', 'asdf', 'pyenv', 'rye', 'winreg', 'macos']
python.use_pyenv = True
python.use_venv = True
strategy.resolve_max_rounds = 10000
strategy.save = minimum
strategy.update = reuse
theme.error = red
theme.info = blue
theme.primary = cyan
theme.req = bold green
theme.success = green
theme.warning = yellow
venv.backend = virtualenv
venv.in_project = True
venv.location = /Users/xiaoqiangjiang/Library/Application Support/pdm/venvs
venv.prompt = {project_name}-{python_version}
venv.with_pip = False
Home configuration (/Users/xiaoqiangjiang/Library/Application Support/pdm/config.toml):
pypi.url = https://pypi.tuna.tsinghua.edu.cn/simple
Project configuration (/Users/xiaoqiangjiang/pdm.toml):
PDM 2.10.4 is installed, while 2.15.3 is available.
Please run `pdm self update` to upgrade.
Run `pdm config check_update false` to disable the check.