📌  相关文章
📜  ImportError: Cann - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:04.731000             🧑  作者: Mango

代码示例1
# Make sure you have virtualenv set up on the directory your working on.
# To set up virtualenv, first download it (If you haven't yet)
# Do it by typing in this on the terminal: 
  pip install virtualenv 

# Then activate the virtual environment by doing these steps on the terminal
python -m venv venv # Or
python3 -m venv venv

# Then do this to activate it:
cd myproject/venv/Scripts/activate