• aarch64 python 3.6.8 pip install neutron


    [root@localhost python3.6]# /usr/local/Python-3.6.8/bin/python3 -m venv venv
    [root@localhost python3.6]# source venv/bin/activate
    (venv) [root@localhost python3.6]# pip install --upgrade pip
    Collecting pip
      Using cached https://files.pythonhosted.org/packages/a4/6d/6463d49a933f547439d6b5b98b46af8742cc03ae83543e4d7688c2420f8b/pip-21.3.1-py3-none-any.whl
    Installing collected packages: pip
      Found existing installation: pip 18.1
        Uninstalling pip-18.1:
          Successfully uninstalled pip-18.1
    Successfully installed pip-21.3.1
    (venv) [root@localhost python3.6]# pip3 install --upgrade setuptools==50.3.2
    Collecting setuptools==50.3.2
      Using cached setuptools-50.3.2-py3-none-any.whl (785 kB)
    Installing collected packages: setuptools
      Attempting uninstall: setuptools
        Found existing installation: setuptools 40.6.2
        Uninstalling setuptools-40.6.2:
          Successfully uninstalled setuptools-40.6.2
    Successfully installed setuptools-50.3.2
    (venv) [root@localhost python3.6]# pip install neutron==18.6.0
    Collecting neutron==18.6.0
      Using cached neutron-18.6.0-py3-none-any.whl (4.0 MB)
    Collecting oslo.versionedobjects>=1.35.1
      Using cached oslo.versionedobjects-2.6.0-py3-none-any.whl (86 kB)
    Collecting packaging>=20.4
      Using cached packaging-21.3-py3-none-any.whl (40 kB)
    Collecting python-neutronclient>=6.7.0
      Using cached python_neutronclient-7.8.0-py3-none-any.whl (437 kB)
    Collecting httplib2>=0.9.1
      Using cached httplib2-0.22.0-py3-none-any.whl (96 kB)
    Collecting oslo.utils>=4.5.0
      Using cached oslo.utils-4.13.0-py3-none-any.whl (101 kB)
    Collecting python-designateclient>=2.7.0
      Downloading python_designateclient-4.5.1-py3-none-any.whl (93 kB)
         |████████████████████████████████| 93 kB 331 kB/s            
    Collecting pyroute2>=0.6.6
      Using cached pyroute2-0.7.9-py3-none-any.whl (456 kB)
    Collecting neutron-lib>=2.10.1
      Downloading neutron_lib-2.21.0-py3-none-any.whl (576 kB)
         |████████████████████████████████| 576 kB 1.1 MB/s            
    Collecting oslo.middleware>=3.31.0
      Using cached oslo.middleware-4.5.1-py3-none-any.whl (65 kB)
    Collecting oslo.log>=4.3.0
      Using cached oslo.log-4.8.0-py3-none-any.whl (71 kB)
    Collecting keystoneauth1>=3.14.0
      Using cached keystoneauth1-5.1.2-py3-none-any.whl (318 kB)
    Collecting oslo.cache>=1.26.0
      Using cached oslo.cache-2.11.0-py3-none-any.whl (69 kB)
    Collecting pecan>=1.3.2
      Using cached pecan-1.5.1-py3-none-any.whl (146 kB)
    Collecting pyOpenSSL>=17.1.0
      Using cached pyOpenSSL-23.2.0-py3-none-any.whl (59 kB)
    Collecting Paste>=2.0.2
      Using cached Paste-3.5.3-py2.py3-none-any.whl (593 kB)
    Collecting oslo.policy>=3.7.0
      Using cached oslo.policy-3.12.1-py3-none-any.whl (87 kB)
    Collecting WebOb>=1.8.2
      Using cached WebOb-1.8.7-py2.py3-none-any.whl (114 kB)
    Collecting tenacity>=6.0.0
      Using cached tenacity-8.2.2-py3-none-any.whl (24 kB)
    Collecting oslo.messaging>=7.0.0
      Using cached oslo.messaging-12.14.0-py3-none-any.whl (253 kB)
    Collecting oslo.i18n>=3.20.0
      Using cached oslo.i18n-5.1.0-py3-none-any.whl (46 kB)
    Collecting oslo.context>=2.22.0
      Using cached oslo.context-4.1.0-py3-none-any.whl (20 kB)
    Collecting osprofiler>=2.3.0
      Using cached osprofiler-3.4.3-py3-none-any.whl (89 kB)
    Collecting ovsdbapp>=1.9.3
      Using cached ovsdbapp-1.16.1-py3-none-any.whl (124 kB)
    Collecting PasteDeploy>=1.5.0
      Using cached PasteDeploy-2.1.1-py2.py3-none-any.whl (17 kB)
    Collecting eventlet>=0.22.1
      Using cached eventlet-0.33.3-py2.py3-none-any.whl (226 kB)
    Collecting oslo.reports>=1.18.0
      Using cached oslo.reports-2.4.0-py3-none-any.whl (53 kB)
    Collecting oslo.upgradecheck>=1.3.0
      Using cached oslo.upgradecheck-1.5.0-py3-none-any.whl (14 kB)
    Collecting oslo.db>=4.44.0
      Using cached oslo.db-11.3.0-py3-none-any.whl (175 kB)
    Collecting oslo.privsep>=2.3.0
      Using cached oslo.privsep-2.8.0-py3-none-any.whl (38 kB)
    Collecting oslo.concurrency>=3.26.0
      Using cached oslo.concurrency-4.5.1-py3-none-any.whl (47 kB)
    Collecting oslo.serialization>=2.25.0
      Using cached oslo.serialization-4.3.0-py3-none-any.whl (25 kB)
    Collecting requests>=2.18.0
      Using cached requests-2.27.1-py2.py3-none-any.whl (63 kB)
    Collecting oslo.service>=1.31.0
      Using cached oslo.service-2.8.0-py3-none-any.whl (77 kB)
    Collecting openstacksdk>=0.31.2
      Using cached openstacksdk-1.5.0-py3-none-any.whl (1.7 MB)
    Collecting SQLAlchemy>=1.2.0
      Using cached SQLAlchemy-1.4.49-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.6 MB)
    Collecting oslo.config>=8.0.0
      Using cached oslo.config-8.8.1-py3-none-any.whl (128 kB)
    Collecting oslo.rootwrap>=5.8.0
      Using cached oslo.rootwrap-6.3.1-py3-none-any.whl (38 kB)
    Collecting pbr>=4.0.0
      Using cached pbr-5.11.1-py2.py3-none-any.whl (112 kB)
    Collecting stevedore>=1.20.0
      Using cached stevedore-3.5.2-py3-none-any.whl (50 kB)
    Collecting tooz>=1.58.0
      Using cached tooz-2.11.1-py3-none-any.whl (93 kB)
    Collecting python-novaclient>=9.1.0
      Using cached python_novaclient-17.7.0-py3-none-any.whl (333 kB)
    Collecting psutil>=5.3.0
      Using cached psutil-5.9.5-cp36-abi3-linux_aarch64.whl
    Collecting Jinja2>=2.10
      Using cached Jinja2-3.0.3-py3-none-any.whl (133 kB)
    Collecting decorator>=3.4.0
      Using cached decorator-5.1.1-py3-none-any.whl (9.1 kB)
    Collecting alembic>=0.9.6
      Using cached alembic-1.7.7-py3-none-any.whl (210 kB)
    Collecting netifaces>=0.10.4
      Using cached netifaces-0.11.0-cp36-cp36m-linux_aarch64.whl
    Collecting keystonemiddleware>=5.1.0
      Using cached keystonemiddleware-9.5.0-py3-none-any.whl (119 kB)
    Collecting netaddr>=0.7.18
      Using cached netaddr-0.9.0-py3-none-any.whl (2.2 MB)
    Collecting ovs>=2.10.0
      Using cached ovs-3.1.2-py3-none-any.whl
    Collecting os-ken>=0.3.0
      Downloading os_ken-2.3.1-py3-none-any.whl (2.0 MB)
         |████████████████████████████████| 2.0 MB 539 kB/s            
    Collecting debtcollector>=1.19.0
      Using cached debtcollector-2.5.0-py3-none-any.whl (23 kB)
    Collecting futurist>=1.2.0
      Using cached futurist-2.4.1-py3-none-any.whl (36 kB)
    Collecting os-vif>=1.15.1
      Using cached os_vif-2.8.0-py3-none-any.whl (107 kB)
    Collecting Routes>=2.3.1
      Using cached Routes-2.5.1-py2.py3-none-any.whl (40 kB)
    Collecting importlib-metadata
      Using cached importlib_metadata-4.8.3-py3-none-any.whl (17 kB)
    Collecting importlib-resources
      Using cached importlib_resources-5.4.0-py3-none-any.whl (28 kB)
    Collecting Mako
      Using cached Mako-1.1.6-py2.py3-none-any.whl (75 kB)
    Collecting wrapt>=1.7.0
      Using cached wrapt-1.15.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (75 kB)
    Collecting six>=1.10.0
      Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
    Collecting dnspython>=1.15.0
      Using cached dnspython-2.2.1-py3-none-any.whl (269 kB)
    Collecting greenlet>=0.3
      Using cached greenlet-2.0.2-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (557 kB)
    Collecting pyparsing!=3.0.0,!=3.0.1,!=3.0.2,!=3.0.3,<4,>=2.4.2
      Using cached pyparsing-3.1.1-py3-none-any.whl (103 kB)
    Collecting MarkupSafe>=2.0
      Using cached MarkupSafe-2.0.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (26 kB)
    Collecting os-service-types>=1.2.0
      Using cached os_service_types-1.7.0-py2.py3-none-any.whl (24 kB)
    Collecting iso8601>=0.1.11
      Using cached iso8601-1.1.0-py3-none-any.whl (9.9 kB)
    Collecting pycadf!=2.0.0,>=1.1.0
      Using cached pycadf-3.1.1-py3-none-any.whl (39 kB)
    Collecting python-keystoneclient>=3.20.0
      Using cached python_keystoneclient-4.5.0-py3-none-any.whl (398 kB)
    Collecting setproctitle>=1.1.10
      Downloading setproctitle-1.2.3-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (29 kB)
    Collecting os-traits>=0.9.0
      Using cached os_traits-2.10.0-py3-none-any.whl (41 kB)
    Collecting PyYAML>=3.13
      Using cached PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (669 kB)
    Collecting appdirs>=1.3.0
      Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
    Collecting requestsexceptions>=1.2.0
      Using cached requestsexceptions-1.4.0-py2.py3-none-any.whl (3.8 kB)
    Collecting jmespath>=0.9.0
      Using cached jmespath-0.10.0-py2.py3-none-any.whl (24 kB)
    Collecting jsonpatch!=1.20,>=1.16
      Using cached jsonpatch-1.32-py2.py3-none-any.whl (12 kB)
    Collecting cryptography>=2.7
      Using cached cryptography-40.0.2-cp36-abi3-manylinux_2_28_aarch64.whl (3.5 MB)
    Collecting dogpile.cache>=0.6.5
      Using cached dogpile.cache-1.2.2-py3-none-any.whl (52 kB)
    Collecting msgpack>=1.0.0
      Using cached msgpack-1.0.5-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (288 kB)
    Collecting fasteners>=0.7.0
      Using cached fasteners-0.19-py3-none-any.whl (18 kB)
    Collecting rfc3986>=1.2.0
      Using cached rfc3986-1.5.0-py2.py3-none-any.whl (31 kB)
    Collecting sqlalchemy-migrate>=0.11.0
      Using cached sqlalchemy_migrate-0.13.0-py2.py3-none-any.whl (109 kB)
    Collecting testresources>=2.0.0
      Using cached testresources-2.0.1-py2.py3-none-any.whl (36 kB)
    Collecting testscenarios>=0.4
      Using cached testscenarios-0.5.0-py2.py3-none-any.whl (21 kB)
    Collecting pyinotify>=0.9.6
      Using cached pyinotify-0.9.6-py3-none-any.whl
    Collecting python-dateutil>=2.7.0
      Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
    Collecting amqp>=2.5.2
      Using cached amqp-5.1.1-py3-none-any.whl (50 kB)
    Collecting kombu>=4.6.6
      Using cached kombu-5.1.0-py3-none-any.whl (187 kB)
    Collecting oslo.metrics>=0.2.1
      Using cached oslo.metrics-0.4.0-py3-none-any.whl (13 kB)
    Collecting cachetools>=2.0.0
      Using cached cachetools-4.2.4-py3-none-any.whl (10 kB)
    Collecting bcrypt>=3.1.3
      Using cached bcrypt-4.0.1-cp36-abi3-manylinux_2_28_aarch64.whl (583 kB)
    Collecting statsd>=3.2.1
      Using cached statsd-4.0.1-py2.py3-none-any.whl (13 kB)
    Collecting cffi>=1.14.0
      Using cached cffi-1.15.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (434 kB)
    Collecting pytz>=2013.6
      Using cached pytz-2023.3.post1-py2.py3-none-any.whl (502 kB)
    Collecting fixtures>=3.0.0
      Using cached fixtures-4.0.1-py3-none-any.whl
    Collecting Yappi>=1.0
      Using cached yappi-1.4.0-cp36-cp36m-linux_aarch64.whl
    Collecting PrettyTable>=0.7.1
      Using cached prettytable-2.5.0-py3-none-any.whl (24 kB)
    Collecting sortedcontainers
      Using cached sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
    Requirement already satisfied: setuptools in ./venv/lib/python3.6/site-packages (from Paste>=2.0.2->neutron==18.6.0) (50.3.2)
    Collecting logutils>=0.3
      Using cached logutils-0.3.5.tar.gz (27 kB)
      Preparing metadata (setup.py) ... done
    Collecting jsonschema>=3.2.0
      Using cached jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
    Collecting osc-lib>=1.8.0
      Using cached osc_lib-2.8.1-py3-none-any.whl (89 kB)
    Collecting cliff!=2.9.0,>=2.8.0
      Using cached cliff-3.10.1-py3-none-any.whl (81 kB)
    Collecting simplejson>=3.5.1
      Using cached simplejson-3.19.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (125 kB)
    Collecting os-client-config>=1.28.0
      Using cached os_client_config-2.1.0-py3-none-any.whl (31 kB)
    Collecting idna<4,>=2.5
      Using cached idna-3.4-py3-none-any.whl (61 kB)
    Collecting certifi>=2017.4.17
      Using cached certifi-2023.7.22-py3-none-any.whl (158 kB)
    Collecting charset-normalizer~=2.0.0
      Using cached charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
    Collecting urllib3<1.27,>=1.21.1
      Using cached urllib3-1.26.16-py2.py3-none-any.whl (143 kB)
    Collecting repoze.lru>=0.3
      Using cached repoze.lru-0.7-py3-none-any.whl (10 kB)
    Collecting voluptuous>=0.8.9
      Using cached voluptuous-0.13.1-py3-none-any.whl (29 kB)
    Collecting vine>=5.0.0
      Using cached vine-5.0.0-py2.py3-none-any.whl (9.4 kB)
    Collecting pycparser
      Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
    Collecting autopage>=0.4.0
      Using cached autopage-0.5.1-py3-none-any.whl (29 kB)
    Collecting cmd2>=1.0.0
      Using cached cmd2-2.4.3-py3-none-any.whl (147 kB)
    Collecting typing-extensions>=4.0.1
      Using cached typing_extensions-4.1.1-py3-none-any.whl (26 kB)
    Collecting zipp>=0.5
      Using cached zipp-3.6.0-py3-none-any.whl (5.3 kB)
    Collecting jsonpointer>=1.9
      Using cached jsonpointer-2.3-py2.py3-none-any.whl (7.8 kB)
    Collecting attrs>=17.4.0
      Using cached attrs-22.2.0-py3-none-any.whl (60 kB)
    Collecting pyrsistent>=0.14.0
      Using cached pyrsistent-0.18.0-cp36-cp36m-linux_aarch64.whl
    Collecting cached-property
      Using cached cached_property-1.5.2-py2.py3-none-any.whl (7.6 kB)
    Collecting prometheus-client>=0.6.0
      Using cached prometheus_client-0.17.1-py3-none-any.whl (60 kB)
    Collecting wcwidth
      Using cached wcwidth-0.2.6-py2.py3-none-any.whl (29 kB)
    Collecting sqlparse
      Using cached sqlparse-0.4.4-py3-none-any.whl (41 kB)
    Collecting Tempita>=0.4
      Using cached Tempita-0.5.2-py3-none-any.whl (12 kB)
    Collecting testtools
      Using cached testtools-2.6.0-py3-none-any.whl (182 kB)
    Collecting pyperclip>=1.6
      Using cached pyperclip-1.8.2-py3-none-any.whl
    Using legacy 'setup.py install' for logutils, since package 'wheel' is not installed.
    Installing collected packages: zipp, typing-extensions, wrapt, pyparsing, pbr, importlib-resources, importlib-metadata, urllib3, pytz, packaging, oslo.i18n, netifaces, netaddr, iso8601, idna, debtcollector, charset-normalizer, certifi, stevedore, six, rfc3986, requests, PyYAML, oslo.utils, msgpack, vine, repoze.lru, python-dateutil, pyinotify, pycparser, oslo.serialization, oslo.context, oslo.config, MarkupSafe, greenlet, fasteners, dnspython, Yappi, WebOb, wcwidth, statsd, Routes, pyperclip, prometheus-client, PasteDeploy, Paste, oslo.log, oslo.concurrency, os-service-types, jsonpointer, Jinja2, fixtures, eventlet, decorator, cffi, cached-property, bcrypt, attrs, amqp, testtools, Tempita, sqlparse, SQLAlchemy, sortedcontainers, requestsexceptions, PrettyTable, oslo.service, oslo.middleware, oslo.metrics, Mako, kombu, keystoneauth1, jsonpatch, jmespath, futurist, dogpile.cache, cryptography, cmd2, cachetools, autopage, appdirs, testscenarios, testresources, sqlalchemy-migrate, simplejson, pyrsistent, ovs, oslo.messaging, openstacksdk, logutils, cliff, alembic, voluptuous, tenacity, setproctitle, python-keystoneclient, pyroute2, pycadf, psutil, pecan, ovsdbapp, osprofiler, oslo.versionedobjects, oslo.privsep, oslo.policy, oslo.db, oslo.cache, osc-lib, os-traits, os-ken, os-client-config, jsonschema, tooz, python-novaclient, python-neutronclient, python-designateclient, pyOpenSSL, oslo.upgradecheck, oslo.rootwrap, oslo.reports, os-vif, neutron-lib, keystonemiddleware, httplib2, neutron
        Running setup.py install for logutils ... done
    Successfully installed Jinja2-3.0.3 Mako-1.1.6 MarkupSafe-2.0.1 Paste-3.5.3 PasteDeploy-2.1.1 PrettyTable-2.5.0 PyYAML-6.0.1 Routes-2.5.1 SQLAlchemy-1.4.49 Tempita-0.5.2 WebOb-1.8.7 Yappi-1.4.0 alembic-1.7.7 amqp-5.1.1 appdirs-1.4.4 attrs-22.2.0 autopage-0.5.1 bcrypt-4.0.1 cached-property-1.5.2 cachetools-4.2.4 certifi-2023.7.22 cffi-1.15.1 charset-normalizer-2.0.12 cliff-3.10.1 cmd2-2.4.3 cryptography-40.0.2 debtcollector-2.5.0 decorator-5.1.1 dnspython-2.2.1 dogpile.cache-1.2.2 eventlet-0.33.3 fasteners-0.19 fixtures-4.0.1 futurist-2.4.1 greenlet-2.0.2 httplib2-0.22.0 idna-3.4 importlib-metadata-4.8.3 importlib-resources-5.4.0 iso8601-1.1.0 jmespath-0.10.0 jsonpatch-1.32 jsonpointer-2.3 jsonschema-3.2.0 keystoneauth1-5.1.2 keystonemiddleware-9.5.0 kombu-5.1.0 logutils-0.3.5 msgpack-1.0.5 netaddr-0.9.0 netifaces-0.11.0 neutron-18.6.0 neutron-lib-2.21.0 openstacksdk-1.5.0 os-client-config-2.1.0 os-ken-2.3.1 os-service-types-1.7.0 os-traits-2.10.0 os-vif-2.8.0 osc-lib-2.8.1 oslo.cache-2.11.0 oslo.concurrency-4.5.1 oslo.config-8.8.1 oslo.context-4.1.0 oslo.db-11.3.0 oslo.i18n-5.1.0 oslo.log-4.8.0 oslo.messaging-12.14.0 oslo.metrics-0.4.0 oslo.middleware-4.5.1 oslo.policy-3.12.1 oslo.privsep-2.8.0 oslo.reports-2.4.0 oslo.rootwrap-6.3.1 oslo.serialization-4.3.0 oslo.service-2.8.0 oslo.upgradecheck-1.5.0 oslo.utils-4.13.0 oslo.versionedobjects-2.6.0 osprofiler-3.4.3 ovs-3.1.2 ovsdbapp-1.16.1 packaging-21.3 pbr-5.11.1 pecan-1.5.1 prometheus-client-0.17.1 psutil-5.9.5 pyOpenSSL-23.2.0 pycadf-3.1.1 pycparser-2.21 pyinotify-0.9.6 pyparsing-3.1.1 pyperclip-1.8.2 pyroute2-0.7.9 pyrsistent-0.18.0 python-dateutil-2.8.2 python-designateclient-4.5.1 python-keystoneclient-4.5.0 python-neutronclient-7.8.0 python-novaclient-17.7.0 pytz-2023.3.post1 repoze.lru-0.7 requests-2.27.1 requestsexceptions-1.4.0 rfc3986-1.5.0 setproctitle-1.2.3 simplejson-3.19.1 six-1.16.0 sortedcontainers-2.4.0 sqlalchemy-migrate-0.13.0 sqlparse-0.4.4 statsd-4.0.1 stevedore-3.5.2 tenacity-8.2.2 testresources-2.0.1 testscenarios-0.5.0 testtools-2.6.0 tooz-2.11.1 typing-extensions-4.1.1 urllib3-1.26.16 vine-5.0.0 voluptuous-0.13.1 wcwidth-0.2.6 wrapt-1.15.0 zipp-3.6.0
     

    (venv) [root@localhost python3.6]# neutron-api 
    /home/yeqiang/kylinv10sp3/neutron/python3.6/venv/lib/python3.6/site-packages/OpenSSL/_util.py:6: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography. The next release of cryptography will remove support for Python 3.6.
      from cryptography.hazmat.bindings.openssl.binding import Binding
    Traceback (most recent call last):
      File "/home/yeqiang/kylinv10sp3/neutron/python3.6/venv/bin/neutron-api", line 6, in
        from neutron.cmd.eventlet.server import main_api_eventlet
      File "/home/yeqiang/kylinv10sp3/neutron/python3.6/venv/lib/python3.6/site-packages/neutron/cmd/eventlet/__init__.py", line 15, in
        eventlet_utils.monkey_patch()
      File "/home/yeqiang/kylinv10sp3/neutron/python3.6/venv/lib/python3.6/site-packages/neutron/common/eventlet_utils.py", line 33, in monkey_patch
        p_c_e = importutils.import_module('pyroute2.config.asyncio')
      File "/home/yeqiang/kylinv10sp3/neutron/python3.6/venv/lib/python3.6/site-packages/oslo_utils/importutils.py", line 73, in import_module
        __import__(import_str)
      File "/home/yeqiang/kylinv10sp3/neutron/python3.6/venv/lib/python3.6/site-packages/pyroute2/__init__.py", line 16, in
        from pyroute2.cli.console import Console
      File "/home/yeqiang/kylinv10sp3/neutron/python3.6/venv/lib/python3.6/site-packages/pyroute2/cli/console.py", line 7, in
        from pyroute2.ndb.main import NDB
      File "/home/yeqiang/kylinv10sp3/neutron/python3.6/venv/lib/python3.6/site-packages/pyroute2/ndb/main.py", line 297, in
        from .schema import DBProvider
      File "/home/yeqiang/kylinv10sp3/neutron/python3.6/venv/lib/python3.6/site-packages/pyroute2/ndb/schema.py", line 122, in
        import sqlite3
      File "/usr/local/Python-3.6.8/lib/python3.6/sqlite3/__init__.py", line 23, in
        from sqlite3.dbapi2 import *
      File "/usr/local/Python-3.6.8/lib/python3.6/sqlite3/dbapi2.py", line 27, in
        from _sqlite3 import *
    ModuleNotFoundError: No module named '_sqlite3'

    (venv) [root@localhost python3.6]# yumdownloader --resolve --destdir=rpms/ sqlite-devel
    (venv) [root@localhost python3.6]# ll rpms/
    总用量 148
    -r--r--r-- 1 root root 151496  9月 21 10:07 sqlite-devel-3.32.3-6.ky10.aarch64.rpm
    (venv) [root@localhost python3.6]# rpm -qa | grep sql
    qt5-qtbase-mysql-5.11.1-13.p01.ky10.aarch64
    python2-mysqlclient-1.3.12-8.ky10.aarch64
    postgresql-libs-10.5-22.p01.ky10.aarch64
    python3-sqlalchemy-1.2.19-3.ky10.aarch64
    sqlite-3.32.3-6.ky10.aarch64
    qt5-qtbase-postgresql-5.11.1-13.p01.ky10.aarch64
    (venv) [root@localhost python3.6]# rpm -ivh rpms/sqlite-devel-3.32.3-6.ky10.aarch64.rpm 
    Verifying...                          ################################# [100%]
    准备中...                          ################################# [100%]
    正在升级/安装...
       1:sqlite-devel-3.32.3-6.ky10       ################################# [100%]
     

    然后重新编译安装Python

    (venv) [root@localhost Python-3.6.8]# rpm -ivh rpms/*
    Verifying...                          ################################# [100%]
    准备中...                          ################################# [100%]
        软件包 zlib-1.2.11-18.ky10.aarch64 已经安装
        软件包 xorg-x11-proto-devel-2019.1-2.ky10.noarch 已经安装
        软件包 expat-2.2.9-5.ky10.aarch64 已经安装
        软件包 libuuid-2.35.2-10.p07.ky10.aarch64 已经安装
        软件包 zlib-devel-1.2.11-18.ky10.aarch64 已经安装
        软件包 krb5-libs-1.18.2-5.ky10.aarch64 已经安装
        软件包 bzip2-1.0.8-3.ky10.aarch64 已经安装
        软件包 libblkid-2.35.2-10.p07.ky10.aarch64 已经安装
        软件包 xz-libs-5.2.5-2.ky10.aarch64 已经安装
        软件包 mesa-libglapi-20.1.4-1.p07.ky10.aarch64 已经安装
        软件包 libmount-2.35.2-10.p07.ky10.aarch64 已经安装
        软件包 libtirpc-1.2.6-2.ky10.aarch64 已经安装
        软件包 python3-setuptools-44.1.1-1.ky10.noarch 已经安装
        软件包 python3-3.7.9-18.se.03.ky10.aarch64 已经安装
        软件包 tcl-1:8.6.10-3.ky10.aarch64 已经安装
        软件包 wayland-1.17.0-2.ky10.aarch64 已经安装
        软件包 perl-Data-Dumper-2.173-1.ky10.aarch64 已经安装
        软件包 libxshmfence-1.3-6.ky10.aarch64 已经安装
        软件包 libXau-1.0.9-2.ky10.aarch64 已经安装
        软件包 libxcb-1.14-1.ky10.aarch64 已经安装
        软件包 libX11-1.6.9-5.ky10.aarch64 已经安装
        软件包 freetype-2.10.2-3.ky10.aarch64 已经安装
        软件包 libXext-1.3.4-4.ky10.aarch64 已经安装
        软件包 libXfixes-5.0.3-11.ky10.aarch64 已经安装
        软件包 libXdamage-1.1.5-1.ky10.aarch64 已经安装
        软件包 libXxf86vm-1.1.4-13.ky10.aarch64 已经安装
        软件包 libXrender-0.9.10-10.ky10.aarch64 已经安装
        软件包 libsmartcols-2.35.2-10.p07.ky10.aarch64 已经安装
        软件包 libjpeg-turbo-2.0.5-3.ky10.aarch64 已经安装
        软件包 fonts-filesystem-2.0.2-4.ky10.noarch 已经安装
        软件包 emacs-filesystem-1:27.1-6.p01.ky10.noarch 已经安装
        软件包 fontconfig-2.13.92-1.ky10.aarch64 已经安装
        软件包 libXft-2.3.3-1.ky10.aarch64 已经安装
        软件包 tk-1:8.6.10-2.ky10.aarch64 已经安装
        软件包 util-linux-2.35.2-10.p07.ky10.aarch64 已经安装
        软件包 libXau-devel-1.0.9-2.ky10.aarch64 已经安装
        软件包 libxcb-devel-1.14-1.ky10.aarch64 已经安装
        软件包 libX11-devel-1.6.9-5.ky10.aarch64 已经安装
        软件包 libXext-devel-1.3.4-4.ky10.aarch64 已经安装
        软件包 libXfixes-devel-5.0.3-11.ky10.aarch64 已经安装
        软件包 libXrender-devel-0.9.10-10.ky10.aarch64 已经安装
        软件包 mesa-libgbm-20.1.4-1.p07.ky10.aarch64 已经安装
        软件包 mesa-libEGL-20.1.4-1.p07.ky10.aarch64 已经安装
        软件包 libglvnd-1:1.3.2-1.ky10.aarch64 已经安装
        软件包 mesa-libGL-20.1.4-1.p07.ky10.aarch64 已经安装
        软件包 libglvnd-devel-1:1.3.2-1.ky10.aarch64 已经安装
        软件包 tcl-devel-1:8.6.10-3.ky10.aarch64 已经安装
        软件包 xz-5.2.5-2.ky10.aarch64 已经安装
        软件包 bzip2-devel-1.0.8-3.ky10.aarch64 已经安装
        软件包 libpng-devel-2:1.6.37-1.ky10.aarch64 已经安装
        软件包 freetype-devel-2.10.2-3.ky10.aarch64 已经安装
        软件包 fontconfig-devel-2.13.92-1.ky10.aarch64 已经安装
        软件包 libXft-devel-2.3.3-1.ky10.aarch64 已经安装
        软件包 trousers-0.3.14-4.ky10.aarch64 已经安装
        软件包 perl-TermReadKey-2.38-2.ky10.aarch64 已经安装
        软件包 perl-Error-1:0.17028-1.ky10.noarch 已经安装
        软件包 perl-Git-2.27.0-8.ky10.noarch 已经安装
        软件包 git-2.27.0-8.ky10.aarch64 已经安装
        软件包 nettle-3.6-5.p02.ky10.aarch64 已经安装
        软件包 gnutls-3.6.14-7.p03.ky10.aarch64 已经安装
        软件包 ncurses-devel-6.2-3.ky10.aarch64 已经安装
        软件包 m4-1.4.18-16.p01.ky10.aarch64 已经安装
        软件包 libverto-devel-0.3.1-2.ky10.aarch64 已经安装
        软件包 libsepol-devel-3.1-6.ky10.aarch64 已经安装
        软件包 libselinux-devel-3.1-4.se.02.ky10.aarch64 已经安装
        软件包 libproxy-0.4.15-17.ky10.aarch64 已经安装
        软件包 libdrm-devel-2.4.102-1.p01.ky10.aarch64 已经安装
        软件包 keyutils-libs-devel-1.6.3-1.ky10.aarch64 已经安装
        软件包 jbigkit-libs-2.1-19.ky10.aarch64 已经安装
        软件包 libtiff-4.3.0-4.ky10.aarch64 已经安装
        软件包 gsettings-desktop-schemas-3.37.1-1.p01.ky10.aarch64 已经安装
        软件包 glib-networking-2.62.4-1.ky10.aarch64 已经安装
        软件包 gmp-c++-1:6.2.0-2.ky10.aarch64 已经安装
        软件包 e2fsprogs-devel-1.45.6-8.ky10.aarch64 已经安装
        软件包 krb5-devel-1.18.2-5.ky10.aarch64 已经安装
        软件包 openssl-devel-1:1.1.1f-15.p05.ky10.aarch64 已经安装
        软件包 gmp-devel-1:6.2.0-2.ky10.aarch64 已经安装
        软件包 libsoup-2.71.0-2.ky10.aarch64 已经安装
        软件包 gdk-pixbuf2-2.40.0-1.ky10.aarch64 已经安装
        软件包 mesa-libGL-devel-20.1.4-1.p07.ky10.aarch64 已经安装
        软件包 util-linux-devel-2.35.2-10.p07.ky10.aarch64 已经安装
        软件包 autoconf-2.69-30.ky10.noarch 已经安装
        软件包 readline-devel-8.0-3.ky10.aarch64 已经安装
        软件包 tk-devel-1:8.6.10-2.ky10.aarch64 已经安装
        软件包 xz-devel-5.2.5-2.ky10.aarch64 已经安装
        软件包 libXdamage-devel-1.1.5-1.ky10.aarch64 已经安装
        软件包 desktop-file-utils-0.24-1.ky10.aarch64 已经安装
        软件包 systemtap-sdt-devel-4.3-2.ky10.aarch64 已经安装
        软件包 libtirpc-devel-1.2.6-2.ky10.aarch64 已经安装
        软件包 libarchive-3.4.3-5.ky10.aarch64 已经安装
        软件包 krb5-1.18.2-5.ky10.aarch64 已经安装
        软件包 expat-devel-2.2.9-5.ky10.aarch64 已经安装
        软件包 sqlite-devel-3.32.3-6.ky10.aarch64 已经安装
        软件包 rsync-3.1.3-7.ky10.aarch64 已经安装
        软件包 pcre-devel-8.44-2.ky10.aarch64 已经安装
        软件包 net-tools-2.0-0.54.ky10.aarch64 已经安装
        软件包 libffi-devel-3.3-8.ky10.aarch64 已经安装
        软件包 kylin-rpm-config-30-18.p06.ky10.aarch64 已经安装
        软件包 json-glib-1.4.4-2.ky10.aarch64 已经安装
        软件包 bluez-libs-5.54-7.ky10.aarch64 已经安装

     ./configure --prefix=/usr/local/Python-3.6.8 --enable-optimizations

     make -j64

     make install

    再次启动,报错

    (venv) [root@localhost python3.6]# neutron-api 
    /home/yeqiang/kylinv10sp3/neutron/python3.6/venv/lib/python3.6/site-packages/OpenSSL/_util.py:6: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography. The next release of cryptography will remove support for Python 3.6.
      from cryptography.hazmat.bindings.openssl.binding import Binding
    Traceback (most recent call last):
      File "/home/yeqiang/kylinv10sp3/neutron/python3.6/venv/bin/neutron-api", line 6, in
        from neutron.cmd.eventlet.server import main_api_eventlet
      File "/home/yeqiang/kylinv10sp3/neutron/python3.6/venv/lib/python3.6/site-packages/neutron/cmd/eventlet/server/__init__.py", line 15, in
        from neutron.server import rpc_eventlet
      File "/home/yeqiang/kylinv10sp3/neutron/python3.6/venv/lib/python3.6/site-packages/neutron/server/rpc_eventlet.py", line 24, in
        from neutron.api import extensions
      File "/home/yeqiang/kylinv10sp3/neutron/python3.6/venv/lib/python3.6/site-packages/neutron/api/extensions.py", line 24, in
        from openstack import connection
      File "/home/yeqiang/kylinv10sp3/neutron/python3.6/venv/lib/python3.6/site-packages/openstack/__init__.py", line 58, in
        import openstack.connection
      File "/home/yeqiang/kylinv10sp3/neutron/python3.6/venv/lib/python3.6/site-packages/openstack/connection.py", line 217, in
        from openstack import _services_mixin
      File "/home/yeqiang/kylinv10sp3/neutron/python3.6/venv/lib/python3.6/site-packages/openstack/_services_mixin.py", line 6, in
        from openstack.block_storage import block_storage_service
      File "/home/yeqiang/kylinv10sp3/neutron/python3.6/venv/lib/python3.6/site-packages/openstack/block_storage/block_storage_service.py", line 14, in
        from openstack.block_storage.v3 import _proxy as _v3_proxy
      File "/home/yeqiang/kylinv10sp3/neutron/python3.6/venv/lib/python3.6/site-packages/openstack/block_storage/v3/_proxy.py", line 37, in
        class Proxy(_base_proxy.BaseBlockStorageProxy):
      File "/home/yeqiang/kylinv10sp3/neutron/python3.6/venv/lib/python3.6/site-packages/openstack/block_storage/v3/_proxy.py", line 1592, in Proxy
        ignore_missing: ty.Literal[True] = True,
    AttributeError: module 'typing' has no attribute 'Literal'
     

    (venv) [root@localhost python3.6]# pip install openstacksdk==0.55.1
    Collecting openstacksdk==0.55.1
      Using cached openstacksdk-0.55.1-py3-none-any.whl (1.4 MB)
    Requirement already satisfied: os-service-types>=1.7.0 in ./venv/lib/python3.6/site-packages (from openstacksdk==0.55.1) (1.7.0)
    Requirement already satisfied: PyYAML>=3.13 in ./venv/lib/python3.6/site-packages (from openstacksdk==0.55.1) (6.0.1)
    Requirement already satisfied: iso8601>=0.1.11 in ./venv/lib/python3.6/site-packages (from openstacksdk==0.55.1) (1.1.0)
    Collecting munch>=2.1.0
      Using cached munch-4.0.0-py2.py3-none-any.whl (9.9 kB)
    Requirement already satisfied: decorator>=4.4.1 in ./venv/lib/python3.6/site-packages (from openstacksdk==0.55.1) (5.1.1)
    Requirement already satisfied: jmespath>=0.9.0 in ./venv/lib/python3.6/site-packages (from openstacksdk==0.55.1) (0.10.0)
    Requirement already satisfied: netifaces>=0.10.4 in ./venv/lib/python3.6/site-packages (from openstacksdk==0.55.1) (0.11.0)
    Requirement already satisfied: keystoneauth1>=3.18.0 in ./venv/lib/python3.6/site-packages (from openstacksdk==0.55.1) (5.1.2)
    Requirement already satisfied: jsonpatch!=1.20,>=1.16 in ./venv/lib/python3.6/site-packages (from openstacksdk==0.55.1) (1.32)
    Requirement already satisfied: appdirs>=1.3.0 in ./venv/lib/python3.6/site-packages (from openstacksdk==0.55.1) (1.4.4)
    Requirement already satisfied: pbr!=2.1.0,>=2.0.0 in ./venv/lib/python3.6/site-packages (from openstacksdk==0.55.1) (5.11.1)
    Requirement already satisfied: dogpile.cache>=0.6.5 in ./venv/lib/python3.6/site-packages (from openstacksdk==0.55.1) (1.2.2)
    Requirement already satisfied: importlib-metadata>=1.7.0 in ./venv/lib/python3.6/site-packages (from openstacksdk==0.55.1) (4.8.3)
    Requirement already satisfied: cryptography>=2.7 in ./venv/lib/python3.6/site-packages (from openstacksdk==0.55.1) (40.0.2)
    Requirement already satisfied: requestsexceptions>=1.2.0 in ./venv/lib/python3.6/site-packages (from openstacksdk==0.55.1) (1.4.0)
    Requirement already satisfied: cffi>=1.12 in ./venv/lib/python3.6/site-packages (from cryptography>=2.7->openstacksdk==0.55.1) (1.15.1)
    Requirement already satisfied: stevedore>=3.0.0 in ./venv/lib/python3.6/site-packages (from dogpile.cache>=0.6.5->openstacksdk==0.55.1) (3.5.2)
    Requirement already satisfied: typing-extensions>=4.0.1 in ./venv/lib/python3.6/site-packages (from dogpile.cache>=0.6.5->openstacksdk==0.55.1) (4.1.1)
    Requirement already satisfied: zipp>=0.5 in ./venv/lib/python3.6/site-packages (from importlib-metadata>=1.7.0->openstacksdk==0.55.1) (3.6.0)
    Requirement already satisfied: jsonpointer>=1.9 in ./venv/lib/python3.6/site-packages (from jsonpatch!=1.20,>=1.16->openstacksdk==0.55.1) (2.3)
    Requirement already satisfied: six>=1.10.0 in ./venv/lib/python3.6/site-packages (from keystoneauth1>=3.18.0->openstacksdk==0.55.1) (1.16.0)
    Requirement already satisfied: requests>=2.14.2 in ./venv/lib/python3.6/site-packages (from keystoneauth1>=3.18.0->openstacksdk==0.55.1) (2.27.1)
    Requirement already satisfied: pycparser in ./venv/lib/python3.6/site-packages (from cffi>=1.12->cryptography>=2.7->openstacksdk==0.55.1) (2.21)
    Requirement already satisfied: certifi>=2017.4.17 in ./venv/lib/python3.6/site-packages (from requests>=2.14.2->keystoneauth1>=3.18.0->openstacksdk==0.55.1) (2023.7.22)
    Requirement already satisfied: idna<4,>=2.5 in ./venv/lib/python3.6/site-packages (from requests>=2.14.2->keystoneauth1>=3.18.0->openstacksdk==0.55.1) (3.4)
    Requirement already satisfied: charset-normalizer~=2.0.0 in ./venv/lib/python3.6/site-packages (from requests>=2.14.2->keystoneauth1>=3.18.0->openstacksdk==0.55.1) (2.0.12)
    Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./venv/lib/python3.6/site-packages (from requests>=2.14.2->keystoneauth1>=3.18.0->openstacksdk==0.55.1) (1.26.16)
    Installing collected packages: munch, openstacksdk
      Attempting uninstall: openstacksdk
        Found existing installation: openstacksdk 1.5.0
        Uninstalling openstacksdk-1.5.0:
          Successfully uninstalled openstacksdk-1.5.0
    Successfully installed munch-4.0.0 openstacksdk-0.55.1
     

     可以了

    (venv) [root@localhost python3.6]# neutron-api 
    /home/yeqiang/kylinv10sp3/neutron/python3.6/venv/lib/python3.6/site-packages/OpenSSL/_util.py:6: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography. The next release of cryptography will remove support for Python 3.6.
      from cryptography.hazmat.bindings.openssl.binding import Binding
    Traceback (most recent call last):
      File "/home/yeqiang/kylinv10sp3/neutron/python3.6/venv/bin/neutron-api", line 35, in
        server = wss.make_server(args.host, args.port, main_api_eventlet())
      File "/home/yeqiang/kylinv10sp3/neutron/python3.6/venv/lib/python3.6/site-packages/neutron/cmd/eventlet/server/__init__.py", line 28, in main_api_eventlet
        return server.boot_server(api_eventlet.eventlet_api_server)
      File "/home/yeqiang/kylinv10sp3/neutron/python3.6/venv/lib/python3.6/site-packages/neutron/server/__init__.py", line 65, in boot_server
        _init_configuration()
      File "/home/yeqiang/kylinv10sp3/neutron/python3.6/venv/lib/python3.6/site-packages/neutron/server/__init__.py", line 55, in _init_configuration
        config.init(sys.argv[1:], default_config_files=conf_files)
      File "/home/yeqiang/kylinv10sp3/neutron/python3.6/venv/lib/python3.6/site-packages/neutron/common/config.py", line 92, in init
        **kwargs)
      File "/home/yeqiang/kylinv10sp3/neutron/python3.6/venv/lib/python3.6/site-packages/oslo_config/cfg.py", line 2156, in __call__
        raise ConfigFilesNotFoundError(self._namespace._files_not_found)
    oslo_config.cfg.ConfigFilesNotFoundError: Failed to find some config files: /etc/neutron/neutron.conf,/etc/neutron/plugins/ml2/ml2_conf.ini
     

  • 相关阅读:
    HTML5文旅文化旅游网站模板源码
    [附源码]计算机毕业设计JAVA学生量化考核管理系统
    直播带货前途渺茫了
    trivy 获取基础镜像源码分析
    Python基础知识从hello world 开始(第二天)
    最强分布式锁工具:Redisson
    101. 对称二叉树
    vscode 软件安装插件----详细-setting.json
    关于电脑功耗与电费消耗的问题,你了解多少?
    【原创】CPU性能优化小记
  • 原文地址:https://blog.csdn.net/hknaruto/article/details/133125338