0

I am trying to create project using python, flask and pycharm. While I was deploying the code using "flask deploy" command, I got "OSError: Could not locate nacl lib, searched for libsodium" issue. I could not solve the issue since I am new to python, flask and pycharm. Need help.

davidism
  • 121,510
  • 29
  • 395
  • 339
  • 1
    where do you try to use `flask deploy`? Maybe you should find page with `sodium` or `nacl`, download it and install it. It can be program created with C/C++ (or other language) and you have to install it separatelly (not with `pip`). – furas Jun 22 '22 at 10:23
  • 1
    libsodium: [GitHub](https://github.com/jedisct1/libsodium) and documentation for [installing](https://libsodium.gitbook.io/doc/installation) – furas Jun 22 '22 at 10:28
  • I cloned the repository and did as instructed in the installation document. But getting same issue. – Passang Lhamo Jun 27 '22 at 10:21

1 Answers1

0

I solved this issue by running

sudo apt-get install python3-nacl
elcaos
  • 150
  • 8