Running python script from inside virtualenv bin is not working

后端 未结 5 2082
闹比i
闹比i 2020-12-24 06:11

I have a script I want to be available globally. I\'ve started it with the standard hashbang:

#! /usr/bin/env python

And linked it into the

5条回答
  •  自闭症患者
    2020-12-24 06:41

    In case you are using windows, you can include the following line in the top of python file.

    #! P:\Workspace\pythontut\Scripts python
    

提交回复
热议问题