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

Error while entering command pip install py-near #15

Open
MohamedFarhun opened this issue Feb 2, 2024 · 1 comment
Open

Error while entering command pip install py-near #15

MohamedFarhun opened this issue Feb 2, 2024 · 1 comment

Comments

@MohamedFarhun
Copy link

I am trying to install py-near for my project.Getting error
Collecting py-near
Using cached py_near-1.1.24-py3-none-any.whl.metadata (4.7 kB)
Requirement already satisfied: aiohttp<4.0.0,>=3.7.4 in c:\users\administrator.examnr-04\appdata\local\programs\python\python311\lib\site-packages (from py-near) (3.8.5)
Collecting ed25519<2.0,>=1.5 (from py-near)
Using cached ed25519-1.5.tar.gz (868 kB)
Preparing metadata (setup.py) ... done
Collecting py-near-primitives<0.3.0,>=0.2.3 (from py-near)
Using cached py_near_primitives-0.2.3-cp37-abi3-win_amd64.whl.metadata (1.4 kB)
Requirement already satisfied: attrs>=17.3.0 in c:\users\administrator.examnr-04\appdata\local\programs\python\python311\lib\site-packages (from aiohttp<4.0.0,>=3.7.4->py-near) (23.1.0)
Requirement already satisfied: charset-normalizer<4.0,>=2.0 in c:\users\administrator.examnr-04\appdata\local\programs\python\python311\lib\site-packages (from aiohttp<4.0.0,>=3.7.4->py-near) (3.1.0)
Requirement already satisfied: multidict<7.0,>=4.5 in c:\users\administrator.examnr-04\appdata\local\programs\python\python311\lib\site-packages (from aiohttp<4.0.0,>=3.7.4->py-near) (6.0.4)
Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in c:\users\administrator.examnr-04\appdata\local\programs\python\python311\lib\site-packages (from aiohttp<4.0.0,>=3.7.4->py-near) (4.0.3)
Requirement already satisfied: yarl<2.0,>=1.0 in c:\users\administrator.examnr-04\appdata\local\programs\python\python311\lib\site-packages (from aiohttp<4.0.0,>=3.7.4->py-near) (1.9.2)
Requirement already satisfied: frozenlist>=1.1.1 in c:\users\administrator.examnr-04\appdata\local\programs\python\python311\lib\site-packages (from aiohttp<4.0.0,>=3.7.4->py-near) (1.4.0)
Requirement already satisfied: aiosignal>=1.1.2 in c:\users\administrator.examnr-04\appdata\local\programs\python\python311\lib\site-packages (from aiohttp<4.0.0,>=3.7.4->py-near) (1.3.1)
Requirement already satisfied: idna>=2.0 in c:\users\administrator.examnr-04\appdata\local\programs\python\python311\lib\site-packages (from yarl<2.0,>=1.0->aiohttp<4.0.0,>=3.7.4->py-near) (3.4)
Using cached py_near-1.1.24-py3-none-any.whl (25 kB)
Using cached py_near_primitives-0.2.3-cp37-abi3-win_amd64.whl (1.5 MB)
Building wheels for collected packages: ed25519
Building wheel for ed25519 (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [3 lines of output]
set build\lib.win-amd64-cpython-311\ed25519/_version.py to '1.5'
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for ed25519
Running setup.py clean for ed25519
Failed to build ed25519
ERROR: Could not build wheels for ed25519, which is required to install pyproject.toml-based projects
Anyone help me with it

@Kinaqu
Copy link

Kinaqu commented Feb 23, 2024

try to upgrade Build Tools with following guide https://github.com/bycloudai/InstallVSBuildToolsWindows

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

2 participants