Issue with virtualenv - cannot activate

前端 未结 25 1991
借酒劲吻你
借酒劲吻你 2020-12-04 05:20

I created a virtualenv around my project, but when I try to activate it I cannot. It might just be syntax or folder location, but I am stumped right now.

You can see

25条回答
  •  离开以前
    2020-12-04 05:51

    I was also facing the same issue in my Windows 10 machine. What steps i tried were:

    Go to andconda terminal Step 1

    pip3 install -U pip virtualenv
    

    Step 2

    virtualenv --system-site-packages -p python ./venv
    

    or

    virtualenv --system-site-packages -p python3 ./venv
    

    Step 3

    .\venv\Scripts\activate
    

    You can check it via spider tool in anaconda by typing import tensorflow as tf

提交回复
热议问题