Giter VIP home page Giter VIP logo

Comments (11)

paradiseHIT avatar paradiseHIT commented on June 2, 2024

需要linux系统,我们一般使用centos或者Ubuntu

from easyrec.

kpvt001 avatar kpvt001 commented on June 2, 2024

需要linux系统,我们一般使用centos或者Ubuntu

@paradiseHIT 你好,是在centos上报的错误。

from easyrec.

yunkchen avatar yunkchen commented on June 2, 2024

https://github.com/MISP/misp-docker/issues/113#issuecomment-965016166
试试先更新pip,然后pip install setuptools_rust

from easyrec.

kpvt001 avatar kpvt001 commented on June 2, 2024

ubuntu 18.04
docer 20.10.7
执行build_docker.sh出错。
+ sudo docker build --net=host . -f docker/Dockerfile -t mybigpai-registry.cn-beijing.cr.aliyuncs.com/easyrec/easyrec:py36-tf1.15-0.6.1 unknown flag: --net See 'docker build --help'.

也未能发现文档上提到的 remote - containers vscode 插件

目前发现文档上的easyrec的安装会出现各种问题,有计划完善文档吗?

from easyrec.

kpvt001 avatar kpvt001 commented on June 2, 2024

MISP/misp-docker#113 (comment) 试试先更新pip,然后pip install setuptools_rust

问题依旧。
先执行过pip3 install --upgrade pippip3 install setuptools_rust后,执行bash -x scripts/init.sh,提示

[ERROR] 2023-02-15 17:06:44,309 git_lfs.py[22] : please install python_oss from https://github.com/aliyun/aliyun-oss-python-sdk.git

在根据https://github.com/aliyun/aliyun-oss-python-sdk.git的文档通过pip3 install oss2安装后,执行bash -x scripts/init.sh,依然提示

[ERROR] 2023-02-15 17:09:59,361 git_lfs.py[22] : please install python_oss from https://github.com/aliyun/aliyun-oss-python-sdk.gi

from easyrec.

yunkchen avatar yunkchen commented on June 2, 2024

MISP/misp-docker#113 (comment) 试试先更新pip,然后pip install setuptools_rust

问题依旧。 先执行过pip3 install --upgrade pippip3 install setuptools_rust后,执行bash -x scripts/init.sh,提示

[ERROR] 2023-02-15 17:06:44,309 git_lfs.py[22] : please install python_oss from https://github.com/aliyun/aliyun-oss-python-sdk.git

在根据https://github.com/aliyun/aliyun-oss-python-sdk.git的文档通过pip3 install oss2安装后,执行bash -x scripts/init.sh,依然提示

[ERROR] 2023-02-15 17:09:59,361 git_lfs.py[22] : please install python_oss from https://github.com/aliyun/aliyun-oss-python-sdk.gi

pip install oss2 有安装成功么?import oss2试试

from easyrec.

kpvt001 avatar kpvt001 commented on June 2, 2024

MISP/misp-docker#113 (comment) 试试先更新pip,然后pip install setuptools_rust

问题依旧。 先执行过pip3 install --upgrade pippip3 install setuptools_rust后,执行bash -x scripts/init.sh,提示

[ERROR] 2023-02-15 17:06:44,309 git_lfs.py[22] : please install python_oss from https://github.com/aliyun/aliyun-oss-python-sdk.git

在根据https://github.com/aliyun/aliyun-oss-python-sdk.git的文档通过pip3 install oss2安装后,执行bash -x scripts/init.sh,依然提示

[ERROR] 2023-02-15 17:09:59,361 git_lfs.py[22] : please install python_oss from https://github.com/aliyun/aliyun-oss-python-sdk.gi

pip install oss2 有安装成功么?import oss2试试

pip3 install oss2安装成功

import oss2可以找到包,但会出现错误。

python3

Python 3.6.9 (default, Jun 29 2022, 11:45:57)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

import oss2
/usr/lib/python3/dist-packages/OpenSSL/crypto.py:12: 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 (40.0) will be the last to support Python 3.6.
from cryptography import x509
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.6/dist-packages/oss2/init.py", line 15, in
from .resumable import resumable_upload, resumable_download, ResumableStore, ResumableDownloadStore, determine_part_size
File "/usr/local/lib/python3.6/dist-packages/oss2/resumable.py", line 19, in
from .crypto_bucket import CryptoBucket
File "/usr/local/lib/python3.6/dist-packages/oss2/crypto_bucket.py", line 10, in
from .crypto import BaseCryptoProvider
File "/usr/local/lib/python3.6/dist-packages/oss2/crypto.py", line 21, in
from aliyunsdkcore import client
File "/usr/local/lib/python3.6/dist-packages/aliyunsdkcore/client.py", line 32, in
from aliyunsdkcore.vendored.requests import codes
File "/usr/local/lib/python3.6/dist-packages/aliyunsdkcore/vendored/requests/init.py", line 48, in
from .packages.urllib3.contrib import pyopenssl
File "/usr/local/lib/python3.6/dist-packages/aliyunsdkcore/vendored/requests/packages/urllib3/contrib/pyopenssl.py", line 46, in
import OpenSSL.SSL
File "/usr/lib/python3/dist-packages/OpenSSL/init.py", line 8, in
from OpenSSL import crypto, SSL
File "/usr/lib/python3/dist-packages/OpenSSL/crypto.py", line 1550, in
class X509StoreFlags(object):
File "/usr/lib/python3/dist-packages/OpenSSL/crypto.py", line 1570, in X509StoreFlags
CB_ISSUER_CHECK = _lib.X509_V_FLAG_CB_ISSUER_CHECK
AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'

from easyrec.

yunkchen avatar yunkchen commented on June 2, 2024

MISP/misp-docker#113 (comment) 试试先更新pip,然后pip install setuptools_rust

问题依旧。 先执行过pip3 install --upgrade pippip3 install setuptools_rust后,执行bash -x scripts/init.sh,提示

[ERROR] 2023-02-15 17:06:44,309 git_lfs.py[22] : please install python_oss from https://github.com/aliyun/aliyun-oss-python-sdk.git

在根据https://github.com/aliyun/aliyun-oss-python-sdk.git的文档通过pip3 install oss2安装后,执行bash -x scripts/init.sh,依然提示

[ERROR] 2023-02-15 17:09:59,361 git_lfs.py[22] : please install python_oss from https://github.com/aliyun/aliyun-oss-python-sdk.gi

pip install oss2 有安装成功么?import oss2试试

pip3 install oss2安装成功

import oss2可以找到包,但会出现错误。

python3

Python 3.6.9 (default, Jun 29 2022, 11:45:57) [GCC 8.4.0] on linux Type "help", "copyright", "credits" or "license" for more information.

import oss2
/usr/lib/python3/dist-packages/OpenSSL/crypto.py:12: 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 (40.0) will be the last to support Python 3.6.
from cryptography import x509
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.6/dist-packages/oss2/init.py", line 15, in
from .resumable import resumable_upload, resumable_download, ResumableStore, ResumableDownloadStore, determine_part_size
File "/usr/local/lib/python3.6/dist-packages/oss2/resumable.py", line 19, in
from .crypto_bucket import CryptoBucket
File "/usr/local/lib/python3.6/dist-packages/oss2/crypto_bucket.py", line 10, in
from .crypto import BaseCryptoProvider
File "/usr/local/lib/python3.6/dist-packages/oss2/crypto.py", line 21, in
from aliyunsdkcore import client
File "/usr/local/lib/python3.6/dist-packages/aliyunsdkcore/client.py", line 32, in
from aliyunsdkcore.vendored.requests import codes
File "/usr/local/lib/python3.6/dist-packages/aliyunsdkcore/vendored/requests/init.py", line 48, in
from .packages.urllib3.contrib import pyopenssl
File "/usr/local/lib/python3.6/dist-packages/aliyunsdkcore/vendored/requests/packages/urllib3/contrib/pyopenssl.py", line 46, in
import OpenSSL.SSL
File "/usr/lib/python3/dist-packages/OpenSSL/init.py", line 8, in
from OpenSSL import crypto, SSL
File "/usr/lib/python3/dist-packages/OpenSSL/crypto.py", line 1550, in
class X509StoreFlags(object):
File "/usr/lib/python3/dist-packages/OpenSSL/crypto.py", line 1570, in X509StoreFlags
CB_ISSUER_CHECK = _lib.X509_V_FLAG_CB_ISSUER_CHECK
AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'

OpenSSL的版本问题,可以google下,卸载当前的OpenSSL,安装一个匹配的版本

from easyrec.

kpvt001 avatar kpvt001 commented on June 2, 2024

MISP/misp-docker#113 (comment) 试试先更新pip,然后pip install setuptools_rust

问题依旧。 先执行过pip3 install --upgrade pippip3 install setuptools_rust后,执行bash -x scripts/init.sh,提示

[ERROR] 2023-02-15 17:06:44,309 git_lfs.py[22] : please install python_oss from https://github.com/aliyun/aliyun-oss-python-sdk.git

在根据https://github.com/aliyun/aliyun-oss-python-sdk.git的文档通过pip3 install oss2安装后,执行bash -x scripts/init.sh,依然提示

[ERROR] 2023-02-15 17:09:59,361 git_lfs.py[22] : please install python_oss from https://github.com/aliyun/aliyun-oss-python-sdk.gi

pip install oss2 有安装成功么?import oss2试试

pip3 install oss2安装成功
import oss2可以找到包,但会出现错误。

python3

Python 3.6.9 (default, Jun 29 2022, 11:45:57) [GCC 8.4.0] on linux Type "help", "copyright", "credits" or "license" for more information.

import oss2
/usr/lib/python3/dist-packages/OpenSSL/crypto.py:12: 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 (40.0) will be the last to support Python 3.6.
from cryptography import x509
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.6/dist-packages/oss2/init.py", line 15, in
from .resumable import resumable_upload, resumable_download, ResumableStore, ResumableDownloadStore, determine_part_size
File "/usr/local/lib/python3.6/dist-packages/oss2/resumable.py", line 19, in
from .crypto_bucket import CryptoBucket
File "/usr/local/lib/python3.6/dist-packages/oss2/crypto_bucket.py", line 10, in
from .crypto import BaseCryptoProvider
File "/usr/local/lib/python3.6/dist-packages/oss2/crypto.py", line 21, in
from aliyunsdkcore import client
File "/usr/local/lib/python3.6/dist-packages/aliyunsdkcore/client.py", line 32, in
from aliyunsdkcore.vendored.requests import codes
File "/usr/local/lib/python3.6/dist-packages/aliyunsdkcore/vendored/requests/init.py", line 48, in
from .packages.urllib3.contrib import pyopenssl
File "/usr/local/lib/python3.6/dist-packages/aliyunsdkcore/vendored/requests/packages/urllib3/contrib/pyopenssl.py", line 46, in
import OpenSSL.SSL
File "/usr/lib/python3/dist-packages/OpenSSL/init.py", line 8, in
from OpenSSL import crypto, SSL
File "/usr/lib/python3/dist-packages/OpenSSL/crypto.py", line 1550, in
class X509StoreFlags(object):
File "/usr/lib/python3/dist-packages/OpenSSL/crypto.py", line 1570, in X509StoreFlags
CB_ISSUER_CHECK = _lib.X509_V_FLAG_CB_ISSUER_CHECK
AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'

OpenSSL的版本问题,可以google下,卸载当前的OpenSSL,安装一个匹配的版本

esayrec的提示是先安装oss2,可是oss2已经安装了,easyrec的提示应该跟openssl的关系不大。因为是本地开发和运行,不使用oss,不需要解决oss的问题。
请问是否能够完善下文档呀。遇到一个问题就在issue里问,这样可能不太方便

from easyrec.

yunkchen avatar yunkchen commented on June 2, 2024

MISP/misp-docker#113 (comment) 试试先更新pip,然后pip install setuptools_rust

问题依旧。 先执行过pip3 install --upgrade pippip3 install setuptools_rust后,执行bash -x scripts/init.sh,提示

[ERROR] 2023-02-15 17:06:44,309 git_lfs.py[22] : please install python_oss from https://github.com/aliyun/aliyun-oss-python-sdk.git

在根据https://github.com/aliyun/aliyun-oss-python-sdk.git的文档通过pip3 install oss2安装后,执行bash -x scripts/init.sh,依然提示

[ERROR] 2023-02-15 17:09:59,361 git_lfs.py[22] : please install python_oss from https://github.com/aliyun/aliyun-oss-python-sdk.gi

pip install oss2 有安装成功么?import oss2试试

pip3 install oss2安装成功
import oss2可以找到包,但会出现错误。

python3

Python 3.6.9 (default, Jun 29 2022, 11:45:57) [GCC 8.4.0] on linux Type "help", "copyright", "credits" or "license" for more information.

import oss2
/usr/lib/python3/dist-packages/OpenSSL/crypto.py:12: 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 (40.0) will be the last to support Python 3.6.
from cryptography import x509
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.6/dist-packages/oss2/init.py", line 15, in
from .resumable import resumable_upload, resumable_download, ResumableStore, ResumableDownloadStore, determine_part_size
File "/usr/local/lib/python3.6/dist-packages/oss2/resumable.py", line 19, in
from .crypto_bucket import CryptoBucket
File "/usr/local/lib/python3.6/dist-packages/oss2/crypto_bucket.py", line 10, in
from .crypto import BaseCryptoProvider
File "/usr/local/lib/python3.6/dist-packages/oss2/crypto.py", line 21, in
from aliyunsdkcore import client
File "/usr/local/lib/python3.6/dist-packages/aliyunsdkcore/client.py", line 32, in
from aliyunsdkcore.vendored.requests import codes
File "/usr/local/lib/python3.6/dist-packages/aliyunsdkcore/vendored/requests/init.py", line 48, in
from .packages.urllib3.contrib import pyopenssl
File "/usr/local/lib/python3.6/dist-packages/aliyunsdkcore/vendored/requests/packages/urllib3/contrib/pyopenssl.py", line 46, in
import OpenSSL.SSL
File "/usr/lib/python3/dist-packages/OpenSSL/init.py", line 8, in
from OpenSSL import crypto, SSL
File "/usr/lib/python3/dist-packages/OpenSSL/crypto.py", line 1550, in
class X509StoreFlags(object):
File "/usr/lib/python3/dist-packages/OpenSSL/crypto.py", line 1570, in X509StoreFlags
CB_ISSUER_CHECK = _lib.X509_V_FLAG_CB_ISSUER_CHECK
AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'

OpenSSL的版本问题,可以google下,卸载当前的OpenSSL,安装一个匹配的版本

esayrec的提示是先安装oss2,可是oss2已经安装了,easyrec的提示应该跟openssl的关系不大。因为是本地开发和运行,不使用oss,不需要解决oss的问题。 请问是否能够完善下文档呀。遇到一个问题就在issue里问,这样可能不太方便

确实不使用oss2也不影响,但是openssl库影响挺多方面,可以试着跑一下pip install --upgrade pip命令,应该也会报上面的错误;文档我们会更新~

from easyrec.

yunkchen avatar yunkchen commented on June 2, 2024

另外可以加我们钉钉群沟通:32260796

from easyrec.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.