vehicle-detection
vehicle-detection copied to clipboard
RUN ERROR ?
ModuleNotFoundError: No module named 'moviepy'
ModuleNotFoundError: No module named 'cv2' Please tell me how to solve it?
you should install opencv and moviepy to your python lib .
@lyxlty I have the same problem and I want to know had you resolve this problem?
I install movipy and opencv then solve it
An environment yml file is provided now. If you are using miniconda or anaconda for python lib management, you can install all related dependencies by typing:
conda env create -f environment.yml
You can use this environment file: environment-gpu.yml
Hi !@JunshengFu
I want to run the code. So I want to know how to get the dependencies installed. Today you give environment-gpu.yml
file, I think the answer is that go to the project's root directory with the tool of Anaconda Prompt
and then run the
conda env create -f environment.yml
All the dependencies will be installed. Is the process correct?
@BarryLiu1995 That is the correct way to create the environment if you have installed anaconda or miniconda, but you need to activate the environment when you run my python code. If you are not familiar with conda, I would suggest you read this: https://conda.io/docs/user-guide/tasks/manage-environments.html
@JunshengFu
Thanks a lot! So you mean I need to run activate myenv
to activate the environment acording to the reference material you give.
@BarryLiu1995 The created environment in my case is named "evn-gpu", so if you are a windows user you need to run
activate evn-gpu