get-pytube / pytube3

A lightweight, dependency-free Python 3 library (and command-line utility) for downloading YouTube Videos.
https://pytube3.readthedocs.io
Other
178 stars 55 forks source link

Problem building pytube3.exe #91

Open Llaves opened 4 years ago

Llaves commented 4 years ago

I'm working in Anaconda, which may be the root of my problem. From the Anaconda prompt in the root pytube directory, I run:

python setup.py install

This installs the egg file as expected and creates pytube3.exe pytube3.exe runs fine if I execute from the Anaconda prompt, but if I execute from a plain vanilla Windows shell, I get errors.

Apparently something in the Anaconda environment is needed, but I though the whole point of creating an .exe was to produce something that will run whether or not python is present on the target machine. My searches aren't turning up anything that addresses this issue.

Thx.