当前位置:网站首页>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
p>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
边栏推荐
猜你喜欢
400 times performance improvement 丨 swap valuation optimization case calculation
TCP sticky packet unpacking problem + solution
RNote108---显示R程序的运行进度
(JLK105D)中山爆款LED恒流电源芯片方案
MySQL: JDBC programming
Redis进阶
合工大苍穹战队视觉组培训Day9——相机标定
AI + video technology helps to ensure campus security, how to build a campus intelligent security platform?
Modeling of the MAYA ship
工作3年,回想刚入门和现在的今昔对比,笑谈一下自己的测试生涯
随机推荐
蓝牙gap协议
691. 立方体IV
Rapid Medical's Ultra-Small and Only Adjustable Thromb Retriever Receives FDA Clearance
Flink学习10:使用idea编写WordCount,并打包运行
After working for 3 years, I recalled the comparison between the past and the present when I first started, and joked about my testing career
武田公司2022财年第一季度业绩强劲;正稳步实现全年的管理层指引目标
香港国际珠宝展及香港国际钻石、宝石及珍珠展揭幕
对数据类型而言运算符无效。运算符为 add,类型为 text。
GAN generates anime avatar Pytorch
Mysql master-slave delay reasons and solutions
自媒体人一般会从哪里找素材呢?
浮点数基础知识
在STM32中使用printf函数
Using printf function in STM32
Shiny04---Application of DT and progress bar in shiny
工作3年,回想刚入门和现在的今昔对比,笑谈一下自己的测试生涯
共享内存+inotify机制实现多进程低延迟数据共享
UDP group (multi)cast
[上海]招聘.Net高级软件工程师&BI数据仓库工程师(急)
技术分析模式(七)发挥差距