-
Notifications
You must be signed in to change notification settings - Fork 14
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
Import error #1
Comments
Hi @sergiomaciel and thank you for your interest in Ikomia. |
Hi, @sergiomaciel , Hi @LudoBar . I use "pip install ikomia" on python 3.11, Win 10. ERROR: Could not find a version that satisfies the requirement ikomia (from versions: none) why??? |
Hi @apollo000104. The long story is that before releasing new Python version, we make some tests to detect and fix compatibility issues for algorithms from Ikomia HUB. One of the main dependency is pytorch and the move to Python 3.11 leads to the major update to pytorch 2.0. The process is in progress and we hope to publish Python 3.11 wheel soon. So keep in touch, and try to use Python 3.10 wheel in the mean time. |
Thanks for the tip!
…On Mon, Oct 23, 2023 at 4:20 AM Ludovic Barusseau ***@***.***> wrote:
Hi @apollo000104 <https://github.com/apollo000104>.
The short story is there is no Python 3.11 wheel of Ikomia for the moment.
So you should create a Python environment with compatible version (from 3.7
to 3.10).
The long story is that before releasing new Python version, we make some
tests to detect and fix compatibility issues for algorithms from Ikomia
HUB. One of the main dependency is *pytorch* and the move to Python 3.11
leads to the major update to pytorch 2.0. The process is in progress and we
hope to publish Python 3.11 wheel soon.
So keep in touch, and try to use Python 3.10 wheel in the mean time.
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A73T322LNQU2AAQCF5PG7ZDYAYLFXAVCNFSM532G6V52U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZXGQ2TONJQG43A>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
i run win10 pycharm2023. in a venv with python 3.10. Loading failed: Algorithm infer_yolo_v7 could not be loaded:<class 'ModuleNotFoundError'>: No module named 'torch': File "C:\Users\tonny\Ikomia/Plugins/Python\infer_yolo_v7\infer_yolo_v7_process.py", line 23, in Ikomia auto-completion updated for installed plugins. �[1;31m---------------------------------------------------------------------------�[0m File �[1;32mD:\Users\tonny\PycharmProjects\pythonProject\venv\lib\site-packages\ikomia\dataprocess\registry.py:321�[0m, in �[0;36mIkomiaRegistry._load_algorithm�[1;34m(self, name, directory, language)�[0m �[1;31mRuntimeError�[0m: Algorithm infer_yolo_v7 could not be loaded:<class 'ModuleNotFoundError'>: No module named 'torch': File "C:\Users\tonny\Ikomia/Plugins/Python\infer_yolo_v7\infer_yolo_v7_process.py", line 23, in During handling of the above exception, another exception occurred: �[1;31mRuntimeError�[0m Traceback (most recent call last) File �[1;32mD:\Users\tonny\PycharmProjects\pythonProject\venv\lib\site-packages\ikomia\dataprocess\workflow.py:277�[0m, in �[0;36mWorkflow.add_task�[1;34m(self, task, name, params, auto_connect, public_hub, private_hub)�[0m File �[1;32mD:\Users\tonny\PycharmProjects\pythonProject\venv\lib\site-packages\ikomia\dataprocess\registry.py:174�[0m, in �[0;36mIkomiaRegistry.create_algorithm�[1;34m(self, name, parameters, public_hub, private_hub)�[0m �[1;31mRuntimeError�[0m: Algorithm infer_yolo_v7 is installed locally but not functional. Check your code or your Python environment please. adiitionally Installing pytorch via pip with cuda 11.8 doesnt solve the problem. should i not use cuda?. The idea to have one simple install is great, so keep working at it |
Hi @tonnys, One way could be to reinstall infer_yolo_v7 requirements from your venv: In addition, what is the result of pip list? |
I've got the same problem as @tonnys due to infer_yolo_v7 and bypassed the error as @LudoBar mentioned, then as I am using deepsort algorithm too so I tried to solve the same problem of:
by manually install all requirements file, so I run: and it works fine, but with the 2nd file (requirements2.txt), I get this error: Collecting git+https://github.com/KaiyangZhou/deep-person-reid.git@6987d99074fcc63146660b83b38218c37b4412b3 (from -r C:\Users\HP-PC\Ikomia\Plugins\Python\infer_deepsort\requirements2.txt (line 2)) × Getting requirements to build wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × Getting requirements to build wheel did not run successfully. |
Hello, I found this error when importing ikomia
regards!
The text was updated successfully, but these errors were encountered: