当前位置:   article > 正文

macos vscode 激活虚拟环境

macos vscode 激活虚拟环境

source activate + activate的路径报错

解决:cd到activate下的文件下 直接source activate 解决

  1. (base) dearr@dearrdeMacBook-Air 时序作业 % /Applications/文件/派森/时序作业/.venv/bin/activat
  2. zsh: no such file or directory: /Applications/文件/派森/时序作业/.venv/bin/activat
  3. (base) dearr@dearrdeMacBook-Air 时序作业 % source activate /Applications/文件/派森/时序作业/.venv/bin/activate
  4. EnvironmentLocationNotFound: Not a conda environment: /Applications/文件/派森/时序作业/.venv/bin/activate
  5. (base) dearr@dearrdeMacBook-Air 时序作业 % cd .
  6. (base) dearr@dearrdeMacBook-Air 时序作业 % ls
  7. AirPassengers.csv arima2.ipynb data.txt
  8. DroidSansFallback.ttf arima3.ipynb runoff.xlsx
  9. arima.ipynb arima4.ipynb 附件1-区域15分钟负荷数据.csv
  10. (base) dearr@dearrdeMacBook-Air 时序作业 % cd .
  11. (base) dearr@dearrdeMacBook-Air 时序作业 % ls
  12. AirPassengers.csv arima2.ipynb data.txt
  13. DroidSansFallback.ttf arima3.ipynb runoff.xlsx
  14. arima.ipynb arima4.ipynb 附件1-区域15分钟负荷数据.csv
  15. (base) dearr@dearrdeMacBook-Air 时序作业 % cd .venv
  16. (base) dearr@dearrdeMacBook-Air .venv % ls
  17. bin include lib pyvenv.cfg share
  18. (base) dearr@dearrdeMacBook-Air .venv % cd bin/
  19. (base) dearr@dearrdeMacBook-Air bin % ls
  20. Activate.ps1 f2py jupyter-kernel jupyter-troubleshoot pygmentize
  21. activate ipython jupyter-kernelspec pip python
  22. activate.csh ipython3 jupyter-migrate pip3 python3
  23. activate.fish jupyter jupyter-run pip3.11 python3.11
  24. (base) dearr@dearrdeMacBook-Air bin % source activate

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/AllinToyou/article/detail/513543
推荐阅读
相关标签
  

闽ICP备14008679号