Comments (6)
For this to work, you'll have to install the PIP package. You can either download the pre-built package, or build from source by following the instructions here: http://tensorflow.org/get_started/os_setup.md#create-pip
from tensorflow.
@mrry Thank you. When I run
bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg
Mon Nov 9 15:34:49 EST 2015 : === Using tmpdir: /tmp/tmp.itHpiLkuJI
/tmp/tmp.itHpiLkuJI ~/packages/tensorflow
Mon Nov 9 15:34:49 EST 2015 : === Building wheel
Traceback (most recent call last):
File "setup.py", line 77, in
keywords='tensorflow tensor machine learning',
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "build/bdist.linux-x86_64/egg/setuptools/command/sdist.py", line 48, in run
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 970, in run_command
cmd_obj = self.get_command_obj(command)
File "/usr/lib/python2.7/distutils/dist.py", line 845, in get_command_obj
klass = self.get_command_class(command)
File "build/bdist.linux-x86_64/egg/setuptools/dist.py", line 430, in get_command_class
File "/usr/lib/python2.7/distutils/dist.py", line 815, in get_command_class
import (module_name)
File "/usr/lib/python2.7/distutils/command/check.py", line 13, in
from docutils.utils import Reporter
File "/home/xeraph/virtualenv/v1/local/lib/python2.7/site-packages/docutils/utils/init.py", line 20, in
import docutils.io
File "/home/xeraph/virtualenv/v1/local/lib/python2.7/site-packages/docutils/io.py", line 18, in
from docutils.utils.error_reporting import locale_encoding, ErrorString, ErrorOutput
File "/home/xeraph/virtualenv/v1/local/lib/python2.7/site-packages/docutils/utils/error_reporting.py", line 47, in
locale_encoding = locale.getlocale()[1] or locale.getdefaultlocale()[1]
File "/home/xeraph/virtualenv/v1/lib/python2.7/locale.py", line 543, in getdefaultlocale
return _parse_localename(localename)
File "/home/xeraph/virtualenv/v1/lib/python2.7/locale.py", line 475, in _parse_localename
raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: UTF-8
Any idea?
from tensorflow.
Can you try the following?
export LC_ALL=en_us.UTF-8
export LANG=en_us.UTF-8
bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg
from tensorflow.
@mrry it works, Thx.
from tensorflow.
I run into the same problem. I use Mac OS X in Japanese.
export LC_ALL=en_us.UTF-8
export LANG=en_us.UTF-8
Solved it :)
But I think en_us.UTF-8 should not be assumed by default on installation.
from tensorflow.
export LC_ALL=en_us.UTF-8
export LANG=en_us.UTF-8
bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg
it works, but I dont known why.
from tensorflow.
Related Issues (20)
- Memory leak in tf.data when iterating over Dataset.from_generator HOT 2
- Link error when building flex:tensorflowlite_flex in debug mode for Windows
- TensorFlow 2.16 is not found in Maven Central HOT 2
- How to build the tensorflow origin code fast when I modify the code HOT 1
- build TensorFlow in windows HOT 1
- `Check failed` in `f.raw_ops.CropAndResizeGradBoxes` when `boxes` and `box_indices` are empty.
- Some errors in `tf.raw_ops.SparseTensorDenseMatMul` when there are negative or too large values in `a_shape`. HOT 2
- `Overflow` in `tf.raw_ops.SerializeManySparse` when there are too large values in `sparse_shape`. HOT 2
- `Check Failed` in `tf.raw_ops.FakeQuantWithMinMaxVarsPerChannel` and `tf.quantization.fake_quant_with_min_max_vars_per_channel` when the input of `inputs` is scalar. HOT 2
- `Check failed` in `tf.raw_ops.Batch` when the value of `num_batch_threads` is too large.
- `Check failed` in `tf.raw_ops.LoadAndRemapMatrix` when the rank of `ckpt_path` is not equal to the rank of `old_tensor_name`. HOT 1
- `Segmentation fault` in `tf.raw_ops.LoadAndRemapMatrix` when the value of `num_cols` is too large while `col_remapping` is empty. HOT 3
- Some crash errors in `tf.raw_ops.RFFT3D` and `tf.signal.rfft3d` HOT 1
- `Assertion failure` in `tf.raw_ops.RFFT2D` and `tf.signal.rfft2d` when the values of `fft_length` are 0.
- `Assertion failure` in `tf.raw_ops.RFFT` and `tf.signal.rfft` when the value of `fft_length` is 0. HOT 1
- Fail to build TFLite shared library with GPU delegates HOT 4
- Conversion failure: tfl.batch_matmul "expected 3 but got 2" (regression since 2.14, worked in 2.13)
- ModuleNotFoundError: No module named 'tensorflow.compat' HOT 1
- `Segmentation fault` in `tf.raw_ops.ConjugateTranspose` when `perm` have negative values. HOT 1
- `Segmentation fault` in `tf.raw_ops.CollectiveGather` when `input` is empty.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tensorflow.