Calling IPython from a virtualenv

前端 未结 8 2003
既然无缘
既然无缘 2020-12-12 13:34

I understand that IPython is not virtualenv-aware and that the most logical solution to this is to install ipython in each virtualenv seperately using

pip i         


        
8条回答
  •  醉酒成梦
    2020-12-12 14:12

    The answer given by @SiddharthaRT is good! Following this approach, it is simpler for me just:

    python -m IPython
    

    This will use the module IPython through the python bin, ensuring that it refers to the bin from the virtual env.

提交回复
热议问题