donkeycar icon indicating copy to clipboard operation
donkeycar copied to clipboard

Install-44jp.sh fails at line 23

Open TCIII opened this issue 4 years ago • 6 comments

NVIDIA Nano 4GB OS Jetpack 4.4.1

While executing install-jp44.sh received: "Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'" in response to line 23: "sudo -H pip3 install -r requirements.txt"

The "requirements.txt" is in the "installation" nano directory, but nowhere in the DC docs for using "install-jp44.sh" does it indicate that the "requirements.txt" file needs to be previously installed and where to install it.

Additionally the script begins with an "update" and an "upgrade" after which Jetpack 4.4.1 requires a "reboot" which cannot be accomplished with the script.

Suggest manually do "update" and "upgrade", perform a "reboot" and then begin the script.

TCIII avatar Jan 21 '21 16:01 TCIII

Installed "requirements.txt" in the root directory and commented out "update" and "upgrade: in "install-jp44.sh. Manually ran "update" and "upgrade", then rebooted the Nano and then ran "install-jp44.sh". I had one instance of "failed building wheel for h5py", but script did not return to the CLI. Script continued to run until the installation of Tensorflow when I received a massive slew of errors and the script went to the CLI.

I do not believe that this installation script for the Nano is ready for use.

TCIII avatar Jan 21 '21 19:01 TCIII

Let's put this into the doc.

sctse999 avatar Jan 26 '21 15:01 sctse999

I ran into same errors. Is there a workaround installing donkey 4.x on the nano?

JosefGst avatar Feb 09 '21 01:02 JosefGst

@JosefGst,

I successfully installed DC 4.1.0 on the Nano using the manual installation guide. The installation script is definitely flawed as noted above and should be removed from the Nano DC installation docs.

TCIII avatar Feb 09 '21 03:02 TCIII

@TCIII what is the status here? We don't support JP4.4 anymore, but is the underlying issue still an issue with JP 4.5.1 or JP 4.6?

Ezward avatar Mar 04 '23 00:03 Ezward

@Ezward,

I have not had this issue when installing either JP4.5.1 or JP4.6.1/2 when using either the main branch or the tf_2_9 branch which will soon be merged with the main branch.

TCIII

TCIII avatar Mar 04 '23 12:03 TCIII