代码之家  ›  专栏  ›  技术社区  ›  jordanthompson

将新创建并上载的包添加到pycharm

  •  -1
  • jordanthompson  · 技术社区  · 7 年前
    1. 我在上创建了一个包(thompcoUtils)test.pypi.org网站以及pypi.org网站
    2. https://pypi.org/project/thompcoUtils/ https://test.pypi.org/project/thompcoUtils/
    3. 我添加了存储库 https://test.pypi.org/simple/ https://pypi.org/simple/ 给你魅力。
    4. 我在pycharm中使用虚拟环境

    我可以安装与这两个包

    pip install thompcoUtils 
    

    pip3 install thompcoUtils 
    

    任何建议都会很有帮助!

    当我搜索包时,它不在那里: enter image description here

    enter image description here

    twine upload dist/*
    

    现在我可以从pip3正确地安装(当我更新包版本并上传它时,包就被正确地下载和安装了),但是,我仍然不能在python3脚本中导入它

    0 回复  |  直到 7 年前
        1
  •  0
  •   jordanthompson    7 年前

    这个问题最好用一个简单的方式来问 different way 所以我要回答并结束它。