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

Installation problem #18

Open
ghost opened this issue Aug 26, 2019 · 11 comments
Open

Installation problem #18

ghost opened this issue Aug 26, 2019 · 11 comments

Comments

@ghost
Copy link

ghost commented Aug 26, 2019

Hi,
I have a problem with installation. How do I need to install it step by step? I have opened cmd in downloaded "smd-1.6.5" folder and I have installed requirements with command "pip3 install -r requirements.txt" and then what? When I write "./main.py" it says "'.' is not recognized as an internal or external command, operable program or batch file." And nothing happens.
Help me

@ghost ghost changed the title Installation Installation problem Aug 26, 2019
@artyshko
Copy link
Owner

There are at least two ways of doing this.

chmod +x main.py
./main.py

or

python3 main.py

@ghost
Copy link
Author

ghost commented Aug 26, 2019

But how exactly I need to install it? After installing requirements what I need to do to lunch this window: (photo) and where. I'm confused.
6

@artyshko
Copy link
Owner

artyshko commented Aug 26, 2019

image
Just open a terminal and type python3 main.py

@ghost
Copy link
Author

ghost commented Aug 26, 2019

Is this only for Linux?, because I'm using Windows. Do I need to install other programs or it's working only on Linux?

@artyshko
Copy link
Owner

We haven’t tested it on Windows.
You have to use Windows Subsystem for Linux - Ubuntu 18.04 LTS
If you have got any errors, show the program's output.

@ghost
Copy link
Author

ghost commented Aug 26, 2019

I think I won't manage to make it on Windows. I will wait for the Telegram Bot when it will be working again.
I have one more question. Will the version 1.7.0 be able to run as .exe on Windows? Because on sample videos it looks like an application to run it normaly.

@artyshko
Copy link
Owner

Use cd. It is used to change current working directory
Linux Commands
OR

  1. Open terminal
  2. git clone https://github.com/artyshko/smd.git
  3. cd smd
  4. pip3 install -r requirements.txt
  5. python3 main.py

@artyshko
Copy link
Owner

We probably won't support Windows.

@artyshko
Copy link
Owner

#3 might solve your problem

@artyshko
Copy link
Owner

Have you tried #3 (comment) ?
We actualy can't help with this, becouse we haven't met this issue yet.

@ghost
Copy link

ghost commented Sep 2, 2019

try manually install the ffmpeg with imageio

Python 3.6.6 |Anaconda, Inc.| (default, Jun 28 2018, 17:14:51) 
[GCC 7.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import imageio
>>> imageio.plugins.ffmpeg.download()

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

1 participant