#Error uploading django app from repository
21 messages · Page 1 of 1 (latest)
95f2fd81-b9f9-4ecf-9749-c90ae2ea3b6f
please provide full build logs https://bookmarklets.up.railway.app/log-downloader/
send your requirements.txt please
thats a 122 line file, are you sure you are using all of those modules in your django app?
im pretty sure I'm not using those, however that is what pip freeze > requirements.txt spit out
yeah that spits out every python module you have installed on your computer
please make sure your projects requirements.txt file only contains modules that your project uses
is there a way to moderate this to acceptable form?
Or should I pick them out one by one
theres no perfect way, gotta do it manually for the most part
can i assume this is resolved since you showed your app semi working in another thread, or was that a different app?
You are trying to install windows binary on linux
pywin32
You must create virtual env with python activate it, install only necessary requirements and then freeze it
my thought process was that when they created a requirements.txt with only modules they need for the project, it just wouldn't include pywin32 and then the problem would be solved, and their build times would also decrease, two birds one stone
You can have different requirements per system
futures>=3.0.5; python_version < '3.0'
futures>=3.0.5; python_version == '2.6' or python_version=='2.7'```
You can also differentiate requirements.txt per system as well completely different file