Kernel is offline

Hi, While creating the model, I am getting “Kernel is offline” message. Or even doing any operation like import model, I get the same error.

Any help is appreciated.

PS: I have the logs, since I am new user it is allowing me to put only links (just local host links in the logs).
Cheers,
Prem

Logs (links removed, as I am new user)
Logs below:
(perceptilabs) prem@prem-Alienware-ai-1:~$ perceptilabs -v=3
Operations to perform:
Apply all migrations: admin, api, auth, contenttypes, sessions
Running migrations:
No migrations to apply.
PerceptiLabs: Starting
Performing system checks…

Performing system checks…

System check identified no issues (0 silenced).
January 09, 2021 - 17:36:12
Django version 3.1.5, using settings ‘static_file_server.settings’
Starting development server at
Quit the server with CONTROL-C.
System check identified no issues (0 silenced).
January 09, 2021 - 17:36:12
Django version 3.1.5, using settings ‘fileserver.settings’
Starting development server at
Quit the server with CONTROL-C.
Performing system checks…

System check identified no issues (0 silenced).
January 09, 2021 - 17:36:12
Django version 3.1.5, using settings ‘rygg.settings’
Starting development server at
Quit the server with CONTROL-C.
WARNING:tensorflow:From /home/prem/anaconda3/envs/perceptilabs/lib/python3.7/site-packages/tensorflow_core/python/compat/v2_compat.py:68: disable_resource_variables (from tensorflow.python.ops.variable_scope) is deprecated and will be removed in a future version.
Instructions for updating:
non-resource variables are not supported in the long term
Traceback (most recent call last):
File “”, line 1, in
File “perceptilabs/mainServer.py”, line 55, in perceptilabs.mainServer.main
File “perceptilabs/logconf.py”, line 228, in perceptilabs.logconf.setup_data_logger
File “perceptilabs/azure.py”, line 6, in init perceptilabs.azure
ImportError: cannot import name BlobServiceClient
Sentry is attempting to send 0 pending error messages
Waiting up to 2 seconds
Press Ctrl-C to quit
[09/Jan/2021 17:36:14] “GET /?token=VBaKFM0yjwS6QgfmXP2mTk3BN4yv9UfqNjTnolu_0rw HTTP/1.1” 200 493
Opening in existing browser session.
[0109/173614.232745:ERROR:nacl_helper_linux.cc(308)] NaCl helper process running without a sandbox!
Most likely you need to configure your SUID sandbox correctly
[09/Jan/2021 17:36:14] “GET /kernel_url HTTP/1.1” 200 0
[09/Jan/2021 17:36:14] “GET /fileserver_url HTTP/1.1” 200 0
[09/Jan/2021 17:36:14] “GET /rygg_url HTTP/1.1” 200 0
PerceptiLabs: Waiting for services to listen on these ports:
PerceptiLabs: kernel on port 5000
[09/Jan/2021 17:36:14] “GET /?token=VBaKFM0yjwS6QgfmXP2mTk3BN4yv9UfqNjTnolu_0rw HTTP/1.1” 200 493
[09/Jan/2021 17:36:15] “GET /fileserver_url HTTP/1.1” 200 0
[09/Jan/2021 17:36:15] “GET /kernel_url HTTP/1.1” 200 0
[09/Jan/2021 17:36:15] “GET /rygg_url HTTP/1.1” 200 0
[09/Jan/2021 17:36:15] “GET /rygg_url HTTP/1.1” 200 0
[09/Jan/2021 17:36:15] “GET /version?token=VBaKFM0yjwS6QgfmXP2mTk3BN4yv9UfqNjTnolu_0rw HTTP/1.1” 200 21
[09/Jan/2021 17:36:16] “GET /projects/ HTTP/1.1” 200 424
[09/Jan/2021 17:36:16] “GET /app/updates_available/ HTTP/1.1” 200 22
[09/Jan/2021 17:36:16] “GET /mixpanel/decide/?verbose=1&version=1&lib=web&token=1480b2244fdd4d821227a29e2637f922&ip=1&_=1610213776057 HTTP/1.1” 200 0

Hi @premnathkn,

We recently had an issue with one of our dependencies and released a new version with a fix yesterday.
By the looks of it, you are having issues with that same dependency we had issue with.

Would you mind trying to update to the latest PerceptiLabs version (or installing the latest version in a new fresh environment) and seeing if that fixes the issue?

All the best,
Robert

Hi @robertl,
Yes tried reinstalling still facing the same issue. This is on ubuntu linux and seperate conda environment. Also, same case with mac-mini.
I just uninstalled with “pip uninstall perceptilabs” on the specific conda environment and reinstallted as “pip install --force-reinstall perceptilabs”. Is that okay, or should i pull some repo and do it. Please let me know.

Cheers,
Prem
Logs on (Verzion 0.11.6) :
(perceptilabs) prem@prem-Alienware-ai-1:~/Desktop$ perceptilabs -v=3
Operations to perform:
Apply all migrations: admin, api, auth, contenttypes, sessions
Running migrations:
No migrations to apply.
PerceptiLabs: Starting
Performing system checks…

Performing system checks…

System check identified no issues (0 silenced).
January 10, 2021 - 13:49:56
Django version 3.1.5, using settings ‘static_file_server.settings’
Starting development server at
Quit the server with CONTROL-C.
System check identified no issues (0 silenced).
January 10, 2021 - 13:49:56
Django version 3.1.5, using settings ‘fileserver.settings’
Starting development server at
Quit the server with CONTROL-C.
Performing system checks…

System check identified no issues (0 silenced).
January 10, 2021 - 13:49:56
Django version 3.1.5, using settings ‘rygg.settings’
Starting development server at
Quit the server with CONTROL-C.
WARNING:tensorflow:From /home/prem/anaconda3/envs/perceptilabs/lib/python3.7/site-packages/tensorflow_core/python/compat/v2_compat.py:68: disable_resource_variables (from tensorflow.python.ops.variable_scope) is deprecated and will be removed in a future version.
Instructions for updating:
non-resource variables are not supported in the long term
Traceback (most recent call last):
File “”, line 1, in
File “perceptilabs/mainServer.py”, line 55, in perceptilabs.mainServer.main
File “perceptilabs/logconf.py”, line 228, in perceptilabs.logconf.setup_data_logger
File “perceptilabs/azure.py”, line 6, in init perceptilabs.azure
ImportError: cannot import name BlobServiceClient
Sentry is attempting to send 0 pending error messages
Waiting up to 2 seconds
Press Ctrl-C to quit
[10/Jan/2021 13:49:58] “GET /?token=eNMLIdUDB5Axq_ZZEBdDSzO1bSUZvFKyC1api-RpXNk HTTP/1.1” 200 493
[10/Jan/2021 13:49:58] “GET /static/styles/vendors.836a2b27cde9507c1179.css HTTP/1.1” 304 0
[10/Jan/2021 13:49:58] “GET /static/js/1.e77876f8b8f8436a23ad.js HTTP/1.1” 304 0
[10/Jan/2021 13:49:58] “GET /static/js/app.024538f4e720e704b9b9.js HTTP/1.1” 304 0
Opening in existing browser session.
[0110/134958.453829:ERROR:nacl_helper_linux.cc(308)] NaCl helper process running without a sandbox!
Most likely you need to configure your SUID sandbox correctly
[10/Jan/2021 13:49:58] “GET /fileserver_url HTTP/1.1” 200 0
[10/Jan/2021 13:49:58] “GET /kernel_url HTTP/1.1” 200 0
[10/Jan/2021 13:49:58] “GET /rygg_url HTTP/1.1” 200 0
PerceptiLabs: Waiting for services to listen on these ports:
PerceptiLabs: kernel on port 5000
[10/Jan/2021 13:49:59] “GET /?token=eNMLIdUDB5Axq_ZZEBdDSzO1bSUZvFKyC1api-RpXNk HTTP/1.1” 200 493
[10/Jan/2021 13:49:59] “GET /kernel_url HTTP/1.1” 200 0
[10/Jan/2021 13:49:59] “GET /fileserver_url HTTP/1.1” 200 0
[10/Jan/2021 13:49:59] “GET /rygg_url HTTP/1.1” 200 0
[10/Jan/2021 13:50:00] “GET /rygg_url HTTP/1.1” 200 0
[10/Jan/2021 13:50:00] “GET /static/img/tutorial-background.ac2e517.png HTTP/1.1” 304 0
[10/Jan/2021 13:50:00] “GET /version?token=eNMLIdUDB5Axq_ZZEBdDSzO1bSUZvFKyC1api-RpXNk HTTP/1.1” 200 21
[10/Jan/2021 13:50:00] “GET /static/fonts/nunito-sans-v5-latin-regular.9c6a1ff.woff2 HTTP/1.1” 304 0
[10/Jan/2021 13:50:00] “GET /static/fonts/nunito-sans-v5-latin-600.b56c7e1.woff2 HTTP/1.1” 304 0
[10/Jan/2021 13:50:00] “GET /static/fonts/nunito-sans-v5-latin-700.d0b6d0f.woff2 HTTP/1.1” 304 0
[10/Jan/2021 13:50:00] “GET /static/fonts/icomoon.9d6c449.woff HTTP/1.1” 304 0
[10/Jan/2021 13:50:00] “GET /projects/ HTTP/1.1” 200 424
[10/Jan/2021 13:50:00] “GET /app/updates_available/ HTTP/1.1” 200 22
[10/Jan/2021 13:50:00] “GET /mixpanel/decide/?verbose=1&version=1&lib=web&token=1480b2244fdd4d821227a29e2637f922&ip=1&_=1610286600890 HTTP/1.1” 200 0
PerceptiLabs: Waiting for services to listen on these ports:
PerceptiLabs: kernel on port 5000
[10/Jan/2021 13:50:03] “GET /static/img/perceptilabs-logo-text.970fa6b.svg HTTP/1.1” 200 13742
PerceptiLabs: Waiting for services to listen on these ports:
PerceptiLabs: kernel on port 5000

Hey @premnathkn,
Sorry for the slow response!

Would you mind running pip list in your environment? There is definitely some dependency going wrong according to this traceback:
Traceback (most recent call last):
File “”, line 1, in
File “perceptilabs/mainServer.py”, line 55, in perceptilabs.mainServer.main
File “perceptilabs/logconf.py”, line 228, in perceptilabs.logconf.setup_data_logger
File “perceptilabs/azure.py”, line 6, in init perceptilabs.azure
ImportError: cannot import name BlobServiceClient

All the best,
Robert

Hi i am also getting kernal is offline error while doing operations like create model import model etc.
here is log after running perceptilabs using perceptilabs -v=3

https://pastebin.com/3zSML65U

please help me to solve this problem.

Hi @anuj,

This is a new one, from the logs it doesn’t even look like it’s trying to start the Kernel :confused:

How long did you let it run in this example? Sometimes the Kernel is a bit slow at startup.

Did you install it in a fresh environment?

Yes i installed it in fresh environment, i let it run for about 15 minutes.
I noticed a problem in bundled tensorflow , i tried to import tensorflow which is bundled with perceptilabs but it gives this error

**Python 3.7.9 (default, Aug 31 2020, 12:42:55) **
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type “help”, “copyright”, “credits” or “license” for more information.
>>> import tensorflow as tf
Illegal instruction (core dumped)

I think this is the reason why perceptilabs gives kernal is offline error.

Hi,

I got the same error. This is my pip list:
Package Version


absl-py 0.11.0
asgiref 3.3.1
astor 0.8.1
atari-py 0.2.6
attrs 20.3.0
azure-core 1.10.0
azure-eventhub 5.1.0
azure-storage-blob 12.6.0
blessings 1.7
boltons 20.2.1
boto 2.49.0
boto3 1.16.57
botocore 1.19.57
cached-property 1.5.2
cattrs 1.0.0
certifi 2020.12.5
cffi 1.14.4
chardet 4.0.0
click 7.1.2
cloudpickle 1.6.0
cryptography 3.3.1
curtsies 0.3.4
cycler 0.10.0
dask 2021.1.0
decorator 4.4.2
Deprecated 1.2.11
Django 3.1.5
django-cors-headers 3.6.0
django-http-exceptions 1.4.0
django-request-logging 0.7.2
djangorestframework 3.12.2
Flask 1.1.2
fsspec 0.8.5
future 0.18.2
gast 0.2.2
gitdb 4.0.5
GitPython 3.1.12
google-pasta 0.2.0
GPUtil 1.4.0
greenlet 1.0.0
grpcio 1.35.0
gym 0.18.0
gym-unity 0.23.0
h5py 3.1.0
idna 2.10
imageio 2.9.0
importlib-metadata 3.4.0
isodate 0.6.0
itsdangerous 1.1.0
Jinja2 2.11.2
jmespath 0.10.0
joblib 1.0.0
jsonschema 3.2.0
Keras-Applications 1.0.8
Keras-Preprocessing 1.1.2
kiwisolver 1.3.1
locket 0.2.1
Markdown 3.3.3
MarkupSafe 1.1.1
matplotlib 3.3.3
mixpanel 4.7.0
mlagents 0.23.0
mlagents-envs 0.23.0
msrest 0.6.19
networkx 2.5
numpy 1.18.5
oauthlib 3.1.0
opencv-python 4.5.1.48
opt-einsum 3.3.0
packaging 20.8
pandas 1.1.5
partd 1.1.0
perceptilabs 0.11.6
Pillow 7.0.0
pip 20.3.3
protobuf 3.14.0
psutil 5.8.0
psycopg2-binary 2.8.6
pycparser 2.20
pydantic 1.7.3
PyGithub 1.54.1
pyglet 1.5.0
Pygments 2.7.4
PyJWT 1.7.1
pyparsing 2.4.7
pyrsistent 0.17.3
python-dateutil 2.8.1
pytz 2020.5
PyWavelets 1.1.1
PyYAML 5.4.1
pyzmq 21.0.1
requests 2.25.1
requests-oauthlib 1.3.0
s3transfer 0.3.4
scikit-image 0.17.2
scikit-learn 0.24.1
scipy 1.6.0
Send2Trash 1.5.0
sentry-sdk 0.10.2
setuptools 51.3.3.post20210118
six 1.15.0
smmap 3.0.4
sqlparse 0.4.1
tensorboard 1.15.0
tensorflow 1.15.0
tensorflow-estimator 1.15.1
termcolor 1.1.0
threadpoolctl 2.1.0
tifffile 2021.1.14
toolz 0.11.1
torch 1.7.1
typing-extensions 3.7.4.3
uamqp 1.2.13
urllib3 1.25.10
wcwidth 0.2.5
websockets 8.1
Werkzeug 1.0.1
wheel 0.36.2
wrapt 1.12.1
zipp 3.4.0

The demo GAN project that was comes with Perceptilabs was training when this happened. I installed perceptilabs on a clean environment. Are there any logs I could share that would be useful to you?

Hi @robertl,

I am facing the same problem here and wondering if there is a pip list we should be comparing to? Would help if this was easily accessible to see if missing dependencies is the problem for us.

Warmest Regards,

Hi,

It seems like I let this thread drop a little, sorry about that.

Here is the pip list I have which work for me locally:

Package Version
absl-py 0.11.0
asgiref 3.3.1
astor 0.8.1
attrs 20.3.0
azure-core 1.10.0
azure-eventhub 5.1.0
azure-storage-blob 12.6.0
blessings 1.7
boltons 20.2.1
boto 2.49.0
boto3 1.16.52
botocore 1.19.52
cached-property 1.5.2
cattrs 1.0.0
certifi 2020.12.5
cffi 1.14.4
chardet 4.0.0
click 7.1.2
cloudpickle 1.6.0
colorama 0.4.3
cryptography 3.3.1
curtsies 0.3.4
cycler 0.10.0
dask 2020.12.0
decorator 4.4.2
Deprecated 1.2.10
Django 3.1.5
django-cors-headers 3.6.0
django-http-exceptions 1.4.0
django-request-logging 0.7.2
djangorestframework 3.12.2
Flask 1.1.2
fsspec 0.8.5
future 0.18.2
gast 0.2.2
gitdb 4.0.5
GitPython 3.1.12
google-pasta 0.2.0
GPUtil 1.4.0
greenlet 0.4.17
grpcio 1.34.0
gym 0.18.0
gym-unity 0.23.0
h5py 3.1.0
idna 2.10
imageio 2.9.0
importlib-metadata 3.4.0
isodate 0.6.0
itsdangerous 1.1.0
Jinja2 2.11.2
jmespath 0.10.0
joblib 1.0.0
jsonschema 3.2.0
Keras-Applications 1.0.8
Keras-Preprocessing 1.1.2
kiwisolver 1.3.1
locket 0.2.0
Markdown 3.3.3
MarkupSafe 1.1.1
matplotlib 3.3.3
mixpanel 4.7.0
mlagents 0.23.0
mlagents-envs 0.23.0
msrest 0.6.19
networkx 2.5
numpy 1.18.5
oauthlib 3.1.0
opencv-python 4.5.1.48
opt-einsum 3.3.0
packaging 20.8
pandas 1.2.0
partd 1.1.0
perceptilabs 0.11.6
Pillow 7.0.0
pip 20.3.3
protobuf 3.14.0
psutil 5.8.0
psycopg2-binary 2.8.6
pycparser 2.20
pydantic 1.7.3
PyGithub 1.54.1
pyglet 1.5.0
Pygments 2.7.4
PyJWT 1.7.1
pyparsing 2.4.7
pypiwin32 223
pyrsistent 0.17.3
python-dateutil 2.8.1
pytz 2020.5
PyWavelets 1.1.1
pywin32 300
PyYAML 5.3.1
pyzmq 20.0.0
requests 2.25.1
requests-oauthlib 1.3.0
s3transfer 0.3.4
scikit-image 0.17.2
scikit-learn 0.24.0
scipy 1.6.0
Send2Trash 1.5.0
sentry-sdk 0.14.3
setuptools 51.1.2.post20210110
six 1.15.0
smmap 3.0.4
sqlparse 0.4.1
tensorboard 1.15.0
tensorflow 1.15.0
tensorflow-estimator 1.15.1
termcolor 1.1.0
threadpoolctl 2.1.0
tifffile 2021.1.11
toolz 0.11.1
typing-extensions 3.7.4.3
uamqp 1.2.13
urllib3 1.25.10
wcwidth 0.2.5
websockets 8.1
Werkzeug 1.0.1
wheel 0.36.2
wincertstore 0.2
wrapt 1.12.1
zipp 3.4.0

Hope that helps!
If not, would you mind letting me know your setup you are running PerceptiLabs on?

Hi, guys!

I have the same issue “Kernel is offline”. My main browser is Opera, I don’t know if that’s a problem? This is the log from the comand prompt:

INFO: Could not find files for the given pattern(s).
PerceptiLabs: Your environment does not have git installed, so interactions with GitHub will not be available
Operations to perform:
Apply all migrations: admin, api, auth, contenttypes, sessions
Running migrations:
No migrations to apply.
PerceptiLabs: Starting
2021-01-30 18:33:59.850786: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library ‘cudart64_100.dll’; dlerror: cudart64_100.dll not found
2021-01-30 18:33:59.851840: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Performing system checks…

Performing system checks…

System check identified no issues (0 silenced).
January 30, 2021 - 18:34:01
Django version 3.1.5, using settings ‘static_file_server.settings’
Starting development server at
Quit the server with CTRL-BREAK.
System check identified no issues (0 silenced).
January 30, 2021 - 18:34:01
Django version 3.1.5, using settings ‘fileserver.settings’
Starting development server at
Quit the server with CTRL-BREAK.
Performing system checks…

System check identified no issues (0 silenced).
January 30, 2021 - 18:34:02
Django version 3.1.5, using settings ‘rygg.settings’
Starting development server at
Quit the server with CTRL-BREAK.
WARNING:tensorflow:From anaconda3\envs\myenv\lib\site-packages\tensorflow_core\python\compat\v2_compat.py:68: disable_resource_variables (from tensorflow.python.ops.variable_scope) is deprecated and will be removed in a future version.
Instructions for updating:
non-resource variables are not supported in the long term
Traceback (most recent call last):
File “”, line 1, in
File “perceptilabs\mainServer.py”, line 55, in perceptilabs.mainServer.main
File “perceptilabs\logconf.py”, line 228, in perceptilabs.logconf.setup_data_logger
File “perceptilabs\azure.py”, line 5, in init perceptilabs.azure
File anaconda3\envs\myenv\lib\site-packages\azure\eventhub_init_.py", line 8, in
from uamqp import constants
File anaconda3\envs\myenv\lib\site-packages\uamqp_init_.py", line 12, in
from uamqp import c_uamqp # pylint: disable=import-self
ImportError: cannot import name ‘c_uamqp’
Sentry is attempting to send 0 pending error messages
Waiting up to 2 seconds
Press Ctrl-Break to quit
[30/Jan/2021 18:34:05] “GET /?token=KoDsZOi1RlJqRnm9TLdRxF6WENb7ZAVCaW_HBd7pZfU HTTP/1.1” 200 493
[30/Jan/2021 18:34:05] “GET /fileserver_url HTTP/1.1” 200 0
[30/Jan/2021 18:34:05] “GET /kernel_url HTTP/1.1” 200 0
[30/Jan/2021 18:34:05] “GET /rygg_url HTTP/1.1” 200 0
[30/Jan/2021 18:34:06] “GET /?token=KoDsZOi1RlJqRnm9TLdRxF6WENb7ZAVCaW_HBd7pZfU HTTP/1.1” 200 493
[30/Jan/2021 18:34:06] “GET /kernel_url HTTP/1.1” 200 0
[30/Jan/2021 18:34:06] “GET /fileserver_url HTTP/1.1” 200 0
[30/Jan/2021 18:34:06] “GET /rygg_url HTTP/1.1” 200 0
PerceptiLabs: Waiting for services to listen on these ports:
PerceptiLabs: kernel on port 5000
[30/Jan/2021 18:34:07] “GET /rygg_url HTTP/1.1” 200 0
[30/Jan/2021 18:34:08] “GET /version?token=KoDsZOi1RlJqRnm9TLdRxF6WENb7ZAVCaW_HBd7pZfU HTTP/1.1” 200 21
[30/Jan/2021 18:34:08] “GET /projects/ HTTP/1.1” 200 266
[30/Jan/2021 18:34:08] “GET /mixpanel/track/?data=eyJldmVudCI6ICJtcF9wYWdlX3ZpZXciLCJwcm9wZXJ0aWVzIjogeyIkb3MiOiAiV2luZG93cyIsIiRicm93c2VyIjogIk9wZXJhIiwiJGN1cnJlbnRfdXJsIjogImh0dHA6Ly9sb2NhbGhvc3Q6ODA4MC8%2FdG9rZW49S29Ec1pPaTFSbEpxUm5tOVRMZFJ4RjZXRU5iN1pBVkNhV19IQmQ3cFpmVSIsIiRicm93c2VyX3ZlcnNpb24iOiA3MywiJHNjcmVlbl9oZWlnaHQiOiA5MDAsIiRzY3JlZW5fd2lkdGgiOiAxNDQwLCJtcF9saWIiOiAid2ViIiwiJGxpYl92ZXJzaW9uIjogIjIuMjkuMSIsInRpbWUiOiAxNjEyMDI0NDQ4LjMyMiwiZGlzdGluY3RfaWQiOiAiY2liZXJfa0BhYnYuYmciLCIkZGV2aWNlX2lkIjogIjE3NzUzYmZkYTcwYzctMGIxM2I2NjYwNDUwZWEtNGU1MjQ2NTEtMTNjNjgwLTE3NzUzYmZkYTcyMzUwIiwiJGluaXRpYWxfcmVmZXJyZXIiOiAiJGRpcmVjdCIsIiRpbml0aWFsX3JlZmVycmluZ19kb21haW4iOiAiJGRpcmVjdCIsIiR1c2VyX2lkIjogImNpYmVyX2tAYWJ2LmJnIiwibXBfcGFnZSI6ICJodHRwOi8vbG9jYWxob3N0OjgwODAvP3Rva2VuPUtvRHNaT2kxUmxKcVJubTlUTGRSeEY2V0VOYjdaQVZDYVdfSEJkN3BaZlUiLCJtcF9icm93c2VyIjogIk9wZXJhIiwibXBfcGxhdGZvcm0iOiAiV2luZG93cyIsInRva2VuIjogIjE0ODBiMjI0NGZkZDRkODIxMjI3YTI5ZTI2MzdmOTIyIn19&ip=1&=1612024448323 HTTP/1.1" 200 0
[30/Jan/2021 18:34:08] "GET /mixpanel/track/?data=eyJldmVudCI6ICIkb3B0X2luIiwicHJvcGVydGllcyI6IHsiJG9zIjogIldpbmRvd3MiLCIkYnJvd3NlciI6ICJPcGVyYSIsIiRjdXJyZW50X3VybCI6ICJodHRwOi8vbG9jYWxob3N0OjgwODAvP3Rva2VuPUtvRHNaT2kxUmxKcVJubTlUTGRSeEY2V0VOYjdaQVZDYVdfSEJkN3BaZlUiLCIkYnJvd3Nlcl92ZXJzaW9uIjogNzMsIiRzY3JlZW5faGVpZ2h0IjogOTAwLCIkc2NyZWVuX3dpZHRoIjogMTQ0MCwibXBfbGliIjogIndlYiIsIiRsaWJfdmVyc2lvbiI6ICIyLjI5LjEiLCJ0aW1lIjogMTYxMjAyNDQ0OC4zMjgsImRpc3RpbmN0X2lkIjogImNpYmVyX2tAYWJ2LmJnIiwiJGRldmljZV9pZCI6ICIxNzc1M2JmZGE3MGM3LTBiMTNiNjY2MDQ1MGVhLTRlNTI0NjUxLTEzYzY4MC0xNzc1M2JmZGE3MjM1MCIsIiRpbml0aWFsX3JlZmVycmVyIjogIiRkaXJlY3QiLCIkaW5pdGlhbF9yZWZlcnJpbmdfZG9tYWluIjogIiRkaXJlY3QiLCIkdXNlcl9pZCI6ICJjaWJlcl9rQGFidi5iZyIsInRva2VuIjogIjE0ODBiMjI0NGZkZDRkODIxMjI3YTI5ZTI2MzdmOTIyIn19&ip=1&
=1612024448329 HTTP/1.1” 200 0
[30/Jan/2021 18:34:08] “GET /app/updates_available/ HTTP/1.1” 200 22
[30/Jan/2021 18:34:08] “GET /mixpanel/decide/?verbose=1&version=1&lib=web&token=1480b2244fdd4d821227a29e2637f922&ip=1&=1612024448310 HTTP/1.1" 200 0
PerceptiLabs: Waiting for services to listen on these ports:
PerceptiLabs: kernel on port 5000
[30/Jan/2021 18:34:13] "GET /mixpanel/decide/?verbose=1&version=3&lib=web&token=1480b2244fdd4d821227a29e2637f922&distinct_id=ciber_k%40abv.bg&ip=1&
=1612024452963 HTTP/1.1” 200 0
[30/Jan/2021 18:34:13] “GET /mixpanel/engage/?data=eyIkc2V0IjogeyIkb3MiOiAiV2luZG93cyIsIiRicm93c2VyIjogIk9wZXJhIiwiJGJyb3dzZXJfdmVyc2lvbiI6IDczLCIkaW5pdGlhbF9yZWZlcnJlciI6ICIkZGlyZWN0IiwiJGluaXRpYWxfcmVmZXJyaW5nX2RvbWFpbiI6ICIkZGlyZWN0IiwiJGVtYWlsIjogImNpYmVyX2tAYWJ2LmJnIiwiJGxhc3RfbG9naW4iOiAiMjAyMS0wMS0zMFQxNjozNDoxMiJ9LCIkdG9rZW4iOiAiMTQ4MGIyMjQ0ZmRkNGQ4MjEyMjdhMjllMjYzN2Y5MjIiLCIkZGlzdGluY3RfaWQiOiAiY2liZXJfa0BhYnYuYmciLCIkZGV2aWNlX2lkIjogIjE3NzUzYmZkYTcwYzctMGIxM2I2NjYwNDUwZWEtNGU1MjQ2NTEtMTNjNjgwLTE3NzUzYmZkYTcyMzUwIiwiJHVzZXJfaWQiOiAiY2liZXJfa0BhYnYuYmcifQ%3D%3D&ip=1&=1612024452967 HTTP/1.1" 200 0
[30/Jan/2021 18:34:13] "GET /mixpanel/engage/?data=eyIkc2V0X29uY2UiOiB7IiRlbWFpbCI6ICJjaWJlcl9rQGFidi5iZyIsIiRjcmVhdGVkIjogIjIwMjEtMDEtMzBUMTY6MzQ6MTIifSwiJHRva2VuIjogIjE0ODBiMjI0NGZkZDRkODIxMjI3YTI5ZTI2MzdmOTIyIiwiJGRpc3RpbmN0X2lkIjogImNpYmVyX2tAYWJ2LmJnIiwiJGRldmljZV9pZCI6ICIxNzc1M2JmZGE3MGM3LTBiMTNiNjY2MDQ1MGVhLTRlNTI0NjUxLTEzYzY4MC0xNzc1M2JmZGE3MjM1MCIsIiR1c2VyX2lkIjogImNpYmVyX2tAYWJ2LmJnIn0%3D&ip=1&
=1612024452969 HTTP/1.1” 200 0
PerceptiLabs: Waiting for services to listen on these ports:
PerceptiLabs: kernel on port 5000

Thank you in advance!

Hi @Venci,
Looks like you have a similar issue to the others in this post where something is going strange with the libraries in your environment. Opera may be a bit unstable for PerceptiLabs (it’s untested), but it’s not what fails here.

Would you mind letting me know:

  1. What system you are running on (and if it’s a VM)
  2. If you created a fresh Anaconda environment to install PerceptiLabs in
  3. What Python version you are using
  4. If you had used Python before this and if it was with or without Anaconda

Hopefully we can get a little closer to what’s going wrong with that info :slight_smile:

Thanks in advance!
All the best,
Robert

Hi, Robert thank you for your answer!

With activated environment
((myenv) C:\Users\Lenovo>python
Python 3.6.12 |Anaconda, Inc.| (default, Sep 9 2020, 00:29:25) [MSC v.1916 64 bit (AMD64)] on win32
Type “help”, “copyright”, “credits” or “license” for more information.

)

Without activated enviroment
(Python 3.8.5 (default, Sep 3 2020, 21:29:08) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32

Warning:
This Python interpreter is in a conda environment, but the environment has
not been activated. Libraries may fail to load. To activate this environment
please see https://conda.io/activation

Type “help”, “copyright”, “credits” or “license” for more information.

)

I use Python often, but I haven’t worked with Anaconda. I created a brand new environment under Anaconda for installing Perceptilabs.
I’m definitely wrong somewhere, I just can’t remember where? :slight_smile: For that reason i ask for help.

Thank you in advance and sorry for bother you!

@Venci don’t worry, it’s no bother! :slight_smile: It will be great for us as well to figure out what’s going on here.

Would you mind trying to create a new Anaconda environment with python 3.7 installed?
You can do it through:
conda create -n pl python=3.7

Also, is your system 32 or 64 bit?

Hi, Robert! Same problem… i’ve create new environment named “pl”. After that python 3.7 was installed.Under “pl” environment i installed perceptilabs. Everything seem good, but kernel is still offline. The system is 64bit!

C:\Users\Lenovo>conda create -n pl python=3.7
Collecting package metadata (current_repodata.json): done
Solving environment: done

Package Plan

environment location: C:\Users\Lenovo\anaconda3\envs\pl

added / updated specs:
- python=3.7

The following packages will be downloaded:

package                    |            build
---------------------------|-----------------
setuptools-52.0.0          |   py37haa95532_0         711 KB
------------------------------------------------------------
                                       Total:         711 KB

The following NEW packages will be INSTALLED:

ca-certificates pkgs/main/win-64::ca-certificates-2021.1.19-haa95532_0
certifi pkgs/main/win-64::certifi-2020.12.5-py37haa95532_0
openssl pkgs/main/win-64::openssl-1.1.1i-h2bbff1b_0
pip pkgs/main/win-64::pip-20.3.3-py37haa95532_0
python pkgs/main/win-64::python-3.7.9-h60c2a47_0
setuptools pkgs/main/win-64::setuptools-52.0.0-py37haa95532_0
sqlite pkgs/main/win-64::sqlite-3.33.0-h2a8f88b_0
vc pkgs/main/win-64::vc-14.2-h21ff451_1
vs2015_runtime pkgs/main/win-64::vs2015_runtime-14.27.29016-h5e58377_2
wheel pkgs/main/noarch::wheel-0.36.2-pyhd3eb1b0_0
wincertstore pkgs/main/win-64::wincertstore-0.2-py37_0
zlib pkgs/main/win-64::zlib-1.2.11-h62dcd97_4

Proceed ([y]/n)? y

Downloading and Extracting Packages
setuptools-52.0.0 | 711 KB | ############################################################################ | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done

To activate this environment, use

$ conda activate pl

To deactivate an active environment, use

$ conda deactivate

C:\Users\Lenovo>conda activate pl

(pl) C:\Users\Lenovo>perceptilabs
‘perceptilabs’ is not recognized as an internal or external command,
operable program or batch file.

(pl) C:\Users\Lenovo>pip install perceptilabs
Collecting perceptilabs
Downloading perceptilabs-0.11.7-cp37-cp37m-win_amd64.whl (26.8 MB)
|████████████████████████████████| 26.8 MB 58 kB/s
Requirement already satisfied: certifi>=2020.6.20 in c:\users\lenovo\anaconda3\envs\pl\lib\site-packages (from perceptilabs) (2020.12.5)
Collecting azure-eventhub==5.1.0
Using cached azure_eventhub-5.1.0-py2.py3-none-any.whl (97 kB)
Collecting azure-storage-blob==12.6.0
Using cached azure_storage_blob-12.6.0-py2.py3-none-any.whl (328 kB)
Collecting colorama==0.4.3
Using cached colorama-0.4.3-py2.py3-none-any.whl (15 kB)
Collecting jsonschema==3.2.0
Using cached jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
Requirement already satisfied: setuptools in c:\users\lenovo\anaconda3\envs\pl\lib\site-packages (from jsonschema==3.2.0->perceptilabs) (52.0.0.post20210125)
Collecting mixpanel==4.7.0
Using cached mixpanel-4.7.0-py2.py3-none-any.whl (8.2 kB)
Collecting pillow==7.0.0
Using cached Pillow-7.0.0-cp37-cp37m-win_amd64.whl (2.0 MB)
Collecting scikit-image==0.17.2
Using cached scikit_image-0.17.2-cp37-cp37m-win_amd64.whl (11.5 MB)
Collecting sentry-sdk==0.14.3
Using cached sentry_sdk-0.14.3-py2.py3-none-any.whl (103 kB)
Collecting tensorflow==1.15
Using cached tensorflow-1.15.0-cp37-cp37m-win_amd64.whl (295.1 MB)
Requirement already satisfied: wheel>=0.26 in c:\users\lenovo\anaconda3\envs\pl\lib\site-packages (from tensorflow==1.15->perceptilabs) (0.36.2)
Collecting gast==0.2.2
Using cached gast-0.2.2-py3-none-any.whl
Collecting tensorflow-estimator==1.15.1
Using cached tensorflow_estimator-1.15.1-py2.py3-none-any.whl (503 kB)
Collecting urllib3==1.25.10
Using cached urllib3-1.25.10-py2.py3-none-any.whl (127 kB)
Collecting absl-py>=0.7.0
Using cached absl_py-0.11.0-py3-none-any.whl (127 kB)
Collecting asgiref>=3.2.10
Using cached asgiref-3.3.1-py3-none-any.whl (19 kB)
Collecting astor>=0.8.0
Using cached astor-0.8.1-py2.py3-none-any.whl (27 kB)
Collecting attrs>=17.4.0
Using cached attrs-20.3.0-py2.py3-none-any.whl (49 kB)
Collecting azure-core<2.0.0,>=1.5.0
Using cached azure_core-1.10.0-py2.py3-none-any.whl (125 kB)
Collecting blessings>=1.7
Using cached blessings-1.7-py3-none-any.whl (18 kB)
Collecting boltons>=19.3.0
Using cached boltons-20.2.1-py2.py3-none-any.whl (170 kB)
Collecting boto>=2.49.0
Using cached boto-2.49.0-py2.py3-none-any.whl (1.4 MB)
Collecting boto3>=1.9.233
Downloading boto3-1.17.1.tar.gz (100 kB)
|████████████████████████████████| 100 kB 603 kB/s
Collecting botocore<1.21.0,>=1.20.1
Downloading botocore-1.20.1-py2.py3-none-any.whl (7.2 MB)
|████████████████████████████████| 7.2 MB 156 kB/s
Collecting chardet>=3.0.4
Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB)
Collecting cryptography>=2.8
Using cached cryptography-3.3.1-cp36-abi3-win_amd64.whl (1.5 MB)
Collecting cffi>=1.12
Using cached cffi-1.14.4-cp37-cp37m-win_amd64.whl (178 kB)
Collecting curtsies>=0.3.1
Using cached curtsies-0.3.5.tar.gz (53 kB)
Installing build dependencies … done
Getting requirements to build wheel … done
Preparing wheel metadata … done
Collecting dask[dataframe]>=2.6.0
Using cached dask-2021.1.1-py3-none-any.whl (891 kB)
Collecting Deprecated>=1.2.10
Using cached Deprecated-1.2.11-py2.py3-none-any.whl (9.1 kB)
Collecting django>=3.0.5
Downloading Django-3.1.6-py3-none-any.whl (7.8 MB)
|████████████████████████████████| 7.8 MB 3.3 MB/s
Collecting django-cors-headers>=3.2.1
Using cached django_cors_headers-3.7.0-py3-none-any.whl (12 kB)
Collecting django-http-exceptions>=1.3.1
Using cached django_http_exceptions-1.4.0-py3-none-any.whl
Collecting django-request-logging>=0.7.2
Using cached django_request_logging-0.7.2-py2.py3-none-any.whl (7.8 kB)
Collecting djangorestframework>=3.11.1
Using cached djangorestframework-3.12.2-py3-none-any.whl (957 kB)
Collecting flask>=1.1.1
Using cached Flask-1.1.2-py2.py3-none-any.whl (94 kB)
Collecting click>=5.1
Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting fsspec>=0.6.0
Using cached fsspec-0.8.5-py3-none-any.whl (98 kB)
Collecting gitdb>=4.0.5
Using cached gitdb-4.0.5-py3-none-any.whl (63 kB)
Collecting GitPython>=3.1.8
Using cached GitPython-3.1.12-py3-none-any.whl (159 kB)
Collecting google-pasta>=0.1.6
Using cached google_pasta-0.2.0-py3-none-any.whl (57 kB)
Collecting gputil>=1.4.0
Using cached GPUtil-1.4.0-py3-none-any.whl
Collecting greenlet>=0.4.15
Using cached greenlet-1.0.0-cp37-cp37m-win_amd64.whl (95 kB)
Collecting grpcio>=1.8.6
Downloading grpcio-1.35.0-cp37-cp37m-win_amd64.whl (3.0 MB)
|████████████████████████████████| 3.0 MB 6.8 MB/s
Collecting gym-unity>=0.20.0
Using cached gym_unity-0.23.0-py3-none-any.whl (5.2 kB)
Collecting mlagents-envs>=0.18.0asgiref>=3.2.7
Using cached mlagents_envs-0.23.0-py3-none-any.whl (71 kB)
Collecting idna>=2.9
Using cached idna-3.1-py3-none-any.whl (58 kB)
Collecting imageio>=2.3.0
Using cached imageio-2.9.0-py3-none-any.whl (3.3 MB)
Collecting importlib-metadata>=1.7.0
Using cached importlib_metadata-3.4.0-py3-none-any.whl (10 kB)
Collecting itsdangerous>=0.24
Using cached itsdangerous-1.1.0-py2.py3-none-any.whl (16 kB)
Collecting jinja2>=2.10.3
Downloading Jinja2-2.11.3-py2.py3-none-any.whl (125 kB)
|████████████████████████████████| 125 kB …
Collecting jmespath<1.0.0,>=0.7.1
Using cached jmespath-0.10.0-py2.py3-none-any.whl (24 kB)
Collecting keras-applications>=1.0.8
Using cached Keras_Applications-1.0.8-py3-none-any.whl (50 kB)
Collecting keras-preprocessing>=1.0.5
Using cached Keras_Preprocessing-1.1.2-py2.py3-none-any.whl (42 kB)
Collecting markdown>=3.2.1
Using cached Markdown-3.3.3-py3-none-any.whl (96 kB)
Collecting MarkupSafe>=0.23
Using cached MarkupSafe-1.1.1-cp37-cp37m-win_amd64.whl (16 kB)
Collecting matplotlib!=3.0.0,>=2.0.0
Downloading matplotlib-3.3.4-cp37-cp37m-win_amd64.whl (8.5 MB)
|████████████████████████████████| 8.5 MB 2.5 kB/s
Collecting cycler>=0.10
Using cached cycler-0.10.0-py2.py3-none-any.whl (6.5 kB)
Collecting kiwisolver>=1.0.1
Using cached kiwisolver-1.3.1-cp37-cp37m-win_amd64.whl (51 kB)
Collecting mlagents>=0.20.0
Using cached mlagents-0.23.0-py3-none-any.whl (199 kB)
Collecting pypiwin32>=223
Using cached pypiwin32-223-py3-none-any.whl (1.7 kB)
Collecting cattrs<1.1.0,>=1.0.0
Using cached cattrs-1.0.0-py2.py3-none-any.whl (14 kB)
Collecting h5py
Using cached h5py-3.1.0-cp37-cp37m-win_amd64.whl (2.7 MB)
Collecting msrest>=0.6.10
Using cached msrest-0.6.21-py2.py3-none-any.whl (85 kB)
Collecting isodate>=0.6.0
Using cached isodate-0.6.0-py2.py3-none-any.whl (45 kB)
Collecting networkx>=2.0
Using cached networkx-2.5-py3-none-any.whl (1.6 MB)
Collecting decorator>=4.3.0
Using cached decorator-4.4.2-py2.py3-none-any.whl (9.2 kB)
Collecting numpy<1.19.0,>=1.18.5
Using cached numpy-1.18.5-cp37-cp37m-win_amd64.whl (12.7 MB)
Collecting oauthlib>=3.0.2
Using cached oauthlib-3.1.0-py2.py3-none-any.whl (147 kB)
Collecting opt-einsum>=2.3.2
Using cached opt_einsum-3.3.0-py3-none-any.whl (65 kB)
Collecting packaging>=20.4
Using cached packaging-20.9-py2.py3-none-any.whl (40 kB)
Collecting pandas>=0.25.0
Downloading pandas-1.2.1-cp37-cp37m-win_amd64.whl (9.1 MB)
|████████████████████████████████| 9.1 MB 6.4 MB/s
Collecting partd>=0.3.10
Using cached partd-1.1.0-py3-none-any.whl (19 kB)
Collecting protobuf>=3.6.1
Using cached protobuf-3.14.0-cp37-cp37m-win_amd64.whl (798 kB)
Collecting psutil>=5.6.3
Using cached psutil-5.8.0-cp37-cp37m-win_amd64.whl (244 kB)
Collecting psycopg2-binary>=2.8.5
Using cached psycopg2_binary-2.8.6-cp37-cp37m-win_amd64.whl (1.1 MB)
Collecting pydantic>=1.6.1
Using cached pydantic-1.7.3-cp37-cp37m-win_amd64.whl (1.7 MB)
Collecting PyGithub>=1.53
Using cached PyGithub-1.54.1-py3-none-any.whl (289 kB)
Collecting pygments>=2.6.1
Using cached Pygments-2.7.4-py3-none-any.whl (950 kB)
Collecting PyJWT>=1.7.1
Using cached PyJWT-1.7.1-py2.py3-none-any.whl (18 kB)
Collecting pyparsing>=2.4.7
Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting pyrsistent>=0.14.0
Using cached pyrsistent-0.17.3-cp37-cp37m-win_amd64.whl
Collecting python-dateutil>=2.8.1
Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting pytz>=2019.3
Downloading pytz-2021.1-py2.py3-none-any.whl (510 kB)
|████████████████████████████████| 510 kB 6.4 MB/s
Collecting PyWavelets>=1.1.1
Using cached PyWavelets-1.1.1-cp37-cp37m-win_amd64.whl (4.2 MB)
Collecting pywin32>=223
Using cached pywin32-300-cp37-cp37m-win_amd64.whl (9.2 MB)
Collecting pyyaml
Downloading PyYAML-5.4.1-cp37-cp37m-win_amd64.whl (210 kB)
|████████████████████████████████| 210 kB 6.4 MB/s
Collecting pyzmq>=18.1.1
Downloading pyzmq-22.0.2-cp37-cp37m-win_amd64.whl (1.2 MB)
|████████████████████████████████| 1.2 MB 3.3 MB/s
Collecting requests>=2.24.0
Using cached requests-2.25.1-py2.py3-none-any.whl (61 kB)
Collecting idna>=2.10
Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting requests-oauthlib>=1.2.0
Using cached requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB)
Collecting s3transfer<0.4.0,>=0.3.0
Using cached s3transfer-0.3.4-py2.py3-none-any.whl (69 kB)
Collecting scikit-learn>=0.22.1
Downloading scikit_learn-0.24.1-cp37-cp37m-win_amd64.whl (6.8 MB)
|████████████████████████████████| 6.8 MB 3.2 MB/s
Collecting joblib>=0.11
Using cached joblib-1.0.0-py3-none-any.whl (302 kB)
Collecting scipy>=1.3.0
Using cached scipy-1.6.0-cp37-cp37m-win_amd64.whl (32.5 MB)
Collecting Send2Trash>=1.5.0
Using cached Send2Trash-1.5.0-py3-none-any.whl (12 kB)
Collecting six>=1.14.0
Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting smmap>=3.0.4
Using cached smmap-3.0.5-py2.py3-none-any.whl (25 kB)
Collecting sqlparse>=0.3.1
Using cached sqlparse-0.4.1-py3-none-any.whl (42 kB)
Collecting tensorboard<1.16.0,>=1.15.0
Using cached tensorboard-1.15.0-py3-none-any.whl (3.8 MB)
Collecting termcolor>=1.1.0
Using cached termcolor-1.1.0-py3-none-any.whl
Collecting threadpoolctl>=2.0.0
Using cached threadpoolctl-2.1.0-py3-none-any.whl (12 kB)
Collecting tifffile>=2019.7.26
Downloading tifffile-2021.2.1-py3-none-any.whl (159 kB)
|████████████████████████████████| 159 kB 6.8 MB/s
Collecting toolz>=0.8.2
Using cached toolz-0.11.1-py3-none-any.whl (55 kB)
Collecting typing-extensions>=3.6.4
Using cached typing_extensions-3.7.4.3-py3-none-any.whl (22 kB)
Collecting uamqp<2.0,>=1.2.7
Downloading uamqp-1.2.14-cp37-cp37m-win_amd64.whl (856 kB)
|████████████████████████████████| 856 kB 3.2 MB/s
Collecting wcwidth>=0.1.9
Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Collecting websockets>=8.1
Using cached websockets-8.1-cp37-cp37m-win_amd64.whl (66 kB)
Collecting Werkzeug>=0.15
Using cached Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB)
Collecting wrapt>=1.12.1
Using cached wrapt-1.12.1-py3-none-any.whl
Collecting zipp>=3.1.0
Using cached zipp-3.4.0-py3-none-any.whl (5.2 kB)
Collecting cached-property
Using cached cached_property-1.5.2-py2.py3-none-any.whl (7.6 kB)
Collecting cloudpickle
Using cached cloudpickle-1.6.0-py3-none-any.whl (23 kB)
Collecting cwcwidth
Downloading cwcwidth-0.1.2-cp37-cp37m-win_amd64.whl (50 kB)
|████████████████████████████████| 50 kB 160 kB/s
Collecting gym
Using cached gym-0.18.0-py3-none-any.whl
Collecting pyglet<=1.5.0,>=1.4.0
Using cached pyglet-1.5.0-py2.py3-none-any.whl (1.0 MB)
Collecting future
Using cached future-0.18.2-py3-none-any.whl
Collecting locket
Using cached locket-0.2.1-py2.py3-none-any.whl (4.1 kB)
Collecting opencv-python
Using cached opencv_python-4.5.1.48-cp37-cp37m-win_amd64.whl (34.9 MB)
Collecting pycparser
Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Building wheels for collected packages: boto3, curtsies
Building wheel for boto3 (setup.py) … done
Created wheel for boto3: filename=boto3-1.17.1-py2.py3-none-any.whl size=128761 sha256=48a2b19a858f11b8ec0a5b28f0f2e2065591cbdb205624d7bac007a515970236
Stored in directory: c:\users\lenovo\appdata\local\pip\cache\wheels\c4\68\02\4340a8eec3c4aa0aabd1c8a97d5e96143c29b600e3da33f44c
Building wheel for curtsies (PEP 517) … done
Created wheel for curtsies: filename=curtsies-0.3.5-py3-none-any.whl size=35190 sha256=bc159c4a43618223155701c3bd2026fa49d4c7e014a45f91b0551ee2ff03f1c5
Stored in directory: c:\users\lenovo\appdata\local\pip\cache\wheels\c0\6c\77\a614cb1e89200fe6f5961e7d8fda95403a69c27ce660ff745b
Successfully built boto3 curtsies
Installing collected packages: zipp, urllib3, typing-extensions, six, idna, chardet, requests, python-dateutil, pycparser, oauthlib, numpy, jmespath, importlib-metadata, future, cached-property, wrapt, Werkzeug, toolz, sqlparse, smmap, scipy, requests-oauthlib, pyyaml, pywin32, pytz, pyparsing, pyglet, protobuf, pillow, MarkupSafe, markdown, locket, kiwisolver, isodate, h5py, grpcio, decorator, cycler, cloudpickle, cffi, botocore, attrs, asgiref, absl-py, uamqp, tifffile, threadpoolctl, termcolor, tensorflow-estimator, tensorboard, s3transfer, PyWavelets, pyrsistent, pypiwin32, PyJWT, partd, pandas, opt-einsum, networkx, msrest, mlagents-envs, matplotlib, keras-preprocessing, keras-applications, joblib, jinja2, itsdangerous, imageio, gym, google-pasta, gitdb, gast, fsspec, django, Deprecated, dask, cwcwidth, cryptography, click, cattrs, blessings, azure-core, astor, websockets, wcwidth, tensorflow, sentry-sdk, Send2Trash, scikit-learn, scikit-image, pyzmq, pygments, PyGithub, pydantic, psycopg2-binary, psutil, packaging, opencv-python, mlagents, mixpanel, jsonschema, gym-unity, greenlet, gputil, GitPython, flask, djangorestframework, django-request-logging, django-http-exceptions, django-cors-headers, curtsies, colorama, boto3, boto, boltons, azure-storage-blob, azure-eventhub, perceptilabs
Successfully installed Deprecated-1.2.11 GitPython-3.1.12 MarkupSafe-1.1.1 PyGithub-1.54.1 PyJWT-1.7.1 PyWavelets-1.1.1 Send2Trash-1.5.0 Werkzeug-1.0.1 absl-py-0.11.0 asgiref-3.3.1 astor-0.8.1 attrs-20.3.0 azure-core-1.10.0 azure-eventhub-5.1.0 azure-storage-blob-12.6.0 blessings-1.7 boltons-20.2.1 boto-2.49.0 boto3-1.17.1 botocore-1.20.1 cached-property-1.5.2 cattrs-1.0.0 cffi-1.14.4 chardet-4.0.0 click-7.1.2 cloudpickle-1.6.0 colorama-0.4.3 cryptography-3.3.1 curtsies-0.3.5 cwcwidth-0.1.2 cycler-0.10.0 dask-2021.1.1 decorator-4.4.2 django-3.1.6 django-cors-headers-3.7.0 django-http-exceptions-1.4.0 django-request-logging-0.7.2 djangorestframework-3.12.2 flask-1.1.2 fsspec-0.8.5 future-0.18.2 gast-0.2.2 gitdb-4.0.5 google-pasta-0.2.0 gputil-1.4.0 greenlet-1.0.0 grpcio-1.35.0 gym-0.18.0 gym-unity-0.23.0 h5py-3.1.0 idna-2.10 imageio-2.9.0 importlib-metadata-3.4.0 isodate-0.6.0 itsdangerous-1.1.0 jinja2-2.11.3 jmespath-0.10.0 joblib-1.0.0 jsonschema-3.2.0 keras-applications-1.0.8 keras-preprocessing-1.1.2 kiwisolver-1.3.1 locket-0.2.1 markdown-3.3.3 matplotlib-3.3.4 mixpanel-4.7.0 mlagents-0.23.0 mlagents-envs-0.23.0 msrest-0.6.21 networkx-2.5 numpy-1.18.5 oauthlib-3.1.0 opencv-python-4.5.1.48 opt-einsum-3.3.0 packaging-20.9 pandas-1.2.1 partd-1.1.0 perceptilabs-0.11.7 pillow-7.0.0 protobuf-3.14.0 psutil-5.8.0 psycopg2-binary-2.8.6 pycparser-2.20 pydantic-1.7.3 pyglet-1.5.0 pygments-2.7.4 pyparsing-2.4.7 pypiwin32-223 pyrsistent-0.17.3 python-dateutil-2.8.1 pytz-2021.1 pywin32-300 pyyaml-5.4.1 pyzmq-22.0.2 requests-2.25.1 requests-oauthlib-1.3.0 s3transfer-0.3.4 scikit-image-0.17.2 scikit-learn-0.24.1 scipy-1.6.0 sentry-sdk-0.14.3 six-1.15.0 smmap-3.0.5 sqlparse-0.4.1 tensorboard-1.15.0 tensorflow-1.15.0 tensorflow-estimator-1.15.1 termcolor-1.1.0 threadpoolctl-2.1.0 tifffile-2021.2.1 toolz-0.11.1 typing-extensions-3.7.4.3 uamqp-1.2.14 urllib3-1.25.10 wcwidth-0.2.5 websockets-8.1 wrapt-1.12.1 zipp-3.4.0

(pl) C:\Users\Lenovo>perceptilabs
PerceptiLabs: Your environment does not have atari_py installed, so some functionality may not be available
PerceptiLabs: To install it, please follow the directions at https://github.com/Kojoley/atari-py and then install gym through ‘pip install gym[atari]’
INFO: Could not find files for the given pattern(s).
PerceptiLabs: Your environment does not have git installed, so interactions with GitHub will not be available
PerceptiLabs: Starting
PerceptiLabs: Waiting for services to listen on these ports:
PerceptiLabs: kernel on port 5000
PerceptiLabs: Waiting for services to listen on these ports:
PerceptiLabs: kernel on port 5000
PerceptiLabs: Waiting for services to listen on these ports:

Haha, sorry Robert i find the problem! Тhe antivirus firewall has blocked some python files, after permission for access from my side everything works great at the moment.
Thank you and sorry one more time for bother you!

Hi @Venci,
Great to hear that it started working! :smiley:

If you have the time, would you mind writing which files were blocked and how you noticed it?
Would be great for someone else having this issue :slight_smile:

All the best,
Robert

After creating a new environment and installing a python 3.7. After the third start of perceptilabs. My antivirus (AVG) showed a message that it has blocked content and do I want to unblock it. My advice is after installing perceptilabs and python, look at the exceptions in the antivirus program and add a path to python.exe as an exception if the antivirus program did not do it automatically. After a check, I found out that AVG likes to quietly block various things. For that reason check your exceptions!

1 Like

having the same Kernel offline problem.

(brain) C:\Users\mattias>perceptilabs -v=3
INFO: Could not find files for the given pattern(s).
PerceptiLabs: Your environment does not have git installed, so interactions with GitHub will not be available
Operations to perform:
Apply all migrations: admin, api, auth, contenttypes, sessions
Running migrations:
No migrations to apply.
PerceptiLabs: Starting
2021-02-16 14:45:27.965083: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library ‘cudart64_100.dll’; dlerror: cudart64_100.dll not found
2021-02-16 14:45:27.971691: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Performing system checks…

Performing system checks…

System check identified no issues (0 silenced).
February 16, 2021 - 14:45:28
Django version 3.1.6, using settings ‘static_file_server.settings’
Starting development server at htt p://127.0.0.1:8080/
Quit the server with CTRL-BREAK.
System check identified no issues (0 silenced).
Performing system checks…

February 16, 2021 - 14:45:28
Django version 3.1.6, using settings ‘fileserver.settings’
Starting development server at ht t p://127.0.0.1:8011/
Quit the server with CTRL-BREAK.
System check identified no issues (0 silenced).
February 16, 2021 - 14:45:29
Django version 3.1.6, using settings ‘rygg.settings’
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
WARNING:tensorflow:From c:\users\mattias\appdata\local\continuum\anaconda3\envs\brain\lib\site-packages\tensorflow_core\python\compat\v2_compat.py:68: disable_resource_variables (from tensorflow.python.ops.variable_scope) is deprecated and will be removed in a future version.
Instructions for updating:
non-resource variables are not supported in the long term
[16/Feb/2021 14:45:30] “GET /?token=tO5QBGp_IqzMY5gqYPbpoKIdusxbHhUSAJw_nHlUOM4 HT T P/1.1” 200 493
[16/Feb/2021 14:45:30] “GET /static/styles/vendors.349510cbe67641dfdfc9.css HTTP/1.1” 304 0
[16/Feb/2021 14:45:30] “GET /static/js/1.11edefcb41731e37af99.js HTTP/1.1” 304 0
[16/Feb/2021 14:45:30] “GET /static/js/app.170fa557e9b157a38e11.js HTTP/1.1” 304 0
[16/Feb/2021 14:45:30] “GET /kernel_url HTTP/1.1” 200 0
[16/Feb/2021 14:45:30] “GET /fileserver_url HTTP/1.1” 200 0
[16/Feb/2021 14:45:30] “GET /rygg_url HTTP/1.1” 200 0
2021-02-16 14:45:31,380 - INFO - :1 - Reporting errors with commit id: bd6ed8974267cd076d0f1e8cedd240829db71bc5
PerceptiLabs is ready…
2021-02-16 14:45:31,437 - INFO - :1 - Trying to listen to: 0.0.0.0 5000
[16/Feb/2021 14:45:31] “GET /static/img/favicon.ico?v=0.9.8 HTTP/1.1” 304 0
[16/Feb/2021 14:45:32] “GET /?token=tO5QBGp_IqzMY5gqYPbpoKIdusxbHhUSAJw_nHlUOM4 HTTP/1.1” 200 493
[16/Feb/2021 14:45:32] “GET /kernel_url HTTP/1.1” 200 0
[16/Feb/2021 14:45:32] “GET /fileserver_url HTTP/1.1” 200 0
[16/Feb/2021 14:45:32] “GET /rygg_url HTTP/1.1” 200 0
PerceptiLabs: PerceptiLabs Started
PerceptiLabs: PerceptiLabs is running at http://localhost:8080/?token=tO5QBGp_IqzMY5gqYPbpoKIdusxbHhUSAJw_nHlUOM4
PerceptiLabs: Use Control-C to stop this server and shut down all PerceptiLabs processes.
Error in connection handler
Traceback (most recent call last):
File “c:\users\mattias\appdata\local\continuum\anaconda3\envs\brain\lib\site-packages\websockets\protocol.py”, line 827, in transfer_data
message = await self.read_message()
File “c:\users\mattias\appdata\local\continuum\anaconda3\envs\brain\lib\site-packages\websockets\protocol.py”, line 895, in read_message
frame = await self.read_data_frame(max_size=self.max_size)
File “c:\users\mattias\appdata\local\continuum\anaconda3\envs\brain\lib\site-packages\websockets\protocol.py”, line 971, in read_data_frame
frame = await self.read_frame(max_size)
File “c:\users\mattias\appdata\local\continuum\anaconda3\envs\brain\lib\site-packages\websockets\protocol.py”, line 1051, in read_frame
extensions=self.extensions,
File “c:\users\mattias\appdata\local\continuum\anaconda3\envs\brain\lib\site-packages\websockets\framing.py”, line 105, in read
data = await reader(2)
File “c:\users\mattias\appdata\local\continuum\anaconda3\envs\brain\lib\asyncio\streams.py”, line 677, in readexactly
raise IncompleteReadError(incomplete, n)
asyncio.streams.IncompleteReadError: 0 bytes read on a total of 2 expected bytes

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File “c:\users\mattias\appdata\local\continuum\anaconda3\envs\brain\lib\site-packages\websockets\server.py”, line 191, in handler
await self.ws_handler(self, path)
File “perceptilabs\server\web_serverlib.py”, line 114, in interface
File “c:\users\mattias\appdata\local\continuum\anaconda3\envs\brain\lib\site-packages\websockets\protocol.py”, line 509, in recv
await self.ensure_open()
File “c:\users\mattias\appdata\local\continuum\anaconda3\envs\brain\lib\site-packages\websockets\protocol.py”, line 803, in ensure_open
raise self.connection_closed_exc()
websockets.exceptions.ConnectionClosedError: code = 1006 (connection closed abnormally [internal]), no reason
[16/Feb/2021 14:45:32] “GET /rygg_url HTTP/1.1” 200 0
[16/Feb/2021 14:45:32] “GET /static/fonts/nunito-sans-v5-latin-regular.9c6a1ff.woff2 HTTP/1.1” 304 0
[16/Feb/2021 14:45:32] “GET /static/fonts/icomoon.9d6c449.woff HTTP/1.1” 304 0
[16/Feb/2021 14:45:32] “GET /static/fonts/nunito-sans-v5-latin-700.d0b6d0f.woff2 HTTP/1.1” 304 0
[16/Feb/2021 14:45:32] “GET /static/fonts/nunito-sans-v5-latin-600.b56c7e1.woff2 HTTP/1.1” 304 0
[16/Feb/2021 14:45:33] “GET /version?token=tO5QBGp_IqzMY5gqYPbpoKIdusxbHhUSAJw_nHlUOM4 HTTP/1.1” 200 21
[16/Feb/2021 14:45:33] “HEAD /directories?path=D:/AI//GAN%201&token=tO5QBGp_IqzMY5gqYPbpoKIdusxbHhUSAJw_nHlUOM4 HTTP/1.1” 200 25
[16/Feb/2021 14:45:33] “GET /projects/ HTTP/1.1” 200 268
[16/Feb/2021 14:45:33] “GET /models/1/ HTTP/1.1” 200 189
[16/Feb/2021 14:45:33] “GET /app/updates_available/ HTTP/1.1” 200 22
[16/Feb/2021 14:45:33] “GET /json_models?path=D:/AI//GAN%201/model.json&token=tO5QBGp_IqzMY5gqYPbpoKIdusxbHhUSAJw_nHlUOM4 HTTP/1.1” 200 12936
[16/Feb/2021 14:45:33] “GET /json_models?path=D:/AI//GAN%201/model.json&token=tO5QBGp_IqzMY5gqYPbpoKIdusxbHhUSAJw_nHlUOM4 HTTP/1.1” 200 12936
[16/Feb/2021 14:45:33] “POST /json_models?path=D:/AI//GAN%201&token=tO5QBGp_IqzMY5gqYPbpoKIdusxbHhUSAJw_nHlUOM4 HTTP/1.1” 200 37
[16/Feb/2021 14:45:33] “HEAD /directories?path=D:/AI//GAN%201&token=tO5QBGp_IqzMY5gqYPbpoKIdusxbHhUSAJw_nHlUOM4 HTTP/1.1” 200 25
[16/Feb/2021 14:45:33] “GET /mixpanel/decide/?verbose=1&version=1&lib=web&token=1480b2244fdd4d821227a29e2637f922&ip=1&_=1613483132924 HTTP/1.1” 200 0
Error in connection handler
Traceback (most recent call last):
File “c:\users\mattias\appdata\local\continuum\anaconda3\envs\brain\lib\site-packages\websockets\protocol.py”, line 827, in transfer_data
message = await self.read_message()
File “c:\users\mattias\appdata\local\continuum\anaconda3\envs\brain\lib\site-packages\websockets\protocol.py”, line 895, in read_message
frame = await self.read_data_frame(max_size=self.max_size)
File “c:\users\mattias\appdata\local\continuum\anaconda3\envs\brain\lib\site-packages\websockets\protocol.py”, line 971, in read_data_frame
frame = await self.read_frame(max_size)
File “c:\users\mattias\appdata\local\continuum\anaconda3\envs\brain\lib\site-packages\websockets\protocol.py”, line 1051, in read_frame
extensions=self.extensions,
File “c:\users\mattias\appdata\local\continuum\anaconda3\envs\brain\lib\site-packages\websockets\framing.py”, line 105, in read
data = await reader(2)
File “c:\users\mattias\appdata\local\continuum\anaconda3\envs\brain\lib\asyncio\streams.py”, line 677, in readexactly
raise IncompleteReadError(incomplete, n)
asyncio.streams.IncompleteReadError: 0 bytes read on a total of 2 expected bytes

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File “c:\users\mattias\appdata\local\continuum\anaconda3\envs\brain\lib\site-packages\websockets\server.py”, line 191, in handler
await self.ws_handler(self, path)
File “perceptilabs\server\web_serverlib.py”, line 114, in interface
File “c:\users\mattias\appdata\local\continuum\anaconda3\envs\brain\lib\site-packages\websockets\protocol.py”, line 509, in recv
await self.ensure_open()
File “c:\users\mattias\appdata\local\continuum\anaconda3\envs\brain\lib\site-packages\websockets\protocol.py”, line 803, in ensure_open
raise self.connection_closed_exc()
websockets.exceptions.ConnectionClosedError: code = 1006 (connection closed abnormally [internal]), no reason
Error in connection handler
Traceback (most recent call last):
File “c:\users\mattias\appdata\local\continuum\anaconda3\envs\brain\lib\site-packages\websockets\protocol.py”, line 827, in transfer_data
message = await self.read_message()
File “c:\users\mattias\appdata\local\continuum\anaconda3\envs\brain\lib\site-packages\websockets\protocol.py”, line 895, in read_message
frame = await self.read_data_frame(max_size=self.max_size)
File “c:\users\mattias\appdata\local\continuum\anaconda3\envs\brain\lib\site-packages\websockets\protocol.py”, line 971, in read_data_frame
frame = await self.read_frame(max_size)
File “c:\users\mattias\appdata\local\continuum\anaconda3\envs\brain\lib\site-packages\websockets\protocol.py”, line 1051, in read_frame
extensions=self.extensions,
File “c:\users\mattias\appdata\local\continuum\anaconda3\envs\brain\lib\site-packages\websockets\framing.py”, line 105, in read
data = await reader(2)
File “c:\users\mattias\appdata\local\continuum\anaconda3\envs\brain\lib\asyncio\streams.py”, line 677, in readexactly
raise IncompleteReadError(incomplete, n)
asyncio.streams.IncompleteReadError: 0 bytes read on a total of 2 expected bytes

The above exception was the direct cause of the following exception:

@robertl Thanks for your list: it seems my installation had tensorflow-estimator 2.4.1 and tensorboard 2.4.0 (somehow) - I’ve removed and reinstalled and now that I have 1.15.1 and 1.15.0 like you, the Textile model now runs.

It is very interesting to note that a muddled environment could cause the cuDNN and then missing python.dtypes errors

1 Like