Can not call shotgun in maya 2020

At first, I have run my pipeline package on maya 2020.4 then it crashed. after that I’m trying to import module by module of the package. then I found the shotgun can not be called in maya

This is my code

import shotgun _api3
sg = shotgun_api3.Shotgun(site_name, script_name, api_key)

then it’s crashed again.

I check with python.exe. It can work fine. Anyone got this issue like me and how can you solve it?

I try to ping google.com on maya session and it crashed too ==
It happened only on new machines in my studio. which I don’t think it related to its hardware, but FYI.

CPU Intel Core I7-11700KF
M/B ASROCK Z590M PRO4
RAM 32GB Bus 3200
VGA GTX1660 Super/RTX 2060
SSD Samsung M.2 980 500GB Nvme/M.2 WD Blue 500GB Nvme
HDD WD Blue 1TB
OS Windows 10 20H2/21H1
CPU Cooler Cooler Master MasterAir MA410M
PSU CORSAIR RM850 850WATT 80+ GOLD

1 Like

Hi!

dont know if you already find out your sollution. But couple days ago I get similiary problem in my studio. We cannot run Maya 2018 and 2020 from Shotgun,
but Maya 2022 works fine. In our case the solution was to add that environment variable:

OPENSSL_ia32cap = ~0x200000200000000

The problem is that there is some issue with windows version of OpenSSL, which is used by Python 2.7. It’s known problem wiht 10th, 11th and 12th generation Intel procesors.

Now everything works fine :slight_smile:

3 Likes