Ask coding questions

← Back to all posts
How do I fix the PyNacl error
OfficerGhost

It tells me the code needs it but when I import PyNacl it doesn't exist

Answered by RYANTADIPARTHI [earned 5 cycles]
View Answer
Voters
OfficerGhost
Comments
hotnewtop
RYANTADIPARTHI

try doing pip install PyNacl. If it doesn't work, it's probably not available in repl.it

do the pip in the shell by the way.

borntowinp2017

@RYANTADIPARTHI Ty so much. it worked for me and fixed my problem

OldWizard209

go to the shell and tun this command:
pip install PyNacl

This will install the package. Refresh the page and it should run.
P.S: You can do this with any package.
@OfficerGhost

OfficerGhost

@OldWizard209 it didn't work