Coder Social home page Coder Social logo

Comments (5)

hoodieonwho avatar hoodieonwho commented on June 13, 2024

Do you have secp256k1 installed on your OS? the python package just allow the python script to use system's secp256k1 package. If you are using linux, you can check the dependencies required inside Docker File

from thorchain-arb.

karthiknayak02 avatar karthiknayak02 commented on June 13, 2024

Sorry I should I added more details:

I am on MacOS (Macbook pro). I do not have secp256k1 installed on my OS.
I tried to build your Docker File to install secp256k1 but it does not seem to work. I get the following error:
I am just using the command docker build .


=> ERROR [4/7] RUN apt install -y python3.8 python3.8-venv python3.8-dev build-essential automake pkg-config libtool libffi-dev libgmp-dev lib 1.7s

[4/7] RUN apt install -y python3.8 python3.8-venv python3.8-dev build-essential automake pkg-config libtool libffi-dev libgmp-dev libsecp256k1-dev libpython3.8-dev:
#6 0.319
#6 0.319 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
#6 0.319
#6 0.328 Reading package lists...
#6 1.101 Building dependency tree...
#6 1.257 Reading state information...
**#6 1.689 E: Unable to locate package python3.8
#6 1.689 E: Couldn't find any package by glob 'python3.8'
#6 1.689 E: Couldn't find any package by regex 'python3.8'
#6 1.689 E: Unable to locate package python3.8-venv
#6 1.689 E: Couldn't find any package by glob 'python3.8-venv'
#6 1.689 E: Couldn't find any package by regex 'python3.8-venv'
#6 1.689 E: Unable to locate package python3.8-dev
#6 1.689 E: Couldn't find any package by glob 'python3.8-dev'
#6 1.689 E: Couldn't find any package by regex 'python3.8-dev'
#6 1.689 E: Unable to locate package libpython3.8-dev
#6 1.689 E: Couldn't find any package by glob 'libpython3.8-dev'
#6 1.689 E: Couldn't find any package by regex 'libpython3.8-dev'


executor failed running [/bin/sh -c apt install -y python3.8 python3.8-venv python3.8-dev build-essential automake pkg-config libtool libffi-dev libgmp-dev libsecp256k1-dev libpython3.8-dev]: exit code: 100**

from thorchain-arb.

hoodieonwho avatar hoodieonwho commented on June 13, 2024

Hey, docker isn't supposed to work for now, you need to google how to compile/install secp256k1 in your macos environment, without using python. After you have it installed in your macOs, you pip install to basically tell the python compiler you can use my secp256k1 package from the system. I think I installed it using brew on my mac

from thorchain-arb.

Merlin-721 avatar Merlin-721 commented on June 13, 2024

try:
pip3 install secp256k1 --upgrade
in your environment

from thorchain-arb.

hoodieonwho avatar hoodieonwho commented on June 13, 2024

closed, secp256k1 needs to be installed into OS first.

from thorchain-arb.

Related Issues (5)

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.