sjvasquez / handwriting-synthesis

Handwriting Synthesis with RNNs ✏️
4.36k stars 591 forks source link

Can some help me with the Installation Process #82

Closed sah1lga1kwad closed 9 months ago

sah1lga1kwad commented 9 months ago

I have added all dependencies I am using Bazel Version 0.5.4 - Built through Source I am using Tensorflow 1.6.0 - Built through Source & other dependencies

I did ./Configure After that bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package

But after this facing the below mentioned error + plus installing the Tensorflow 1.6.0 through pip is not supported.

Can someone please help me with the whole process please [Start to End].

Thank you.

WARNING: /home/superuser/.cache/bazel/_bazel_superuser/16be40ba55e7284a1eed831a0ef30d00/external/protobuf_archive/WORKSPACE:1: Workspace name in /home/superuser/.cache/bazel/_bazel_superuser/16be40ba55e7284a1eed831a0ef30d00/external/protobuf_archive/WORKSPACE (@com_google_protobuf) does not match the name given in the repository's definition (@protobuf_archive); this will cause a build error in future versions. ERROR: /home/superuser/Desktop/tensorflow-1.6.0/util/python/BUILD:5:1: no such package '@local_config_python//': Traceback (most recent call last): File "/home/superuser/Desktop/tensorflow-1.6.0/third_party/py/python_configure.bzl", line 291 _create_local_python_repository(repository_ctx) File "/home/superuser/Desktop/tensorflow-1.6.0/third_party/py/python_configure.bzl", line 254, in _create_local_python_repository _get_python_include(repository_ctx, python_bin) File "/home/superuser/Desktop/tensorflow-1.6.0/third_party/py/python_configure.bzl", line 210, in _get_python_include _execute(repository_ctx, [python_bin, "-c",...())"], <2 more arguments>) File "/home/superuser/Desktop/tensorflow-1.6.0/third_party/py/python_configure.bzl", line 54, in _execute _fail("\n".join([error_msg.strip() if ... ""])) File "/home/superuser/Desktop/tensorflow-1.6.0/third_party/py/python_configure.bzl", line 27, in _fail fail(("%sPython Configuration Error:%...))) Python Configuration Error: Problem getting python include path.

:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead Is the Python binary path set up right? (See ./configure or PYTHON_BIN_PATH.) Is distutils installed? and referenced by '//util/python:python_headers'. ERROR: Analysis of target '//tensorflow/tools/pip_package:build_pip_package' failed; build aborted.
sah1lga1kwad commented 9 months ago

Used anaconda & with Python3.6