[OpenIndiana-discuss] Upgdared OI today - pkg not working

Alexander Pyhalov alp at sfedu.ru
Wed Sep 12 09:45:13 UTC 2018


Hi.

It seems you have local version of cryptography installed (likely via pip). Try uninstalling it. IPS should use library/python/cryptography-27 at 2.1.4 .

С уважением,
Александр Пыхалов,
программист отдела телекоммуникационной инфраструктуры
управления информационно-коммуникационной инфраструктуры ЮФУ


________________________________________
От: Predrag Zečević - Technical Support Analyst <predrag.zecevic at 2e-systems.com>
Отправлено: 12 сентября 2018 г. 12:33:06
Кому: Discussion list for OpenIndiana
Тема: [OpenIndiana-discuss] Upgdared OI today - pkg not working

Hi all,

just wanted to test if kvm works, but (after OI upgrade) to


$ uname -rosv
SunOS 5.11 illumos-2eeda98682 illumos

$ pkg list
Traceback (most recent call last):
   File "/usr/bin/pkg", line 69, in <module>
     import pkg.client.api as api
   File "/usr/lib/python2.7/vendor-packages/pkg/client/api.py", line 76,
in <module>
     import pkg.client.image as image
   File "/usr/lib/python2.7/vendor-packages/pkg/client/image.py", line
47, in <module>
     from cryptography import x509
   File
"/usr/lib/python2.7/site-packages/cryptography/x509/__init__.py", line
7, in <module>
     from cryptography.x509.base import (
   File "/usr/lib/python2.7/site-packages/cryptography/x509/base.py",
line 15, in <module>
     from cryptography.x509.extensions import Extension, ExtensionType
   File
"/usr/lib/python2.7/site-packages/cryptography/x509/extensions.py", line
19, in <module>
     from cryptography.hazmat.primitives import constant_time, serialization
   File
"/usr/lib/python2.7/site-packages/cryptography/hazmat/primitives/constant_time.py",
line 9, in <module>
     from cryptography.hazmat.bindings._constant_time import lib
ImportError: No module named _constant_time

So, I have booted back to working BE.
Did I missed something?

With best regards.
Predrag Zečević
--
Predrag Zečević
Technical Support Analyst
2e Systems GmbH

tel: +49 - 6196 - 95058 - 15
mob: +49 - 174 - 3109288
fax: +49 - 6196 - 95058 - 94
e-mail: predrag.zecevic at 2e-systems.com

headquarter: 2e Systems GmbH, Koenigsteiner Str. 87, 65812 Bad Soden am
Taunus, Germany
registration: Amtsgericht Koenigstein (Germany), HRB 7303
managing director: Phil Douglas

http://www.2e-systems.com/ - Making your business fly!

_______________________________________________
openindiana-discuss mailing list
openindiana-discuss at openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


More information about the openindiana-discuss mailing list