# I cannot execute shotgrid desktop

**URL:** <https://community.shotgridsoftware.com/t/i-cannot-execute-shotgrid-desktop/15307>\
**Category:** Flow Production Tracking\
**Created:** [May 4, 2022, 8:11am UTC](https://community.shotgridsoftware.com/t/i-cannot-execute-shotgrid-desktop/15307 "2022-05-04T08:11:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![youngchanKim](https://avatars.discourse-cdn.com/v4/letter/y/67e7ee/32.png) [@youngchanKim](https://community.shotgridsoftware.com/u/youngchanKim)\
**Post date:** [May 4, 2022, 8:11am UTC](https://community.shotgridsoftware.com/t/i-cannot-execute-shotgrid-desktop/15307/1 "2022-05-04T08:11:32Z")

</div>

Dear all.  
I am trying to install Shotgrid Desktop, but it does not work and shows an error “Error:‘NoneType’ object has no attribute login.”  
I am looking for a resolution to solve the problem.  
I have attached screenshots of the error and its log file.  
If there is someone who knows how to fix it, I am waiting for your help.  
Best regards.  
 ![error_capture](https://global.discourse-cdn.com/shotgunsoftware/original/2X/8/8ba307453563494463d58d2df16b23618e555ee2.png)  
[tk-desktop .log](https://community.shotgridsoftware.com/uploads/short-url/9fUH3dKyDk5oxwnMoHdoHiBMMJN.log) (496.6 KB)

---

<div class="post-metadata">

**Author:** ![Ricardo\_Musch](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/ricardo_musch/32/405_2.png) [@Ricardo\_Musch](https://community.shotgridsoftware.com/u/Ricardo_Musch)\
**Post date:** [May 4, 2022, 11:43am UTC](https://community.shotgridsoftware.com/t/i-cannot-execute-shotgrid-desktop/15307/2 "2022-05-04T11:43:23Z")

</div>

I’m just going to make a wild guess but it may have to do with localisation/chinese(?) characters in the filesystem.  
And perhaps a Py3 bug as you are running v1.7.3.

Could you set `SHOTGUN_PYTHON_VERSION=2` as environment variable and then start SG Desktop again?  
That forces it into Python 2 mode just to see if the error persists.

---

<div class="post-metadata">

**Author:** ![youngchanKim](https://avatars.discourse-cdn.com/v4/letter/y/67e7ee/32.png) [@youngchanKim](https://community.shotgridsoftware.com/u/youngchanKim)\
**Post date:** [May 9, 2022, 1:26am UTC](https://community.shotgridsoftware.com/t/i-cannot-execute-shotgrid-desktop/15307/3 "2022-05-09T01:26:14Z")

</div>

It works! Thx.
