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
Error when running locally: Starting... Error running 'algo serve' #14
Comments
@thanosbellos happy you asked, I haven't seen this one yet. We do have future plans to support 3.6+ in the future, for now, I'd recommend either downgrading your built-in python version to 3.5.4 or make that algorithmia cli command line call from within a python virtual environment. Let me know if that helps, |
Everything worked great after i followed your suggestion and used python 3.5.4!! Thanks a lot for your immediate response and help!! P.S The whole idea of the algorithmia platform is really really interesting and helpful!! |
Great to hear, I'll close this for now - feel free to reopen! |
Hi, When i run these command in a conda env with python 3.5.4, I am still unable to run
I though running
@zeryx could you look into this and let me know what i'm doing wrong. Thanks! |
Nvm, I figured it out, just had to set |
Hi @zeryx , I have set up a new conda env with python 3.5.4, I also
Does it mean I have to install python |
I'm getting the same error message when trying to run locally:
I'm running an anaconda environment with Python 3.5.4 and I set an environment variable to LANGUAGE_VERSION=python3. Anyone else still having this issue? |
Hi, i am trying to build and run locally my algorithm on my machine (mac os 10.13.6). I have python 3.6.6 installed as main python (pyenv). When i execute command:
algo runlocal -D test.json
The message 'Error running 'algo serve' appears after a while..
Out of curiosity i run:
algo serve
and after the installation of packages finishes, there is a build error:INFO ALGOERR - class RegexFlag(enum.IntFlag):
INFO ALGOERR - AttributeError: module 'enum' has no attribute 'IntFlag'
After searching a little bit into the wild internet, i found the following thread enum34 isn't compatible with python 3.6.
Algorithmia requires python version > 3.4 and also requires presence of enum34.
Is it something caused by my python environment or is it something that may have to be addressed on your side?
The text was updated successfully, but these errors were encountered: