Running non-system Python with virtualenv in 32bit mode on OS X

前端 未结 1 639
轻奢々
轻奢々 2021-02-14 01:16

Short Question
Using virtualenv / virtualenvwrapper is it possible to add a prefix to the python call that linked to a specific virtual environ

相关标签:
1条回答
  • 2021-02-14 01:48

    Adding an alias to your activate script, and activating your virtualenv each type you want to use it.

    $ cd env32
    $ echo "alias python='arch -i386 python'" >> bin/activate
    $ source bin/activate
    $ python myscript.py
    
    0 讨论(0)
提交回复
热议问题