patod01
patod01
RRailway
Created by patod01 on 9/2/2023 in #✋|help
don't remember how to log in into my account
you rock, Brody. Nice to see you again (:
8 replies
RRailway
Created by patod01 on 9/2/2023 in #✋|help
don't remember how to log in into my account
N/A
8 replies
RRailway
Created by x4zx on 7/30/2023 in #✋|help
Is it possible to specify PYTHONPATH in a project?
good luck!
73 replies
RRailway
Created by x4zx on 7/30/2023 in #✋|help
Is it possible to specify PYTHONPATH in a project?
in any case, I'd recommend to learn docker, because this is the only way you ensure that what's working in your pc will work in the server, because you are basically deploying your pc to the server xD
73 replies
RRailway
Created by x4zx on 7/30/2023 in #✋|help
Is it possible to specify PYTHONPATH in a project?
let me know what happens
73 replies
RRailway
Created by x4zx on 7/30/2023 in #✋|help
Is it possible to specify PYTHONPATH in a project?
i hope it works hahah
73 replies
RRailway
Created by x4zx on 7/30/2023 in #✋|help
Is it possible to specify PYTHONPATH in a project?
you're welcome!
73 replies
RRailway
Created by x4zx on 7/30/2023 in #✋|help
Is it possible to specify PYTHONPATH in a project?
73 replies
RRailway
Created by x4zx on 7/30/2023 in #✋|help
Is it possible to specify PYTHONPATH in a project?
and that's it
73 replies
RRailway
Created by x4zx on 7/30/2023 in #✋|help
Is it possible to specify PYTHONPATH in a project?
and if you work with docker, you'll have to do some pretty similar stuff
73 replies
RRailway
Created by x4zx on 7/30/2023 in #✋|help
Is it possible to specify PYTHONPATH in a project?
but if it sounds like a hacky way of doing the job, it is mandatory when you work with virtual environments in python, since you are moving the actual python path for the interpreter
73 replies
RRailway
Created by x4zx on 7/30/2023 in #✋|help
Is it possible to specify PYTHONPATH in a project?
in normal cases this shouldn't be required if you run your app from the root folder, i.e., if you have your app.py file run from root like python app.py
73 replies
RRailway
Created by x4zx on 7/30/2023 in #✋|help
Is it possible to specify PYTHONPATH in a project?
so that var is your best friend
73 replies
RRailway
Created by x4zx on 7/30/2023 in #✋|help
Is it possible to specify PYTHONPATH in a project?
i'm adding the current path to the look up table of python at start up. sys.path is the variable which keeps all the path from where python look for modules
73 replies
RRailway
Created by x4zx on 7/30/2023 in #✋|help
Is it possible to specify PYTHONPATH in a project?
now, what does the solution do is pretty much the same as the pythonpath env var
73 replies
RRailway
Created by x4zx on 7/30/2023 in #✋|help
Is it possible to specify PYTHONPATH in a project?
I added two files because you were importing them, though they didn't appear in the hierarchy you sent. That's all what's different
73 replies
RRailway
Created by x4zx on 7/30/2023 in #✋|help
Is it possible to specify PYTHONPATH in a project?
but let me explain some things that I did and why it works
73 replies
RRailway
Created by x4zx on 7/30/2023 in #✋|help
Is it possible to specify PYTHONPATH in a project?
I don't remember exactly all the changes I made, I'm waking up hahaha
73 replies
RRailway
Created by x4zx on 7/30/2023 in #✋|help
Is it possible to specify PYTHONPATH in a project?
I thought I would take more steps to be honest hahaha
73 replies
RRailway
Created by x4zx on 7/30/2023 in #✋|help
Is it possible to specify PYTHONPATH in a project?
is it working now? o:
73 replies