Installing ERPNExt manually following tutorial : error at step 5

Posted August 8, 2021 239 views

Good day all

Following the install instructions below to install ERPNext on Ubuntu:

I have used this tutorial before ( 1 year ago) and I cannot recall that I bumped my head on this error.

I created a fresh droplet (4vcpu 8G )

Followed steps 1-4 … all went well

At step 5 when entering this command:
sudo -H python3 -m pip install –upgrade setuptools cryptography psutil

I get the error:

Complete output from command python egg_info:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-build-ce8tbk4d/cryptography/", line 14, in <module>
    from setuptools_rust import RustExtension
ModuleNotFoundError: No module named 'setuptools_rust'

        =============================DEBUG ASSISTANCE==========================
        If you are seeing an error here please try the following to
        successfully install cryptography:

        Upgrade to the latest pip and try again. This will fix errors for most
        users. See:
        =============================DEBUG ASSISTANCE==========================

I went to the suggestged website which offered 2 possible ways of solving the
problem but the first also failed.

Can someone perhaps offer some assistance

Many thanks

Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!