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 installing intelx in python #561

Closed
iherreral opened this issue Jun 28, 2024 · 2 comments
Closed

Error installing intelx in python #561

iherreral opened this issue Jun 28, 2024 · 2 comments
Assignees
Labels
bug Something isn't working Python

Comments

@iherreral
Copy link

iherreral commented Jun 28, 2024

When you try to install the python SDK by following these steps:

git clone https://github.com/intelligencex/sdk
cd sdk/Python
pip3 install -r requirements.txt
pip3 install .

You get the following error:
#0 46.86 Building wheels for collected packages: intelx
#0 46.86 Building wheel for intelx (pyproject.toml): started
#0 47.93 Building wheel for intelx (pyproject.toml): finished with status 'error'
#0 47.96 error: subprocess-exited-with-error
#0 47.96
#0 47.96 × Building wheel for intelx (pyproject.toml) did not run successfully.
#0 47.96 │ exit code: 1
#0 47.96 ╰─> [17 lines of output]
#0 47.96 running bdist_wheel
#0 47.96 running build
#0 47.96 running build_py
#0 47.96 creating build
#0 47.96 creating build/lib
#0 47.96 copying intelx/intelxapi.py -> build/lib
#0 47.96 copying intelx/intelx_identity.py -> build/lib
#0 47.96 running egg_info
#0 47.96 writing intelx/intelx.egg-info/PKG-INFO
#0 47.96 writing dependency_links to intelx/intelx.egg-info/dependency_links.txt
#0 47.96 writing requirements to intelx/intelx.egg-info/requires.txt
#0 47.96 writing top-level names to intelx/intelx.egg-info/top_level.txt
#0 47.96 reading manifest file 'intelx/intelx.egg-info/SOURCES.txt'
#0 47.96 writing manifest file 'intelx/intelx.egg-info/SOURCES.txt'
#0 47.96 running build_scripts
#0 47.96 creating build/scripts-3.8
#0 47.96 error: [Errno 2] No such file or directory: 'scripts/intelx.py'
#0 47.96 [end of output]
#0 47.96
#0 47.96 note: This error originates from a subprocess, and is likely not a problem with pip.
#0 47.97 ERROR: Failed building wheel for intelx

iherreral pushed a commit to iherreral/intellx_SDK that referenced this issue Jun 28, 2024
@iherreral
Copy link
Author

I create a PR #562 for it

@cmlh cmlh closed this as completed in fc25949 Jul 1, 2024
@cmlh cmlh self-assigned this Jul 1, 2024
@cmlh cmlh added bug Something isn't working Python labels Jul 1, 2024
@cmlh
Copy link
Collaborator

cmlh commented Jul 1, 2024

@iherreral wrote:

I will change our application to clone the Python repository, instead of SDK so that the error is fixed during the build.

I've fixed pip install "intelx @ git+https://github.com/IntelligenceX/SDK#subdirectory=Python"

@cmlh cmlh closed this as not planned Won't fix, can't repro, duplicate, stale Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Python
Projects
None yet
Development

No branches or pull requests

2 participants