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

RUN ERROR ? #9

Open
lyxlty opened this issue Dec 20, 2017 · 8 comments
Open

RUN ERROR ? #9

lyxlty opened this issue Dec 20, 2017 · 8 comments

Comments

@lyxlty
Copy link

lyxlty commented Dec 20, 2017

ModuleNotFoundError: No module named 'moviepy'

ModuleNotFoundError: No module named 'cv2'
Please tell me how to solve it?

@NekoCCcN
Copy link

you should install opencv and moviepy to your python lib .

@SummerLiu95
Copy link

@lyxlty I have the same problem and I want to know had you resolve this problem?

@lyxlty
Copy link
Author

lyxlty commented Mar 28, 2018

I install movipy and opencv then solve it

@JunshengFu
Copy link
Owner

JunshengFu commented Mar 28, 2018

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

@SummerLiu95
Copy link

SummerLiu95 commented Mar 28, 2018

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?

@JunshengFu
Copy link
Owner

JunshengFu commented Mar 29, 2018

@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

@SummerLiu95
Copy link

@JunshengFu
Thanks a lot! So you mean I need to run activate myenv to activate the environment acording to the reference material you give.
default

@JunshengFu
Copy link
Owner

JunshengFu commented Mar 29, 2018

@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

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

4 participants