pyoptsparse
pyoptsparse copied to clipboard
`import pyoptsparse` hangs (on local machine) when using a vpn
Description
This feels like an odd one.
I'm running python on my local machine.
When I'm not connected to a certain VPN, I can import pyoptsparse
. When I am connected, it hangs on the import
command.
This happens both in a python repl and a jupyter notebook (using the same kernel).
The import command stops hanging and succeeds a few moments after disconnecting the vpn.
This seems very odd to me, as I don't know why there would be any network-calling code in pyoptsparse (other than perhaps to check license for certain optimizers?)
Steps to reproduce issue
- Have pyoptsparse installed successfully - I can run Openmdao problems using IPOPT, for example.
- Turn on the Pulse Secure VPN so I connect to my lab's servers
- Open a new, local python repl or notebook
-
import pyoptsparse
Current behavior
it hangs until I disconnect from the VPN
Expected behavior
it imports
Code versions
- Operating System: pop!_os
- Python: 3.10.2
- OpenMPI: n/a
- CGNS: idk what this is
- PETSc: n/a
- Compiler: not relevant?
- This repository: 2.9.2