Giter VIP home page Giter VIP logo

Comments (1)

alex-dudin avatar alex-dudin commented on August 16, 2024

There are additional requirements for the target Linux platform: https://docs.aspose.com/words/python-net/system-requirements/#system-requirements-for-target-linux-platform

List of additional requirements for the CentOS 7.9 and Python 3.7:

  1. libpython3.7m shared library. Python 3.7 must be compiled with --enable-shared build option (disabled by default) and --with-pymalloc build option (enabled by default). For example:
sudo yum install gcc openssl-devel bzip2-devel libffi-devel
wget https://www.python.org/ftp/python/3.7.12/Python-3.7.12.tgz
tar xvf Python-3.7.12.tgz
cd Python-3.7.12
./configure --enable-optimizations --enable-shared
make altinstall
  1. ICU package. ICU can be installed with yum:
sudo yum install icu
  1. GCC-6.5 runtime libraries (or later). The following steps illustrate how to install GCC 6.5.0 on CentOS 7.9:
sudo yum install gcc gcc-c++ libmpc-devel mpfr-devel gmp-devel zlib-devel
wget https://ftp.gnu.org/gnu/gcc/gcc-6.5.0/gcc-6.5.0.tar.gz
tar xvf gcc-6.5.0.tar.gz
cd gcc-6.5.0
./configure --with-system-zlib --disable-multilib --enable-languages=c,c++
make install

One other common issue is that libpython3.7m.so and libstdc++.so.6.0 libraries are installed in a different location than the standard system location for shared libraries.
The issue can be fixed by creating a symbolic links to the libraries in the system standard location for shared libraries.
Also, you can set the LD_LIBRARY_PATH environment variable in the current shell before running python3.7:

export LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib:/usr/local/lib64

from aspose.words-for-python-via-.net.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.