Using .pth files

前端 未结 2 481
耶瑟儿~
耶瑟儿~ 2020-12-02 14:03

I am trying to make a module discoverable on a system where I don\'t have write access to the global site-packages directory, and without changing the environme

2条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-02 14:46

    You can make a .pth (path) file in a directory already in sys.path so it can be included/

提交回复
热议问题