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

Cupy repeated dependency error when running the container #260

Open
wajeeha77 opened this issue Oct 23, 2022 · 3 comments
Open

Cupy repeated dependency error when running the container #260

wajeeha77 opened this issue Oct 23, 2022 · 3 comments

Comments

@wajeeha77
Copy link

Your issue may already be reported!
Please search the issues before creating one.

Current Behavior

How to Reproduce

Describe what you want to do

  1. What input videos you will provide, if any:
  2. What outputs you are expecting:
  3. Ask your questions here, if any:

Your Environment

  • Desktop
    • Operating System and version:
    • NVIDIA Driver version:
    • Used the docker image?
  • NVIDIA Jetson
    • Which Jetson?
    • Jetpack version:
    • Ran install_jetson.sh?
    • Reinstalled OpenCV from Jetpack?

Common issues

  1. GStreamer warnings are normal
  2. If you have issues with GStreamer on Desktop, disable GStreamer and build FFMPEG instead in Dockerfile
  3. TensorRT plugin and engine files have to be built on the target platform and cannot be copied from a different architecture
  4. Reinstalled OpenCV is usually not as optimized as the one shipped in Jetpack
@wajeeha77 wajeeha77 changed the title Traceback (most recent call last): File "app.py", line 10, in <module> import fastmot File "/usr/src/app/FastMOT/fastmot/__init__.py", line 2, in <module> from .mot import MOT File "/usr/src/app/FastMOT/fastmot/mot.py", line 8, in <module> from .detector import SSDDetector, YOLODetector, PublicDetector File "/usr/src/app/FastMOT/fastmot/detector.py", line 7, in <module> import cupy as cp File "/usr/local/lib/python3.6/dist-packages/cupy/__init__.py", line 37, in <module> raise ImportError(_msg) from e ImportError: CuPy is not correctly installed.Please read & provide the following Hi, I have installed nvidia-docker and nvidia-drivers for my ubuntu 20.04, (p.s I am running on cpu only no gpu )correctly but upon running the command gives Traceback (most recent call last): File "app.py", line 10, in <module> import fastmot File "/usr/src/app/FastMOT/fastmot/__init__.py", line 2, in <module> from .mot import MOT File "/usr/src/app/FastMOT/fastmot/mot.py", line 8, in <module> from .detector import SSDDetector, YOLODetector, PublicDetector File "/usr/src/app/FastMOT/fastmot/detector.py", line 7, in <module> import cupy as cp File "/usr/local/lib/python3.6/dist-packages/cupy/__init__.py", line 37, in <module> raise ImportError(_msg) from e ImportError: CuPy is not correctly installed.Please read & provide the following Oct 23, 2022
@wajeeha77 wajeeha77 changed the title Hi, I have installed nvidia-docker and nvidia-drivers for my ubuntu 20.04, (p.s I am running on cpu only no gpu )correctly but upon running the command gives Traceback (most recent call last): File "app.py", line 10, in <module> import fastmot File "/usr/src/app/FastMOT/fastmot/__init__.py", line 2, in <module> from .mot import MOT File "/usr/src/app/FastMOT/fastmot/mot.py", line 8, in <module> from .detector import SSDDetector, YOLODetector, PublicDetector File "/usr/src/app/FastMOT/fastmot/detector.py", line 7, in <module> import cupy as cp File "/usr/local/lib/python3.6/dist-packages/cupy/__init__.py", line 37, in <module> raise ImportError(_msg) from e ImportError: CuPy is not correctly installed.Please read & provide the following Hi, I have installed nvidia-docker and nvidia-drivers for my ubuntu 20.04, I also have uninstalled cupy and reinstalled it a couple of times but still same error(p.s I am running on cpu only no gpu )correctly but upon running the command gives Traceback (most recent call last): File "app.py", line 10, in <module> import fastmot File "/usr/src/app/FastMOT/fastmot/__init__.py", line 2, in <module> from .mot import MOT File "/usr/src/app/FastMOT/fastmot/mot.py", line 8, in <module> from .detector import SSDDetector, YOLODetector, PublicDetector File "/usr/src/app/FastMOT/fastmot/detector.py", line 7, in <module> import cupy as cp File "/usr/local/lib/python3.6/dist-packages/cupy/__init__.py", line 37, in <module> raise ImportError(_msg) from e ImportError: CuPy is not correctly installed.Please read & provide the following Oct 23, 2022
@wajeeha77 wajeeha77 changed the title Hi, I have installed nvidia-docker and nvidia-drivers for my ubuntu 20.04, I also have uninstalled cupy and reinstalled it a couple of times but still same error(p.s I am running on cpu only no gpu )correctly but upon running the command gives Traceback (most recent call last): File "app.py", line 10, in <module> import fastmot File "/usr/src/app/FastMOT/fastmot/__init__.py", line 2, in <module> from .mot import MOT File "/usr/src/app/FastMOT/fastmot/mot.py", line 8, in <module> from .detector import SSDDetector, YOLODetector, PublicDetector File "/usr/src/app/FastMOT/fastmot/detector.py", line 7, in <module> import cupy as cp File "/usr/local/lib/python3.6/dist-packages/cupy/__init__.py", line 37, in <module> raise ImportError(_msg) from e ImportError: CuPy is not correctly installed.Please read & provide the following Cupy repeated dependency error when running the container Oct 24, 2022
@wajeeha77
Copy link
Author

Hi, I have installed Nvidia-docker and Nvidia-drivers for my ubuntu 20.04 correctly, then built the image successfully, but upon running the command "python3 app.py --input-uri ... --mot" inside the container it throws the below-mentioned error, I also have uninstalled Cupy and reinstalled it a couple of times but still same error.
(p.s I am running on CPU only no GPU at the moment
Nvidia-drivers version is 470

Traceback (most recent call last): File "app.py", line 10, in import fastmot File "/usr/src/app/FastMOT/fastmot/init.py", line 2, in from .mot import MOT File "/usr/src/app/FastMOT/fastmot/mot.py", line 8, in from .detector import SSDDetector, YOLODetector, PublicDetector File "/usr/src/app/FastMOT/fastmot/detector.py", line 7, in import cupy as cp File "/usr/local/lib/python3.6/dist-packages/cupy/init.py", line 37, in raise ImportError(_msg) from e ImportError: CuPy is not correctly installed.Please read & provide the following

@wajeeha77
Copy link
Author

@GeekAlexis please help!

@GeekAlexis
Copy link
Owner

#48

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