Hi --
New to Python, been programming in other languages for years...
I am trying to run the Python script to move workbooks. I have Python 3.10, but I am getting a message about VERSION not being defined (see below).
I tried doing a Pip install VERSION but that did not work.
Any ideas on how I can fix this?
Thanks
John
- Signing in to both sites to obtain authentication tokens
Traceback (most recent call last):
File "D:\TOL - Scripts\Data Sources\move_datasource_server.py", line 415, in
main()
File "D:\TOL - Scripts\Data Sources\move_datasource_server.py", line 382, in main
source_auth_token, source_site_id, source_user_id = sign_in(source_server, source_username, source_password, source_site)
File "D:\TOL - Scripts\Data Sources\move_datasource_server.py", line 138, in sign_in
url = server + "/api/{0}/auth/signin".format(VERSION)
NameError: name 'VERSION' is not defined
Hi --
New to Python, been programming in other languages for years...
I am trying to run the Python script to move workbooks. I have Python 3.10, but I am getting a message about VERSION not being defined (see below).
I tried doing a Pip install VERSION but that did not work.
Any ideas on how I can fix this?
Thanks
John
Traceback (most recent call last):
File "D:\TOL - Scripts\Data Sources\move_datasource_server.py", line 415, in
main()
File "D:\TOL - Scripts\Data Sources\move_datasource_server.py", line 382, in main
source_auth_token, source_site_id, source_user_id = sign_in(source_server, source_username, source_password, source_site)
File "D:\TOL - Scripts\Data Sources\move_datasource_server.py", line 138, in sign_in
url = server + "/api/{0}/auth/signin".format(VERSION)
NameError: name 'VERSION' is not defined