I install nextcloud. I want create folder on my next cloud using a script.
I test a python script out of ignition it work after installing pyocclient beacause my request to create a folder on nextcloud with python need a module named owncloud.
Consider using the approach documented in this post to install your module, which should automatically bring in appropriate dependencies.
Also consider that due to both the Jython environment and our hard requirement of Python 2.7 compatibility, many external Python packages won't work in this environment. It's often easier to get a java SDK work in Jython than a Python one.
Also, I just tested getting pyocclient in pip and it at least loads in Jython. I don’t have anything to test with connecting to, but it does at least import which looks promising.
Some libraries work and some don’t, but this one looks like it’s certainly worth a try.