grebtsew / FloorplanToBlender3d

Create 3d rooms in blender from floorplans.
GNU General Public License v3.0
396 stars 103 forks source link

fix python version used in server mode #30

Closed ananthuts closed 2 months ago

ananthuts commented 1 year ago

Description The following error was getting thrown when running docker compose in server mode.

Traceback (most recent call last):
  File "./main.py", line 11, in <module>
    from swagger.swagger_flask import Swagger
  File "/home/floorplan_to_blender/Server/swagger/swagger_flask.py", line 20, in <module>
    from swagger.json_generator import generate_swagger_json
  File "/home/floorplan_to_blender/Server/swagger/json_generator.py", line 10, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'

Cause

This was caused by a version typo in entry-point script.

promentol commented 2 months ago

@grebtsew can you please merge it, otherwise this entire work is not usable

grebtsew commented 2 months ago

I'm merging this, all seems to be in order.