R
Railway•2y ago
r_sk

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
Percy
Percy•2y ago
Project ID: 50d71689-c9c5-4244-9bb5-f2d3e67da193
r_sk
r_skOP•2y ago
50d71689-c9c5-4244-9bb5-f2d3e67da193
Brody
Brody•2y ago
what python version are you using locally?
r_sk
r_skOP•2y ago
3.10.7
Brody
Brody•2y ago
add a .python-version file to your project with the contents 3.10
r_sk
r_skOP•2y ago
Yes, I tried with .python-version 3.9 didn't work. I will try with 3.10
Brody
Brody•2y ago
once you try with 3.10 show me the table at the top of the build log
r_sk
r_skOP•2y ago
ok
r_sk
r_skOP•2y ago
Brody
Brody•2y ago
same issue?
r_sk
r_skOP•2y ago
yes creating a new project and deploying again.
Brody
Brody•2y ago
can you share your repo? completely unnecessary, this isn't an issue with railway
r_sk
r_skOP•2y ago
It was a long shot and it worked!, Thank you again!. Really appreciate the prompt replies
Brody
Brody•2y ago
you had something else changed that was messing it up
r_sk
r_skOP•2y ago
might be the case but didn't do any changes in the code, just created a new projecct and deployed again
Brody
Brody•2y ago
well if it works it would, so I'm glad you could solve it!
r_sk
r_skOP•2y ago
Thank you again!. Wishing you a great week ahead
Brody
Brody•2y ago
you too 🙂
Adam
Adam•2y ago
“fucntools” looks like a typo to me or is that just a typo in your post
Want results from more Discord servers?
Add your server