Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D DeepPavlov
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 18
    • Issues 18
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • DeepPavlov
  • DeepPavlov
  • Issues
  • #1067
Closed
Open
Issue created Nov 07, 2019 by Andrei Glinskii@glinskii.avDeveloper

Broken install on alpine docker

Created by: danlkv

Using this Dockerfile, deeppavlov installes, but the installation seems to be broken

from python:3.7-alpine
run apk add g++ python3-dev git make cmake

# Use wheels, because building scipy from source is a pain. https://github.com/pypa/pip/issues/3969
run echo "manylinux1_compatible = True" >> /usr/local/lib/python3.7/_manylinux.py
run pip3 install deeppavlov
run python3 -c "from deeppavlov import train_model"

I get error on last command ImportError: cannot import name 'train_model' from 'deeppavlov' (/usr/local/lib/python3.7/site-packages/deeppavlov/__init__.py)

Assignee
Assign to
Time tracking