I am using linux mint on my computer.I don’t have ubuntu server.So, I have to install BOLT PYTHON LIBRARY in mint.
Running these two command
sudo apt-get -y update
sudo apt install python3-pip
does not produce any error
but when I run this (sudo pip3 install boltiot) command I am getting this error
/*************************************************************************
WARNING: The directory ‘/home/emes/.cache/pip/http’ or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo’s -H flag.
WARNING: The directory ‘/home/emes/.cache/pip’ or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo’s -H flag.
Collecting boltiot
Downloading https://files.pythonhosted.org/packages/e1/6d/1b9c4664e1c04ce23233e1e88b8209aeec4ffa9f0fd0ce9b136a99f47d98/boltiot-1.11.tar.gz
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-install-odb_av9c/boltiot/setup.py’"’"’; file=’"’"’/tmp/pip-install-odb_av9c/boltiot/setup.py’"’"’;f=getattr(tokenize, ‘"’"‘open’"’"’, open)(file);code=f.read().replace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ egg_info --egg-base pip-egg-info
cwd: /tmp/pip-install-odb_av9c/boltiot/
Complete output (3 lines):
Traceback (most recent call last):
File “”, line 1, in
ModuleNotFoundError: No module named ‘setuptools’
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
***********************************************************************************/
I tried these command also
export LC_ALL=“en_US.UTF-8”
export LC_CTYPE=“en_US.UTF-8”
sudo dpkg-reconfigure locales
but nothing works.