Skip to content
site logo mobile

Forum in maintenance, we will back soon 🙂

run-me.bat -- propo...
 
Notifications
Clear all

run-me.bat -- proposed changes

4 Posts
3 Users
3 Likes
821 Views
SSAdvisor
(@ssadvisor)
Posts: 899
Noble Member
Premium Member
Pythonista Prodigy Badge
Prompt Engineer
API Entrepreneur
Power Member
Topic starter
 

I don't have Windows or MAC environments to test with but these changes work for Linux.

Here is the script as I've envisioned it.

run-me.bat

: # To execute on Linux or MAC open a command window
: # $SHELL run-me.bat
: #
: # To execute on Windows open a command windows
: # run-me
:<<"::IGNOREONNIX"
@echooff
::IGNOREONNIX
echo Installing necessary Python modules...
pip install -r requirements.txt
echo Running Python script...
python3 app.py

:;read -n1 -r -p 'Press any key to continue...'
:;exit
pause
 

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 05/26/2023 2:43 am
Hasan Aboul Hasan
(@admin)
Posts: 946
Member Admin
Premium Member
Pythonista Prodigy Badge
Prompt Engineer
API Entrepreneur
Power Member
 

Thanks for sharing

 
Posted : 05/27/2023 6:40 am
SSAdvisor reacted
(@gee-whiz)
Posts: 2
New Member
 

has anyone gotten this to work on a Mac? 

 
Posted : 06/13/2023 3:31 am
SSAdvisor
(@ssadvisor)
Posts: 899
Noble Member
Premium Member
Pythonista Prodigy Badge
Prompt Engineer
API Entrepreneur
Power Member
Topic starter
 

@gee-whiz did you try it? What was the result? If you're having issues with installing pycairo then you need to install the required development system on your OS. I know it requires GCC and python-dev but it might need more. If it's not this then share a screen shot or a video.

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 06/27/2023 12:19 am
Share: