I am testing paperspace, and I am having trouble running my python code.
Locally, I have a python code in a main directory, and a lot of classes in subdirectories. I send my code using the following command:
paperspace-python run main.py --python 3 --project myproject --machineType GPU+ --container jupyter/datascience-notebook --workspace .
All files in the subdirectory are uploaded to paperspace, I can see them in the “Files” tab of the job created. Even
__init__.py files are in the subdirectories. But I get the following error:
New jobId: jmf2jerhn44xc Cluster: PS Jobs Job Pending Waiting for job to run... Awaiting logs... [WARN tini (7)] Tini is not running as PID 1 . Zombie processes will not be re-parented to Tini, so zombie reaping won't work. To fix the problem, run Tini as PID 1. Traceback (most recent call last): File "main.py", line 116, in <module> from caju_py.news.news_objs import NewsQuery ModuleNotFoundError: No module named 'caju_py.news' Job Failed; exitCode 1
which seems like files in my subdirectory are not found.
Can anyone help me?