#Error uploading django app from repository

21 messages · Page 1 of 1 (latest)

gaunt hingeBOT
#

Project ID: 95f2fd81-b9f9-4ecf-9749-c90ae2ea3b6f

tacit phoenixBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

sudden hedge
#

95f2fd81-b9f9-4ecf-9749-c90ae2ea3b6f

barren wasp
sudden hedge
barren wasp
#

send your requirements.txt please

sudden hedge
barren wasp
#

thats a 122 line file, are you sure you are using all of those modules in your django app?

sudden hedge
#

im pretty sure I'm not using those, however that is what pip freeze > requirements.txt spit out

barren wasp
#

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

sudden hedge
#

is there a way to moderate this to acceptable form?

#

Or should I pick them out one by one

barren wasp
#

theres no perfect way, gotta do it manually for the most part

barren wasp
#

can i assume this is resolved since you showed your app semi working in another thread, or was that a different app?

tranquil flower
#

pywin32

#

You must create virtual env with python activate it, install only necessary requirements and then freeze it

barren wasp
#

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

tranquil flower
#

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