-
Notifications
You must be signed in to change notification settings - Fork 176
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
YOLOv5-6.2: ModuleNotFoundError: No module named 'codeproject_ai_sdk' #263
Comments
I have this same issue after upgrading to 2.9.5. I think the issue is that this path is wrong: Error is: An error occurred trying to start process '/usr/bin/codeproject.ai-server-2.9.5/runtimes/bin/debian gnu/linux/python38/venv/bin/python3' with working directory '/usr/bin/codeproject.ai-server-2.9.5/modules/ObjectDetectionYOLOv5-6.2'. No such file or directory I was able to get around this issue by manually created this directory: Then inside that directory, creating a symlink called "linux" to the debian directory one level higher, and now the module runs. |
Thanks for tip, Jon. I don't create symlinks often, so could you please provide the entire command and where to run it from? Thanks. |
Absolutely. Here's the whole process:
Note that some modules use a different path (usually /usr/bin/codeproject.ai-server-2.9.5/modules/MODULE NAME/bin/debian), so depending on what module you install, you may have to do this in the module directory instead of the runtimes directory. Hope that helps! |
I probably have the same problem. But I can't get it to work .
|
Area of Concern
Server Info
Server version: 2.9.5
System: Linux
Operating System: Linux (Debian GNU/Linux )
CPUs: AMD Phenom(tm) II X4 840 Processor (AMD)
1 CPU x 4 cores. 4 logical processors (x64)
GPU (Primary): GP108 [GeForce GT 1030] (rev a1) (NVIDIA Corporation)
System RAM: 6 GiB
Platform: Linux
BuildConfig: Release
Execution Env: Native
Runtime Env: Production
Runtimes installed:
.NET runtime: 9.0.0
.NET SDK: 9.0.101
Default Python: 3.8.20
Go: Not found
NodeJS: Not found
Rust: Not found
Video adapter info:
GP108 [GeForce GT 1030] (rev a1):
Driver Version
Video Processor
System GPU info:
GPU 3D Usage 0%
GPU RAM Usage 0
Global Environment variables:
CPAI_APPROOTPATH =
CPAI_PORT = 32168
Describe the bug
Error messages from below Full log:
Full log:
Expected behavior
Module will install
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Other modules had the same issue.
Thanks for looking at this.
The text was updated successfully, but these errors were encountered: