简体   繁体   English

在 conda 环境中启动 jupyter 的错误消息

[英]Error message launching jupyter in conda environment

I created a new conda env: conda create -n test_env我创建了一个新的 conda env: conda create -n test_env

python 3.8 was installed (remark: my python is 3.7.3 under windows10 and anaconda) python 3.8已安装(备注:我的python在windows10和anaconda下是3.7.3)

When launching jupyter notebook in this environment I got the following error (translated in english):在此环境中启动 jupyter notebook 时出现以下错误(英文翻译):

The entry point of procedure?PyWinObject_FromULARGE_INTEGR@@YAPEAU_object@@AEBT_ULARGE_INTEGER@@@Z can't be found in the dynamic link libary <~user>AppData\Local\Continuum\anaconda3\envs\test_env\Library\bin\pythoncom37.dll.在动态链接库<~user>AppData\Local\Continuum\anaconda3\envs\test_env\Library\bin\pythoncom37.dll中找不到过程的入口点? .

I create again (after removal): conda create -n test_env python=3.7我再次创建(删除后): conda create -n test_env python=3.7

and got same issue并遇到了同样的问题

When using already existing conda envs no issue, just on the new ones.当使用已经存在的 conda envs 时没有问题,只是在新的。

Thank you for your help.谢谢您的帮助。

在此处输入图像描述

I followed this link , though it couldn't solve my problem.跟着这个链接,虽然它不能解决我的问题。

  1. it's not only while starting jupyter不仅是在启动 jupyter 时
  2. It also happened when I started spyder (from anaconda prompt) in the new env当我在新环境中启动 spyder (从 anaconda 提示符)时也发生了这种情况
  3. When importing tensorflow in the new env.在新环境中导入 tensorflow 时。

This solved for me => deleted pythoncomXX.dll in the exact folder (<~user>AppData\Local\Continuum\anaconda3\envs\test_env\Library\bin\pythoncom37.dll.) and I never encountered the same problem => in the all the three cases mentioned above.这为我解决了=>删除了确切文件夹中的pythoncomXX.dll(<~user>AppData\Local\Continuum\anaconda3\envs\test_env\Library\bin\pythoncom37.dll。)我从来没有遇到过同样的问题=>在上面提到的所有三种情况。

Try typing it again.尝试再次输入。 You might've typed it wrong, or maybe it's a problem from the computer.你可能打错了,也可能是电脑问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM