Closed jwaltrip4 closed 2 years ago
Sorry I missed this, I would suggest making sure the ultrasonics folder permissions are correct.
In the ultrasonics
folder try:
ls -l
And check that each folder is owned by your user. If some are owned by root
you can use the below command to change ownership:
sudo chown -R [user]:[user] /opt/ultrasonics/
Replacing [user] with your username.
I'm gonna close this, no response from OP and likely not an ultrasonics specific problem anyway
Building wheels for collected packages: python-Levenshtein Building wheel for python-Levenshtein (setup.py) ... error
ERROR: Command errored out with exit status 1: command: /opt/ultrasonics/.venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-g8c2hwdu/python-Levenshtein/setup.py'"'"'; file='"'"'/tmp/pip-install-g8c2hwdu/python-Levenshtein/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-a21zbsrf cwd: /tmp/pip-install-g8c2hwdu/python-Levenshtein/ Complete output (6 lines): usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help
error: invalid command 'bdist_wheel'
ERROR: Failed building wheel for python-Levenshtein Running setup.py clean for python-Levenshtein Failed to build python-Levenshtein Installing collected packages: Werkzeug, MarkupSafe, Jinja2, itsdangerous, click, Flask, python-engineio, bidict, python-socketio, Flask-SocketIO, greenlet, six, monotonic, dnspython, eventlet, mutagen, urllib3, certifi, chardet, idna, requests, fuzzywuzzy, python-Levenshtein, spotipy, tqdm ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/opt/ultrasonics/.venv/lib/python3.8/site-packages/Werkzeug-1.0.1.dist-info' Consider using the
--user
option or check the permissions.