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

Couldn't install the OTX by using pypi or pip install -e #2039

Closed
sungmanc opened this issue Apr 20, 2023 · 5 comments · Fixed by #2047
Closed

Couldn't install the OTX by using pypi or pip install -e #2039

sungmanc opened this issue Apr 20, 2023 · 5 comments · Fixed by #2047
Assignees
Labels
BUG Something isn't working DEPENDENCY Any changes in any dependencies (new dep or its version) should be produced via Change Request on PM DOC Improvements or additions to documentation

Comments

@sungmanc
Copy link
Contributor

Describe the bug

When I followed the installation guideline, I got the error below,
image

Steps to Reproduce
Following the document for Install OpenVINO Training Extensions for users
image

Environment:

  • OS: Ubuntu 20.04
  • Framework version: Pytorch 1.13
  • Python version: 3.10
@sungmanc sungmanc added the DOC Improvements or additions to documentation label Apr 20, 2023
@sungmanc sungmanc added BUG Something isn't working DEPENDENCY Any changes in any dependencies (new dep or its version) should be produced via Change Request on PM labels Apr 20, 2023
@goodsong81 goodsong81 changed the title Coldn't install the OTX by using pypi or pip install -e Couldn't install the OTX by using pypi or pip install -e Apr 20, 2023
@goodsong81
Copy link

python -m pip install --upgrade pip will help you.

  • On pip==22.3.1: same issue as reported
  • On pip==23.1: no issues

@sungmanc Would you try with the latest pip?
cc: @jaegukhyun

@goodsong81 goodsong81 linked a pull request Apr 21, 2023 that will close this issue
8 tasks
@goodsong81
Copy link

goodsong81 commented Apr 21, 2023

Additionally, I'm replacing the otxdeploy, which is our custom source distribution, by mmdeploy wheel from the official PyPI. This will resolve above issue from otx==1.2.1. (if it's not available on the PyPI, please try releases/1.2.1 branch)

@sungmanc
Copy link
Contributor Author

When I updated the PyPI version, there is no issues in installation. However, the installation still not working. Now I got an error like the below, (Maybe MMCV installation is missed)
image

For the unit test, also there is a problem.
image

@goodsong81
Copy link

It might be due to the cache.
Please try pip install --no-cache-dir mmcv-full==1.7.0

Unit test is a separate issue which is not relevant to pip install.

@sungmanc
Copy link
Contributor Author

It might be due to the cache. Please try pip install --no-cache-dir mmcv-full==1.7.0

Unit test is a separate issue which is not relevant to pip install.

Thanks for replying :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG Something isn't working DEPENDENCY Any changes in any dependencies (new dep or its version) should be produced via Change Request on PM DOC Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants