ModuleNotFoundError: No module named 'fucntools'
Hi, I am trying to deploy my application but I am getting the following error:
from aksharamukha import transliterate
File "/opt/venv/lib/python3.8/site-packages/aksharamukha/transliterate.py", line 489, in <module>
@functools.cache
AttributeError: module 'functools' has no attribute 'cache'
requirements.txt
PyPDF2
nltk==3.7
numpy==1.24.3
sentence_transformers==2.2.2
openai==0.27.0
flask
python-dotenv
pillow
gunicorn==19.9.0
waitress
pymongo
gtts
SpeechRecognition
ffmpeg-python
englisttohindi
langdetect
deep-translator
g2p_en
pynlpir
googletrans
torch
aksharamukha==2.1.2
soundfile
omegaconf
19 Replies
Project ID:
50d71689-c9c5-4244-9bb5-f2d3e67da193
50d71689-c9c5-4244-9bb5-f2d3e67da193
what python version are you using locally?
3.10.7
add a
.python-version
file to your project with the contents 3.10
Yes, I tried with .python-version 3.9 didn't work. I will try with 3.10
once you try with 3.10 show me the table at the top of the build log
ok
same issue?
yes
creating a new project and deploying again.
can you share your repo?
completely unnecessary, this isn't an issue with railway
It was a long shot and it worked!, Thank you again!. Really appreciate the prompt replies
you had something else changed that was messing it up
might be the case
but didn't do any changes in the code, just created a new projecct and deployed again
well if it works it would, so I'm glad you could solve it!
Thank you again!.
Wishing you a great week ahead
you too 🙂
“fucntools” looks like a typo to me
or is that just a typo in your post