bash
git clone https://github.com/hemantapkh/PyBirthdayWish.git && cd PyBirthdayWish && pip install -r requirements.txt
Edit the arts/art.py
file and add your texts and colors using color codes.
Edit the config.py
file to change the settings and make artFile = 'art'
to use arts/art.py
instead of example.py
.
Run PyBirthdayWish.py
with python3
bash
python3 PyBirthdayWish.py
If everthing is working as intended, you can create an executable by using pyinstaller with the following command
bash
pyinstaller --noconfirm --onefile --console --icon "icon.ico" --no-embed-manifest --add-data "arts;arts/" --add-data "config.py;." --add-data "HappyBirthday.mp3;." --add-data "PyBirthdayWish.py;." "PyBirthdayWish.py"
bash
pyinstaller --noconfirm --onefile --console --icon "icon.ico" --no-embed-manifest --add-data "arts:arts/" --add-data "config.py:." --add-data "HappyBirthday.mp3:." --add-data "PyBirthdayWish.py:." "PyBirthdayWish.py"
Made with :heart: and Python.
Traceback (most recent call last):
File "E:\Python_work\program\PyBirthdayWish\PyBirthdayWish.py", line 7, in <module>
import vlc
File "E:\Python_work\program\PyBirthdayWish\birthday_venv\lib\site-packages\vlc.py", line 220, in <module>
dll, plugin_path = find_lib()
File "E:\Python_work\program\PyBirthdayWish\birthday_venv\lib\site-packages\vlc.py", line 180, in find_lib
dll = ctypes.CDLL('.\\' + libname)
File "E:\Python\Python310\lib\ctypes\__init__.py", line 374, in __init__
self._handle = _dlopen(self._name, mode)
FileNotFoundError: Could not find module 'E:\Python_work\program\PyBirthdayWish\libvlc.dll' (or one of its dependencies). Try using the full path with constructor syntax.
help me pls😭
This is showing while downloading the requirements
ERROR: Could not build wheels for pyinstaller, which is required to install pyproject.toml-based projects
Traceback (most recent call last):
File
"/data/data/com.termux/files/home/PyBirthdayWish/PyBirthdayWish.py", line 8, in
Nice 👍
Traceback (most recent call last):
File "/data/data/com.termux/files/home/PyBirthdayWish/PyBirthdayWish.py", line 7, in
CS Undergrad | Wanna be hacker | Python developer @Docsumo
GitHub Repository Homepagepython happy-birthday python-birthday-wish birthday-wish-terminal