python - Cannot run Hello World Open -


i competing in hwo2014, yet cannot run bot. here build file provided with, alongside run file:

  • build:

    #!/bin/bash  virtualenv env --no-site-packages --distribute  source env/bin/activate 
  • run:

    #!/bin/bash  source env/bin/activate  python main.py "$@" 

however, when run ./build on mingw terminal, following error reported:

./build: line 3: virtualenv: command not found ./build: line 5: env/bin/activate: no such file or directory 

what error mean? how prevent it?

you need install virtualenv on machine. run file bash script saying go newly created virtual environment before running python script. more info can found on the official virtualenv docs.


Comments

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

How to use vim as editor in Matlab GUI -