Skip to content

error: Invalid distribution name or version syntax: #966

@hung-ai-dev

Description

@hung-ai-dev

Please fill out the form below.

System Information

  • Framework (e.g. TensorFlow) / Algorithm (e.g. KMeans): Pytorch
  • Framework Version: 1.0.0
  • Python Version: py3
  • CPU or GPU: GPU
  • Python SDK Version: 1.35.1
  • Are you using a custom image: No

Describe the problem

I use Pytorch to train model, after Traning image download complated. The error happend

Minimal repro / logs

2019-08-05 07:38:31 Starting - Starting the training job...
2019-08-05 07:38:32 Starting - Launching requested ML instances.........
2019-08-05 07:40:05 Starting - Preparing the instances for training...
2019-08-05 07:41:01 Downloading - Downloading input data......
2019-08-05 07:41:59 Training - Training image download completed. Training in progress..
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
2019-08-05 07:42:00,068 sagemaker-containers INFO Imported framework sagemaker_pytorch_container.training
2019-08-05 07:42:00,093 sagemaker_pytorch_container.training INFO Block until all host DNS lookups succeed.
2019-08-05 07:42:00,094 sagemaker_pytorch_container.training INFO Invoking user training script.
2019-08-05 07:42:02,809 sagemaker-containers INFO Module ./process/train does not provide a setup.py.
Generating setup.py
2019-08-05 07:42:02,809 sagemaker-containers INFO Generating setup.cfg
2019-08-05 07:42:02,809 sagemaker-containers INFO Generating MANIFEST.in
2019-08-05 07:42:02,809 sagemaker-containers INFO Installing module with the following command:
/usr/bin/python -m pip install -U .
Processing /opt/ml/code
Complete output from command python setup.py egg_info:
WARNING: '' not a valid package name; please use only .-separated package names in setup.py
running egg_info
error: Invalid distribution name or version syntax: .-process-train-1.0.0

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-req-build-cdtylol6/
You are using pip version 18.1, however version 19.2.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
2019-08-05 07:42:04,058 sagemaker-containers ERROR InstallModuleError:
Command "/usr/bin/python -m pip install -U ."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions