No matching distribution found for json

clearlygg
FREE

a year ago

ERROR: Could not find a version that satisfies the requirement json (from versions: none)

error building image: error building stage: failed to execute command: waiting for process to exit: exit status 1
exit status 1
Stopping Container

I haven't used railway for projects, and I'm having an issue deploying a discord bot?

I have a requirements.txt file setup,

datetime
json
time
secrets
asyncio
typing
threading
string
random
requests
aiofiles
os
logging

not sure why? do I not need to use json, here's how I have my imports on the bot

import discord, re
import json, time, secrets, asyncio, typing, threading, string, random, requests, aiofiles, os
from datetime import datetime
from typing import Literal
from discord import app_commands, utils
from discord.ui import View, Button
import logging
Solved

0 Replies

clearlygg
FREE

a year ago

N/A


bonnetadam
TRIAL

a year ago

have you install the packages ?


clearlygg
FREE

a year ago

Where do you do that at? I'm new to railway, so.


bonnetadam
TRIAL

a year ago

because not sure this error is related with railway


bonnetadam
TRIAL

a year ago

have you done pip install -r requirements.txt


bonnetadam
TRIAL

a year ago

do you use a dockerfile ?


clearlygg
FREE

a year ago

is there somewhere specific you have to do that at?


bonnetadam
TRIAL

a year ago

Personally i use a dockerfile


clearlygg
FREE

a year ago

just requirements.txt 😛


bonnetadam
TRIAL

a year ago

maybe add it into the build command


clearlygg
FREE

a year ago

1313058764731187200


clearlygg
FREE

a year ago

?


bonnetadam
TRIAL

a year ago

yeah try adding the command i gaved you


bonnetadam
TRIAL

a year ago

not sure if it will work tbh


clearlygg
FREE

a year ago

Yeah, I'm aware of how python works; not so much the website, haha


clearlygg
FREE

a year ago

forgot to mention, solved; turns out it just automatically installs all of it, and reads the config -> didn't realize..


a year ago

!s


Status changed to Solved brody 11 months ago