Welcome, Guest: Join Nairaland / LOGIN! / Trending / Recent / New
Stats: 2,778,525 members, 6,621,094 topics. Date: Tuesday, 07 December 2021 at 08:36 PM

Who Can Decipher This Error For Me? - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Who Can Decipher This Error For Me? (1181 Views)

Algorithms Decipher And Decryption / Decipher This Blog / I Keep Getting This Error Message "Gradle Project Syn Failed... (2) (3) (4)

(1) (Reply) (Go Down)

Who Can Decipher This Error For Me? by ehinmowo: 3:02pm On Nov 04, 2019
good day everyone!

before I post the error, let me quickly give you the background issues behind it. i was using VS code for coding. Planned to switch to jupyter notebook. I downloaded anaconda distributor. the issue now is that the anaconda works fine but none of its contents works. both jupyter and spyder are returninng error. They will only open but i can run any code on them.

jupyter notebook keepys giving kernel error. i have spent about three days on this. updating and downlaoding everything the internet says. the full error message is:

Traceback (most recent call last):
File "C:\Users\pc\AppData\Roaming\Python\Python37\site-packages\tornado\web.py", line 1699, in _execute
result = await result
File "C:\Users\pc\AppData\Roaming\Python\Python37\site-packages\tornado\gen.py", line 742, in run
yielded = self.gen.throw(*exc_info) # type: ignore
File "C:\Users\pc\Anaconda3\lib\site-packages\notebook\services\sessions\handlers.py", line 72, in post
type=mtype))
File "C:\Users\pc\AppData\Roaming\Python\Python37\site-packages\tornado\gen.py", line 735, in run
value = future.result()
File "C:\Users\pc\AppData\Roaming\Python\Python37\site-packages\tornado\gen.py", line 742, in run
yielded = self.gen.throw(*exc_info) # type: ignore
File "C:\Users\pc\Anaconda3\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 88, in create_session
kernel_id = yield self.start_kernel_for_session(session_id, path, name, type, kernel_name)
File "C:\Users\pc\AppData\Roaming\Python\Python37\site-packages\tornado\gen.py", line 735, in run
value = future.result()
File "C:\Users\pc\AppData\Roaming\Python\Python37\site-packages\tornado\gen.py", line 742, in run
yielded = self.gen.throw(*exc_info) # type: ignore
File "C:\Users\pc\Anaconda3\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 101, in start_kernel_for_session
self.kernel_manager.start_kernel(path=kernel_path, kernel_name=kernel_name)
File "C:\Users\pc\AppData\Roaming\Python\Python37\site-packages\tornado\gen.py", line 735, in run
value = future.result()
File "C:\Users\pc\AppData\Roaming\Python\Python37\site-packages\tornado\gen.py", line 209, in wrapper
yielded = next(result)
File "C:\Users\pc\Anaconda3\lib\site-packages\notebook\services\kernels\kernelmanager.py", line 168, in start_kernel
super(MappingKernelManager, self).start_kernel(**kwargs)
File "C:\Users\pc\AppData\Roaming\Python\Python37\site-packages\jupyter_client\multikernelmanager.py", line 110, in start_kernel
km.start_kernel(**kwargs)
File "C:\Users\pc\AppData\Roaming\Python\Python37\site-packages\jupyter_client\manager.py", line 240, in start_kernel
self.write_connection_file()
File "C:\Users\pc\AppData\Roaming\Python\Python37\site-packages\jupyter_client\connect.py", line 476, in write_connection_file
kernel_name=self.kernel_name
File "C:\Users\pc\AppData\Roaming\Python\Python37\site-packages\jupyter_client\connect.py", line 141, in write_connection_file
with secure_write(fname) as f:
File "C:\Users\pc\Anaconda3\lib\contextlib.py", line 112, in __enter__
return next(self.gen)
File "C:\Users\pc\AppData\Roaming\Python\Python37\site-packages\jupyter_core\paths.py", line 404, in secure_write
win32_restrict_file_to_user(fname)
File "C:\Users\pc\AppData\Roaming\Python\Python37\site-packages\jupyter_core\paths.py", line 359, in win32_restrict_file_to_user
import win32api
ImportError: DLL load failed: The specified procedure could not be found.
Re: Who Can Decipher This Error For Me? by Daejoyoung: 6:40pm On Nov 04, 2019
ehinmowo:
good day everyone!

before I post the error, let me quickly give you the background issues behind it. i was using VS code for coding. Planned to switch to jupyter notebook. I downloaded anaconda distributor. the issue now is that the anaconda works fine but none of its contents works. both jupyter and spyder are returninng error. They will only open but i can run any code on them.

jupyter notebook keepys giving kernel error. i have spent about three days on this. updating and downlaoding everything the internet says. the full error message is:

Traceback (most recent call last):
File "C:\Users\pc\AppData\Roaming\Python\Python37\site-packages\tornado\web.py", line 1699, in _execute
result = await result
File "C:\Users\pc\AppData\Roaming\Python\Python37\site-packages\tornado\gen.py", line 742, in run
yielded = self.gen.throw(*exc_info) # type: ignore
File "C:\Users\pc\Anaconda3\lib\site-packages\notebook\services\sessions\handlers.py", line 72, in post
type=mtype))
File "C:\Users\pc\AppData\Roaming\Python\Python37\site-packages\tornado\gen.py", line 735, in run
value = future.result()
File "C:\Users\pc\AppData\Roaming\Python\Python37\site-packages\tornado\gen.py", line 742, in run
yielded = self.gen.throw(*exc_info) # type: ignore
File "C:\Users\pc\Anaconda3\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 88, in create_session
kernel_id = yield self.start_kernel_for_session(session_id, path, name, type, kernel_name)
File "C:\Users\pc\AppData\Roaming\Python\Python37\site-packages\tornado\gen.py", line 735, in run
value = future.result()
File "C:\Users\pc\AppData\Roaming\Python\Python37\site-packages\tornado\gen.py", line 742, in run
yielded = self.gen.throw(*exc_info) # type: ignore
File "C:\Users\pc\Anaconda3\lib\site-packages\notebook\services\sessions\sessionmanager.py", line 101, in start_kernel_for_session
self.kernel_manager.start_kernel(path=kernel_path, kernel_name=kernel_name)
File "C:\Users\pc\AppData\Roaming\Python\Python37\site-packages\tornado\gen.py", line 735, in run
value = future.result()
File "C:\Users\pc\AppData\Roaming\Python\Python37\site-packages\tornado\gen.py", line 209, in wrapper
yielded = next(result)
File "C:\Users\pc\Anaconda3\lib\site-packages\notebook\services\kernels\kernelmanager.py", line 168, in start_kernel
super(MappingKernelManager, self).start_kernel(**kwargs)
File "C:\Users\pc\AppData\Roaming\Python\Python37\site-packages\jupyter_client\multikernelmanager.py", line 110, in start_kernel
km.start_kernel(**kwargs)
File "C:\Users\pc\AppData\Roaming\Python\Python37\site-packages\jupyter_client\manager.py", line 240, in start_kernel
self.write_connection_file()
File "C:\Users\pc\AppData\Roaming\Python\Python37\site-packages\jupyter_client\connect.py", line 476, in write_connection_file
kernel_name=self.kernel_name
File "C:\Users\pc\AppData\Roaming\Python\Python37\site-packages\jupyter_client\connect.py", line 141, in write_connection_file
with secure_write(fname) as f:
File "C:\Users\pc\Anaconda3\lib\contextlib.py", line 112, in __enter__
return next(self.gen)
File "C:\Users\pc\AppData\Roaming\Python\Python37\site-packages\jupyter_core\paths.py", line 404, in secure_write
win32_restrict_file_to_user(fname)
File "C:\Users\pc\AppData\Roaming\Python\Python37\site-packages\jupyter_core\paths.py", line 359, in win32_restrict_file_to_user
import win32api
ImportError: DLL load failed: The specified procedure could not be found.

Have you added the anaconda to your Path in Environment Variables?
Re: Who Can Decipher This Error For Me? by ehinmowo: 8:58pm On Nov 04, 2019
Daejoyoung:
Have you added the anaconda to your Path in Environment Variables?

yes
Re: Who Can Decipher This Error For Me? by Daejoyoung: 2:32pm On Nov 05, 2019
ehinmowo:



yes
Well search on stackoverflow.

One answer from there that may be helpful, is that you pip install pyqt5.

This is the only answer l have seen specific to your problem.
Re: Who Can Decipher This Error For Me? by ehinmowo: 10:36am On Nov 06, 2019
Daejoyoung:

Well search on stackoverflow.

One answer from there that may be helpful, is that you pip install pyqt5.

This is the only answer l have seen specific to your problem.

Thanks. after about fours days of consistent search for solution, I finally found a way around it.
Re: Who Can Decipher This Error For Me? by Daejoyoung: 3:22pm On Nov 06, 2019
ehinmowo:


Thanks. after about fours days of consistent search for solution, I finally found a way around it.
Oh nice, so how did you resolve it?
Re: Who Can Decipher This Error For Me? by ehinmowo: 9:04pm On Nov 06, 2019
Daejoyoung:

Oh nice, so how did you resolve it?


I uninstalled anaconda and use jupyter notebook directly with command prompt. I run the notebook with py -m notebook rather than usual jupyter notebook
Re: Who Can Decipher This Error For Me? by OlamigokePhilip: 9:47pm On Nov 06, 2019
Good evening @OP.. I am just seeing your post, It's great that you've found the solution to this problem.. Welldone.

I will like to share a product i built with you. To allow you document problems and solutions to them, In such a way you can easily share solutions with others. This problem you've encountered and the links to places on the internet you found solution, your opinion and preferred method can be save on Minify and can be easily shared with others. Try documenting this problem on Minify here: https://minify.tech/addnote
Re: Who Can Decipher This Error For Me? by Powersurge: 2:36am On Nov 12, 2019
OlamigokePhilip:
Good evening @OP.. I am just seeing your post, It's great that you've found the solution to this problem.. Welldone.

I will like to share a product i built with you. To allow you document problems and solutions to them, In such a way you can easily share solutions with others. This problem you've encountered and the links to places on the internet you found solution, your opinion and preferred method can be save on Minify and can be easily shared with others. Try documenting this problem on Minify here: https://minify.tech/addnote

This is a very good idea. There are currently no active NIGERIA tech community to share important information. However, you need to really push your site so that it can be known. We I am free, I will check it out.

You can start by employing tech article writers to create some nice topics around it. Who knows, they could hit front page here on NL.
Re: Who Can Decipher This Error For Me? by OlamigokePhilip: 9:13am On Nov 18, 2019
Powersurge:


This is a very good idea. There are currently no active NIGERIA tech community to share important information. However, you need to really push your site so that it can be known. We I am free, I will check it out.

You can start by employing tech article writers to create some nice topics around it. Who knows, they could hit front page here on NL.

Thanks a lot.. I will work on your suggestion. ASAP. Thank you.

(1) (Reply)

Take A Look At Portfolio Website Designed By Taraba Youth. / Point Of Sale Programming / Oracle Database Management

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2021 Oluwaseun Osewa. All rights reserved. See How To Advertise. 100
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.