Pixel2Mesh icon indicating copy to clipboard operation
Pixel2Mesh copied to clipboard

Error running Pixel2Mesh in Google Colab: "python2: command not found"

Open magdapietruch opened this issue 1 year ago • 2 comments

I am trying to run the Pixel2Mesh model in Google Colab to generate 3D meshes from 2D images. However, when I try to run the code in the "Running it" section of the Pixel2Mesh repository, I encounter an error message that says "/bin/bash: python2: command not found". I have tried to troubleshoot the issue by checking the runtime type, installing the required dependencies, and using a fresh runtime, but the error persists.

Can you provide any guidance or advice on how I can successfully run the Pixel2Mesh code in Google Colab? Is there any additional troubleshooting that I should try, or any other resources or support that you can offer?

Thank you for your help.

magdapietruch avatar Mar 30 '23 16:03 magdapietruch

It looks like python2 is no longer supported on Google Cloud: https://cloud.google.com/python/docs/python2-sunset

In addition to python2, there seems to be a number of other packages that are a bit outdated in the Colab notebook as well. It would be great if the maintainers of the repo could post an updated notebook with more recent version of various packages...but I know that's a lot of work...

josephko91 avatar Apr 20 '23 14:04 josephko91

I couldn't run the code in Collab. I tried to download the code and install the required modules, but it still gave me a lot of errors related to the modules not being installed, being out of date, or something wrong here and there.

Ahmedman60 avatar Mar 11 '24 22:03 Ahmedman60