Skip to content
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

Unable to install too #95

Open
Gouvernathor opened this issue Mar 29, 2023 · 7 comments
Open

Unable to install too #95

Gouvernathor opened this issue Mar 29, 2023 · 7 comments

Comments

@Gouvernathor
Copy link

Gouvernathor commented Mar 29, 2023

image
Not the same error as #88.
There doesn't seem to be anything in the readme addressing this.

@vwt12eh8
Copy link

The reason seems to be that the secp256k1 package that the nostr package depends on is not compatible with Windows.

If you want to force installation, you can use pip install nostr --no-dependencies, but of course you cannot run it.

@dcrystalj
Copy link

looks like this is not compatible with m1. Same issue on my macOS

@dcrystalj
Copy link

dcrystalj commented May 29, 2023

I have resolved issue by installing pkg-config (apt-get install pkg-config) when building my docker

@AtlasHODL
Copy link

@dcrystalj can you explain how to do this? im a little confused here, also in a m1. should i just run apt-get install pkg-config in the terminal? because it doesnt seem to be working, not sure what you mean when you say "when building my docker", do you mean running the terminal inside the directory where the project is supposed to be or am i totally off here?

@dcrystalj
Copy link

@AtlasHODL I am running app inside docker. When building docker I can install pkg-config as I mentioned.

If you are running this on mac (without docker) you should probably try brew install pkg-config first

@AtlasHODL
Copy link

thank you I was able to install it using 'brew'. @dcrystalj

But now for some reason when I try to run main.py, the traceback I get is that there is no such module

'from Cryptodome import Random
ModuleNotFoundError: No module named 'Cryptodome''

which is weird because I made sure to install that package using 'pip3 install pycryptodome' and I also installed the 'Crypto' package -> https://pypi.org/project/pycryptodome/

I checked with 'pip3 freeze' and its there.. and I also restarted the terminal but I get the same error.

image image

@pleb21
Copy link

pleb21 commented Jul 28, 2023

in my opinon, if it's for learning purpose, using google colab would be the simplest way to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants