Question

Installing ERPNExt manually following tutorial : error at step 5

Posted August 8, 2021 79 views
UbuntuMariaDBe-commerce

Good day all

Following the install instructions below to install ERPNext on Ubuntu:

https://www.digitalocean.com/community/tutorials/how-to-install-an-erpnext-stack-on-ubuntu-18-04

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 setup.py egg_info:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-build-ce8tbk4d/cryptography/setup.py", 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: https://pip.pypa.io/en/stable/installing/#upgrading-pip
        =============================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
John

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!