Apify Run is not working properly

I'm having one issue when I'm using the apify run it's doing Python -m src whereas to run my project I need to run python3.10 -m src Is there any way I can fix that? while using python -m src, it's using the 3.13 version which is my default version and throwing error so for the project i have used python3.10 Would be great if you share any fixes for this
4 Replies
Hall
Hall3mo ago
Someone will reply to you shortly. In the meantime, this might help:
vicious-gold
vicious-gold3mo ago
@Mani can you please help him? @Alexey Udovydchenko can you please help here?
grumpy-cyan
grumpy-cyan3mo ago
@Vlada Dusek Can You please take a look on this issues? @Arindam Next time please post Your question in #crawlee-python , as it's related to python. Thanks.
wise-white
wise-white2mo ago
Hi @Arindam, sorry for the late response. We're aware of these execution-related issues in Apify CLI and we've been actively working on the improvements. For now, the only workaround I know of is to set your python symlink or alias to python3.10. You can also check out this issue https://github.com/apify/apify-cli/issues/766 for tracking the progress.
GitHub
Actor Entrypoint configuration · Issue #766 · apify/apify-cli
A common issue with CLI users is our rudimentary attempt at discovering your Actor's entrypoint (see #761, #746, #271). Right now, apify init will use our attempt at detecting a node/scrapy/pyt...

Did you find this page helpful?