pip install a local git repository

后端 未结 3 1121
忘了有多久
忘了有多久 2021-01-30 02:59

I can\'t find the correct way to install a local directory as a python package using pip.

(venv) C:\\(...)>pip install . --no-index
Ignoring indexes: http://p         


        
3条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-30 03:48

    I can also just use:

    cd your-local-repo
    pip install -e .
    

    or

    python setup.py install develop
    

提交回复
热议问题