ivy-llc / ivy

Convert Machine Learning Code Between Frameworks
https://ivy.dev
Other
14.02k stars 5.73k forks source link

Incorrect Syntax in build_submodules.py #17849 #17876

Open santhosh-patel opened 1 year ago

santhosh-patel commented 1 year ago

Bug Explanation

I noticed that there is an issue with the syntax in the build_submodules.py file. The print statement is missing parentheses, causing a syntax error when running the script.

Steps to Reproduce Bug

Current Code

print cmd
print "cannot create directory {}".format(dir)
print 'Cannot find a suitable version of Visual Studio (require 10.0-15.0 or 2017 or 2019)'
print "submodules/z3 not found. try 'git submodule update; git submodule update'"

Expected Code:

print(cmd)
print ("cannot create directory {}".format(dir))
print ('Cannot find a suitable version of Visual Studio (require 10.0-15.0 or 2017 or 2019)')
print ("submodules/z3 not found. try 'git submodule update; git submodule update'")

Environment

windows 10

Ivy Version

v1.1.9

Backend

Device

No response

shephinphilip commented 1 year ago

@Alex19578

I can't able to find the file "build_submodules.py" in the code base. If I am wrong , could you please provide me the exact location of the file .