-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python OPCUA or opcua-asyncio package installation failed in Linux ARM32V7 #1283
Comments
This has nothing todo with your library, if you can't install a library please contact the library which is causing the error. |
looks like it is cryptograpjy package that has some issue on arm. That is strange. |
also try installing cffi directly and let us know if it works |
Finally I made it work inside docker using arm32v7/debian base image. My Docker file is as follows: |
cryptography seems to be a at version 40 now and you had to set it version 2? that does not make sense. There is something wrong in your system |
Yes. Thanks. I tried with cryptography==37.0.3 and it worked. the main thing here is the wheels installation. |
Please read, before you post!
This is a BUG REPORT for issues in the existing code.
If you have general questions, code handling problems or ideas, please use the:
Discussionsboard: https://github.com/FreeOpcUa/opcua-asyncio/discussions
or
Gitter-Channel: https://gitter.im/FreeOpcUa/opcua-asyncio
To save some time, please provide us following informations, if possible:
Describe the bug
I have opened the similar ticket for python-opcua.
I am advised to use the opcua-asyncio. but same problem i cannot make it work also for opcua-asyncio since I am trying to build the image in arm32v7 docker container. but i found the error in installing cryptography for opcua-asyncio development for arm32v7/python3.8 base image but it does not work .
To Reproduce
here is my docker file:
`FROM arm32v7/ubuntu:20.04
WORKDIR /sinewave
RUN apt-get update
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends
software-properties-common
&& add-apt-repository -y ppa:deadsnakes
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends
python3.8-venv
&& apt-get clean
&& rm -rf /var/lib/apt/lists/*
RUN python3.8 -m venv /venv
ENV PATH=/venv/bin:$PATH
#RUN apt-get install -y python3.8
RUN pip3 install asyncua
CMD [ "python3", "client.py" ]`
Screenshots
Version
Python-Version:
opcua-asyncio Version (e.g. master branch, 0.9):
The text was updated successfully, but these errors were encountered: