Still can't properly Start Perceptilabs!

Hello!

About a month ago @robertl was helping me start Perceptilabs since all appeared to be installed as well and even a message popped up saying “Perceptilabs is ready” but no window on any browser opened.

Now I have upgraded the version of my Mac to 10.15 and running in Python 3.7, still the program doesn’t run! There appears to be a problem with a TensorFlow component, but I’m not quite sure. I’ll post everything I tried.

Thanks!

  • Sam

    (Installer) iMac-de-Imac:Installer imac$ conda activate pl
    (pl) iMac-de-Imac:Installer imac$ pip install perceptilabs -vvv
    Using pip 21.1.3 from /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages/pip (python 3.7)
    Non-user install because site-packages writeable
    Created temporary directory: /private/var/folders/8v/gpyl9n7n29b1dqb0sk_kr8sc0000gn/T/pip-ephem-wheel-cache-fwifb99v
    Created temporary directory: /private/var/folders/8v/gpyl9n7n29b1dqb0sk_kr8sc0000gn/T/pip-req-tracker-584j518m
    Initialized build tracking at /private/var/folders/8v/gpyl9n7n29b1dqb0sk_kr8sc0000gn/T/pip-req-tracker-584j518m
    Created build tracker: /private/var/folders/8v/gpyl9n7n29b1dqb0sk_kr8sc0000gn/T/pip-req-tracker-584j518m
    Entered build tracker: /private/var/folders/8v/gpyl9n7n29b1dqb0sk_kr8sc0000gn/T/pip-req-tracker-584j518m
    Created temporary directory: /private/var/folders/8v/gpyl9n7n29b1dqb0sk_kr8sc0000gn/T/pip-install-_jpkdai2
    Requirement already satisfied: perceptilabs in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (0.9.6)
    Requirement already satisfied: psutil>=5.6.3 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from perceptilabs) (5.8.0)
    Requirement already satisfied: cryptography>=2.8 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from perceptilabs) (3.4.7)
    Requirement already satisfied: GPUtil>=1.4.0 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from perceptilabs) (1.4.0)
    Requirement already satisfied: astor>=0.8.0 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from perceptilabs) (0.8.1)
    Requirement already satisfied: gym[atari] in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from perceptilabs) (0.18.3)
    Requirement already satisfied: cffi>=1.13.2 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from perceptilabs) (1.14.6)
    Requirement already satisfied: boltons>=19.3.0 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from perceptilabs) (21.0.0)
    Requirement already satisfied: fsspec>=0.6.0 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from perceptilabs) (2021.7.0)
    Requirement already satisfied: pycparser>=2.19 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from perceptilabs) (2.20)
    Requirement already satisfied: boto3>=1.9.233 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from perceptilabs) (1.18.6)
    Requirement already satisfied: sentry-sdk>=0.10.2 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from perceptilabs) (1.3.0)
    Requirement already satisfied: azure-storage>=0.36.0 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from perceptilabs) (0.36.0)
    Requirement already satisfied: pandas>=0.25.0 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from perceptilabs) (1.3.1)
    Requirement already satisfied: boto>=2.49.0 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from perceptilabs) (2.49.0)
    Requirement already satisfied: tensorflow==1.13.1 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from perceptilabs) (1.13.1)
    Requirement already satisfied: numpy>=1.16.4 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from perceptilabs) (1.21.1)
    Requirement already satisfied: scikit-learn>=0.22.1 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from perceptilabs) (0.24.2)
    Requirement already satisfied: six>=1.14.0 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from perceptilabs) (1.16.0)
    Requirement already satisfied: Jinja2>=2.10.3 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from perceptilabs) (3.0.1)
    Requirement already satisfied: scikit-image>=0.15.0 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from perceptilabs) (0.18.2)
    Requirement already satisfied: websockets>=8.1 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from perceptilabs) (9.1)
    Requirement already satisfied: dask[array]>=2.6.0 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from perceptilabs) (2021.7.1)
    Requirement already satisfied: scipy>=1.3.0 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from perceptilabs) (1.7.0)
    Requirement already satisfied: termcolor>=1.1.0 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from tensorflow==1.13.1->perceptilabs) (1.1.0)
    Requirement already satisfied: gast>=0.2.0 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from tensorflow==1.13.1->perceptilabs) (0.5.1)
    Requirement already satisfied: grpcio>=1.8.6 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from tensorflow==1.13.1->perceptilabs) (1.39.0)
    Requirement already satisfied: wheel>=0.26 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from tensorflow==1.13.1->perceptilabs) (0.36.2)
    Requirement already satisfied: tensorboard<1.14.0,>=1.13.0 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from tensorflow==1.13.1->perceptilabs) (1.13.1)
    Requirement already satisfied: tensorflow-estimator<1.14.0rc0,>=1.13.0 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from tensorflow==1.13.1->perceptilabs) (1.13.0)
    Requirement already satisfied: absl-py>=0.1.6 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from tensorflow==1.13.1->perceptilabs) (0.13.0)
    Requirement already satisfied: keras-preprocessing>=1.0.5 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from tensorflow==1.13.1->perceptilabs) (1.1.2)
    Requirement already satisfied: keras-applications>=1.0.6 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from tensorflow==1.13.1->perceptilabs) (1.0.8)
    Requirement already satisfied: protobuf>=3.6.1 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from tensorflow==1.13.1->perceptilabs) (3.17.3)
    Requirement already satisfied: azure-nspkg>=2.0.0 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from azure-storage>=0.36.0->perceptilabs) (3.0.2)
    Requirement already satisfied: python-dateutil in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from azure-storage>=0.36.0->perceptilabs) (2.8.2)
    Requirement already satisfied: requests in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from azure-storage>=0.36.0->perceptilabs) (2.26.0)
    Requirement already satisfied: azure-common>=1.1.5 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from azure-storage>=0.36.0->perceptilabs) (1.1.27)
    Requirement already satisfied: s3transfer<0.6.0,>=0.5.0 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from boto3>=1.9.233->perceptilabs) (0.5.0)
    Requirement already satisfied: jmespath<1.0.0,>=0.7.1 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from boto3>=1.9.233->perceptilabs) (0.10.0)
    Requirement already satisfied: botocore<1.22.0,>=1.21.6 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from boto3>=1.9.233->perceptilabs) (1.21.6)
    Requirement already satisfied: urllib3<1.27,>=1.25.4 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from botocore<1.22.0,>=1.21.6->boto3>=1.9.233->perceptilabs) (1.26.6)
    Requirement already satisfied: partd>=0.3.10 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from dask[array]>=2.6.0->perceptilabs) (1.2.0)
    Requirement already satisfied: packaging>=20.0 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from dask[array]>=2.6.0->perceptilabs) (21.0)
    Requirement already satisfied: cloudpickle>=1.1.1 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from dask[array]>=2.6.0->perceptilabs) (1.6.0)
    Requirement already satisfied: pyyaml in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from dask[array]>=2.6.0->perceptilabs) (5.4.1)
    Requirement already satisfied: toolz>=0.8.2 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from dask[array]>=2.6.0->perceptilabs) (0.11.1)
    Requirement already satisfied: MarkupSafe>=2.0 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from Jinja2>=2.10.3->perceptilabs) (2.0.1)
    Requirement already satisfied: h5py in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from keras-applications>=1.0.6->tensorflow==1.13.1->perceptilabs) (3.3.0)
    Requirement already satisfied: pyparsing>=2.0.2 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from packaging>=20.0->dask[array]>=2.6.0->perceptilabs) (2.4.7)
    Requirement already satisfied: pytz>=2017.3 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from pandas>=0.25.0->perceptilabs) (2021.1)
    Requirement already satisfied: locket in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from partd>=0.3.10->dask[array]>=2.6.0->perceptilabs) (0.2.1)
    Requirement already satisfied: tifffile>=2019.7.26 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from scikit-image>=0.15.0->perceptilabs) (2021.7.2)
    Requirement already satisfied: PyWavelets>=1.1.1 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from scikit-image>=0.15.0->perceptilabs) (1.1.1)
    Requirement already satisfied: imageio>=2.3.0 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from scikit-image>=0.15.0->perceptilabs) (2.9.0)
    Requirement already satisfied: pillow!=7.1.0,!=7.1.1,>=4.3.0 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from scikit-image>=0.15.0->perceptilabs) (8.2.0)
    Requirement already satisfied: networkx>=2.0 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from scikit-image>=0.15.0->perceptilabs) (2.6.1)
    Requirement already satisfied: matplotlib!=3.0.0,>=2.0.0 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from scikit-image>=0.15.0->perceptilabs) (3.4.2)
    Requirement already satisfied: kiwisolver>=1.0.1 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from matplotlib!=3.0.0,>=2.0.0->scikit-image>=0.15.0->perceptilabs) (1.3.1)
    Requirement already satisfied: cycler>=0.10 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from matplotlib!=3.0.0,>=2.0.0->scikit-image>=0.15.0->perceptilabs) (0.10.0)
    Requirement already satisfied: threadpoolctl>=2.0.0 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from scikit-learn>=0.22.1->perceptilabs) (2.2.0)
    Requirement already satisfied: joblib>=0.11 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from scikit-learn>=0.22.1->perceptilabs) (1.0.1)
    Requirement already satisfied: certifi in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from sentry-sdk>=0.10.2->perceptilabs) (2021.5.30)
    Requirement already satisfied: werkzeug>=0.11.15 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from tensorboard<1.14.0,>=1.13.0->tensorflow==1.13.1->perceptilabs) (2.0.1)
    Requirement already satisfied: markdown>=2.6.8 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from tensorboard<1.14.0,>=1.13.0->tensorflow==1.13.1->perceptilabs) (3.3.4)
    Requirement already satisfied: importlib-metadata in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from markdown>=2.6.8->tensorboard<1.14.0,>=1.13.0->tensorflow==1.13.1->perceptilabs) (4.6.1)
    Requirement already satisfied: mock>=2.0.0 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from tensorflow-estimator<1.14.0rc0,>=1.13.0->tensorflow==1.13.1->perceptilabs) (4.0.3)
    Requirement already satisfied: pyglet<=1.5.15,>=1.4.0 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from gym[atari]->perceptilabs) (1.5.15)
    Requirement already satisfied: opencv-python>=3. in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from gym[atari]->perceptilabs) (4.5.3.56)
    Requirement already satisfied: atari-py~=0.2.0 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from gym[atari]->perceptilabs) (0.2.9)
    Requirement already satisfied: cached-property in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from h5py->keras-applications>=1.0.6->tensorflow==1.13.1->perceptilabs) (1.5.2)
    Requirement already satisfied: zipp>=0.5 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from importlib-metadata->markdown>=2.6.8->tensorboard<1.14.0,>=1.13.0->tensorflow==1.13.1->perceptilabs) (3.5.0)
    Requirement already satisfied: typing-extensions>=3.6.4 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from importlib-metadata->markdown>=2.6.8->tensorboard<1.14.0,>=1.13.0->tensorflow==1.13.1->perceptilabs) (3.10.0.0)
    Requirement already satisfied: idna<4,>=2.5 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from requests->azure-storage>=0.36.0->perceptilabs) (3.2)
    Requirement already satisfied: charset-normalizer~=2.0.0 in /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages (from requests->azure-storage>=0.36.0->perceptilabs) (2.0.3)
    Created temporary directory: /private/var/folders/8v/gpyl9n7n29b1dqb0sk_kr8sc0000gn/T/pip-unpack-9yh9llmz
    Removed build tracker: ‘/private/var/folders/8v/gpyl9n7n29b1dqb0sk_kr8sc0000gn/T/pip-req-tracker-584j518m’
    (pl) iMac-de-Imac:Installer imac$ perceptilabs
    /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:526: FutureWarning: Passing (type, 1) or ‘1type’ as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / ‘(1,)type’.
    _np_qint8 = np.dtype([(“qint8”, np.int8, 1)])
    /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:527: FutureWarning: Passing (type, 1) or ‘1type’ as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / ‘(1,)type’.
    _np_quint8 = np.dtype([(“quint8”, np.uint8, 1)])
    /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:528: FutureWarning: Passing (type, 1) or ‘1type’ as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / ‘(1,)type’.
    _np_qint16 = np.dtype([(“qint16”, np.int16, 1)])
    /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:529: FutureWarning: Passing (type, 1) or ‘1type’ as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / ‘(1,)type’.
    _np_quint16 = np.dtype([(“quint16”, np.uint16, 1)])
    /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:530: FutureWarning: Passing (type, 1) or ‘1type’ as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / ‘(1,)type’.
    _np_qint32 = np.dtype([(“qint32”, np.int32, 1)])
    /Users/imac/opt/anaconda3/envs/pl/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:535: FutureWarning: Passing (type, 1) or ‘1type’ as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / ‘(1,)type’.
    np_resource = np.dtype([(“resource”, np.ubyte, 1)])
    2021-09-13 06:02:00,077 - WARNING - Thread-1 - threading.py:926 - Monitored process id is None. No monitoring will take place.
    PerceptiLabs is ready…

Hi @Sam - I can’t help with the bigger issue but re the TensorFlow “Problem”, if you are referring to the deprecation Warnings - these warnings are just that: warnings for the future, they shouldn’t prevent operation; I have never had warnings stop something.

Thanks for the clarification, @JulianSMoore I still don’t understand why since it is installed correctly it doesn’t open a tab on my browser. Maybe it is because I am using it on Mac? Should I run it on Python 3.8? Or perhaps I should change my computer hahahaha

Hi @Sam

@RobertL may have some specific advice for you and it would help him if you could exit and restart perceptilabs with the command perceptilabs -v=3 which is the verbose mode for diagnostics… if you share the output of that it may give him a head start.

Unfortunately, I haven’t touched Mac’s for decades so I should avoid even trying to speculate!

One other thing though… PerceptiLabs is at http://localhost:8080/ - that port is free isn’t it? What actually happens if you put try to access that localhost port?

(@robertl If the PL port is fixed, could it check the port is not in use when starting up and at least warn the user if it is?)

Hi @Sam,
Sorry to hear that there still is an issue with running it!
Last time the issue was that the correct version of PL was not installed. Can you run pip list and check what version of PL it says there? By the installation prints it looks like you may have a very old version (0.9.6).

What I would recommend trying if that’s the case is to create a new environment and run pip install perceptilabs==0.12.24 to get the latest version without the risk of old collisions.
If it complains when trying to install that specific version, then there is something which does not match with your machine/OS, just let me know if that’s the case and we can take it from there :slight_smile: