当前位置:网站首页>In the anaconda Promat interface, import torch is passed, and the error is reported in the jupyter notebook (only provide ideas and understanding!)
In the anaconda Promat interface, import torch is passed, and the error is reported in the jupyter notebook (only provide ideas and understanding!)
2022-08-05 07:11:00 【like a few dollars】
This article is only for personal understanding, I hope for advice, it will be beneficial and better!
In order to complete a project one day, I started to install tensorflow. I found countless blogs on the Internet, thinking about downloading it quickly.
but! but! two thousand hours latter~
After trying to download tensorflow from countless bloggers, I typed import tensorflow in Jupyter Notebook and got an error!Not only can't import the tensorflow package, but import torch will report an error!I think it should be the result of my own random operations...
Two thousand hours latter~
Some ideas were born, hoping to solve some of the problems of our friends!
—————————————————————————————————————————————
Through n operations, I understand it like this:
1. Create a virtual environment (name as needed)
2. Jupyter Notebook should be installed in the virtual environment

The default base (root), click install to download jupyter, Launch indicates that it has been downloaded!
3. Pytorch can be installed in the base environment.
—————————————————————————————————————————————
My problem is finally solved: modify the kernel (kernel)
Click on Jupyter Notebook(anaconda3) to open 
Click New, you can see that I have randomly created several virtual environments of TF3, py36, pytorch, tensorflow, and finally I used root.
It seems that it is because I loaded the kernel in the base, my impression is this~

How to say, it is better to read and try more about configuring the environment. I believe that it will always succeed. Everyone is in a different situation. Maybe the first blog you found was successful, or maybe the 99th blog was successful.Harvest inspiration, but there is bound to be a harvest!
2022/8/3
边栏推荐
猜你喜欢

原来使Maya Arnold也能渲染出高质量作品!超赞小技巧

Falsely bamboo brother today and found a localization of API to use tools

Day9 of Hegong Daqiong team vision team training - camera calibration

TCP的粘包拆包问题+解决方案

(JLK105D)中山爆款LED恒流电源芯片方案

Redis

golang-条件语句

任务流调度工具AirFlow,,220804,,

Summary of Text Characterization Methods

Tencent Internship Summary
随机推荐
Mysql为什么 建立数据库失败
女生做软件测试会不会成为一个趋势?
工作3年,回想刚入门和现在的今昔对比,笑谈一下自己的测试生涯
TCP sticky packet unpacking problem + solution
Shiny04---Application of DT and progress bar in shiny
开启防火墙iptable规则后,系统网络变慢
693. 行程排序
mysql使用in函数的一个小问题
腾讯实习总结
[Tool Configuration] Summary of Common Uses of VSCode
PCI Pharma Services宣布斥资数百万美元扩建英国制造设施,以满足市场对支持肿瘤治疗的全球高效药制造服务日益增长的需求
腾讯业务安全岗 IDP 谈话总结
基于快速行进平方法的水面无人船路径规划
技术分析模式(七)发挥差距
AH8669-AC380/VAC220V转降5V12V24V500MA内电源芯片IC方案
How to avoid online memory leaks
2022杭电多校六 1007-Shinobu loves trip(同余方程)
Shiny02---Shiny exception solution
AI + video technology helps to ensure campus security, how to build a campus intelligent security platform?
Tencent Business Security Post IDP Talk Summary