from P4 import P4,P4Exception # Import the modulep4 = P4() # Create the P4 instance#p4.host = "ssl:perforce:1666"p4.port = "ssl:perforce:1666"p4.user = "user_name"p4.password = "secret"p4.client = "my_workspace" # Set some environment variablesp4.connect()# Error: line 1: [P4.connect()] Connect to server failed; check $P4PORT.# SSL library must be at least version 1.0.1.# Traceback (most recent call last):# File "<maya console>", line 8, in <module># File "C:\Program Files\Autodesk\Maya2017\Python\lib\site-packages\P4.py", line 798, in connect# P4API.P4Adapter.connect( self )# P4Exception: [P4.connect()] Connect to server failed; check $P4PORT.# SSL library must be at least version 1.0.1. # import syssys.version# Result: 2.7.11 (default, Dec 21 2015, 22:48:54) [MSC v.1700 64 bit (AMD64)]To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/829fec84-43fd-4418-859e-d5611437b49e%40googlegroups.com.--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/9e37ffb5-ecac-4bf3-9ca1-58cfbfb4da88%40googlegroups.com.