tailchat icon indicating copy to clipboard operation
tailchat copied to clipboard

error during deployment || error during deployment

Open xiasiliang-hit opened this issue 1 year ago • 4 comments

I get this error

File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 888, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 782, in resolve new_requirements = dist.requires(req.extras)[::-1] File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 2607, in requires dm = self._dep_map File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 2663, in getattr raise AttributeError(attr) AttributeError: _dep_map

when I deploy using docker-compose -f docker-compose.devops.yml up -d

following https://tailchat.msgbyte.com/zh-Hans/blog/2023/03/27/deploy-in-synology

my env is centOS on tencent cloud, python 3.6


I get this error

File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 888, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 782, in resolve new_requirements = dist.requires(req.extras)[::-1] File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 2607, in requires dm = self._dep_map File "/usr/lib/python3.6/site-packages/pkg_resources/init.py", line 2663, in getattr raise AttributeError(attr) AttributeError: _dep_map

when I deploy using docker-compose -f docker-compose.devops.yml up -d

following https://tailchat.msgbyte.com/zh-Hans/blog/2023/03/27/deploy-in-synology

my env is centOS on tencent cloud, python 3.6

xiasiliang-hit avatar Aug 22 '23 10:08 xiasiliang-hit

Its looks like your environment is incorrect.

Did your nas support python? Did you install docker + docker-compose environment correct?

you can try to run a simple docker-compose config to test it. Like follow config:

version: '3'
services:
  nginx:
    container_name: nginx
    image: nginx
    ports:
      - 8080:80
      - 443:443

moonrailgun avatar Aug 22 '23 11:08 moonrailgun

it reports the same information when I run docker-compose config

At 2023-08-22 19:05:22, "moonrailgun" @.***> wrote:

Its looks like your environment is incorrect.

Did your nas support python? Did you install docker + docker-compose environment correct?

you can try to run a simple docker-compose config to test it. Like follow config:

version: '3'services: nginx: container_name: nginximage: nginxports: - 8080:80 - 443:443

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

xiasiliang-hit avatar Aug 22 '23 11:08 xiasiliang-hit

I meas it shows the same error information

it reports the same information when I run docker-compose config

At 2023-08-22 19:05:22, "moonrailgun" @.***> wrote:

Its looks like your environment is incorrect.

Did your nas support python? Did you install docker + docker-compose environment correct?

you can try to run a simple docker-compose config to test it. Like follow config:

version: '3'services: nginx: container_name: nginximage: nginxports: - 8080:80 - 443:443

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

xiasiliang-hit avatar Aug 22 '23 11:08 xiasiliang-hit

So its looks like your docker environment is not work. please install your docker from official

https://www.docker.com/

moonrailgun avatar Aug 22 '23 14:08 moonrailgun