cloudml-samples icon indicating copy to clipboard operation
cloudml-samples copied to clipboard

The scripts cygdb, cython and cythonize are installed in '/root/.local/bin' which is not on PATH

Open billybee opened this issue 8 years ago • 9 comments

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Win 10
  • TensorFlow version (use command below): 1.8
  • Python version: 3.6
  • Exact command to reproduce: gcloud ml-engine jobs submit training my_mask_rcnn_201807271234 --job-dir=gs://${YOUR_GCS_BUCKET}/train --packages dist/object_detection-0.1.tar.gz,slim/dist/slim-0.1.tar.gz --module-name object_detection.train --region us-central1 --runtime-version 1.8 --config gs://${YOUR_GCS_BUCKET}/train --train_dir=gs://${YOUR_GCS_BUCKET}/train --pipeline_config_path=gs://${YOUR_GCS_BUCKET}/data/pipeline.config

Describe the problem

I am trying to train my own object detection model using a pre-trained mask rcnn model. I keep run into issues with ML Engine, and first got errors about packages version too low.

I then added packages to setup.py REQUIRED_PACKAGES = ['Pillow>=1.0', 'Matplotlib>=2.1', 'cython>=0.28.1', 'setuptools==34.0.0', 'requests==2.18.4']

However I still ended up with following error logs and training job was not able to get started

Source code / logs

You are using pip version 10.0.1, however version 18.0 is available. You should consider upgrading via the 'pip install --upgrade pip' command.

The scripts cygdb, cython and cythonize are installed in '/root/.local/bin' which is not on PATH. The script chardetect is installed in '/root/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

billybee avatar Jul 29 '18 20:07 billybee

Hi. Thanks for your message. Before I can assist you any further, can you please tell me which one of the sample code in this repository were you trying to run which led to this issue? I am trying to reproduce the issue on my end as much as possible.

happyhuman avatar Jul 30 '18 16:07 happyhuman

I got the same error. How did you fix it?

nicolamarinello avatar Aug 13 '18 18:08 nicolamarinello

it is not fixed. but I don't know if it's the root cause of my train job failure.

2018-08-13 12:03 GMT-06:00 Nicola Marinello [email protected]:

I got the same error. How did you fix it?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/GoogleCloudPlatform/cloudml-samples/issues/225#issuecomment-412609912, or mute the thread https://github.com/notifications/unsubscribe-auth/AgFSiMCB6EJPVbe4b8TLrPwNLm7rOpgLks5uQb90gaJpZM4VljNc .

billybee avatar Aug 14 '18 02:08 billybee

I'm trying to train an SSD v2 for object detection as described here https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/running_on_cloud.md. I was able on July doing everything in the same way. I would read the old logs to check if this problem is the root of the train job failure but I'm not able to check too old logs

nicolamarinello avatar Aug 14 '18 06:08 nicolamarinello

I got this error too, anyone got a solution?

akulubala avatar Aug 18 '18 08:08 akulubala

I deleted the project from Google Cloud and did everything from the beginning. Now it works. I followed what is described here: https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/running_on_cloud.md

nicolamarinello avatar Aug 18 '18 08:08 nicolamarinello

I got this error too, anyone got a solution?

wenfuli avatar Dec 21 '18 13:12 wenfuli

I got this error too, any solution ?

kuldeep27396 avatar Nov 11 '20 01:11 kuldeep27396

Had the same error while trying to install gensim library. It was resolved after running the "pip install --user gensim" a couple of times.

Suadey avatar Feb 24 '21 02:02 Suadey