ImportError: No module named 'veles'
Installed on a fresh upgrade to Sierra 10.12.6 macbook pro ~2013
---- snip ----
Trying to start a new server... working directory: /Applications/veles.app/Contents/Resources/veles-server python script name: srv.py python interpreter executable: /Applications/veles.app/Contents/MacOS/../Resources/veles-server/venv/bin/python3 arguments: srv.py --cert-dir /Users/halon/Library/Application Support/Codisec/Veles veles+ssl://@127.0.0.1:3135 /Users/halon/Library/Application Support/Codisec/Veles/veles.vdb
Waiting for a new server to start...
Process of locally created server started.
Traceback (most recent call last):
File "srv.py", line 22, in
Temporary workaround: upgrade python to 3.6.
Same problem for me but on BlackArch (Rolling System) I tried to start it with python3.6 that did not solve my prob. I took veles from BlackArch repository. Wanna try to build it from source.
(Using source builded with Python 3.6 is working)
We didn't put Veles into BlackArch repo, so no idea what exactly is there ;) We officially support only building from master or downloading the most recent release (https://github.com/codilime/veles/releases; the current one is pretty old, so it's better to build it from the repo).
I just ran into this same error. Running Mojave 10.14.3 with python 3.7.2 installed.
I just had it on startup too.
Same issue in catalina, still around. :-/
I ran into the same error (OS 14.4, python 3.7.x), here's my workaround:
- cd /Applications/veles.app/Contents/Resources/veles-server
- mv venv venv_old
- python3 -m venv venv
- source venv/bin/activate
- download the requirements.txt from Veles' GitHub repo and pip install -r PATH_TO_REQ_FILE/requirements.txt
- mv venv_old/lib/python3.6/site-packages/veles venv/lib/python3.7/site-packages/
- mv venv_old/lib/python3.6/site-packages/veles-0.0.1.dev635-py3.6.egg-info/ venv/lib/python3.7/site-packages/
- launch veles.app
But now there's a new problem, but at least not linked to missing modules.
FYI, now I'm getting this error :
PermissionError: [Errno 13] error while attempting to bind on address ('127.0.0.1', 1): permission denied
Edit: nevermind the new error: changing the port number to something else than the default (1 in my case) did it (e.g. 10000)