Giter Site home page Giter Site logo

brandonxiang / psm Goto Github PK

View Code? Open in Web Editor NEW
31.0 5.0 14.0 11 KB

Pypi Source Manager: fast switch between different Pypi Source: Pypi, double, aliyun

Home Page: https://github.com/brandonxiang/psm

License: MIT License

Python 100.00%
pypi python douban aliyun pypi-source psm

psm's Introduction

psm's People

Contributors

brandonxiang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

psm's Issues

项目发展建议

  1. 添加项目测试;
  2. 增加 psm 易用度,比如直接使用 psm ls 而不是 python -m psm ls
  3. 添加到 pypi 的链接,以 Website 或者 badge 等形式。

configparser.NoSectionError: No section: 'global'

问题

>>> python -m psm show
Traceback (most recent call last):
  File "C:\Software\Miniconda3\envs\data\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Software\Miniconda3\envs\data\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Software\Miniconda3\envs\data\lib\site-packages\psm.py", line 77, in <module>
    main()
  File "C:\Software\Miniconda3\envs\data\lib\site-packages\psm.py", line 73, in main
    show()
  File "C:\Software\Miniconda3\envs\data\lib\site-packages\psm.py", line 57, in show
    index_url = conf.get("global", "index-url")
  File "C:\Software\Miniconda3\envs\data\lib\configparser.py", line 780, in get
    d = self._unify_values(section, vars)
  File "C:\Software\Miniconda3\envs\data\lib\configparser.py", line 1146, in _unify_values
    raise NoSectionError(section) from None
configparser.NoSectionError: No section: 'global'

环境

Python 3.7.3

原因

不存在 ~/.pip/pip.config 仅存在 ~/pip/pip.ini 则可能是版本问题?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.