[Solved] OSError… setuptools pip wheel failed with error code 1

2023/05/08 5:07

Error

New python executable in /Users/user/tensorflow/bin/python

Installing setuptools, pip, wheel…

Complete output from command /Users/user/tensorflow/bin/python – setuptools pip wheel:

Traceback (most recent call last):

File “<stdin>”, line 4, in <module>

File “/Applications/anaconda2/anaconda/lib/python2.7/tempfile.py”, line 32, in <module>

import io as _io

File “/Applications/anaconda2/anaconda/lib/python2.7/io.py”, line 51, in <module>

import _io

ImportError: dlopen(/Users/user/tensorflow/lib/python2.7/lib-dynload/_io.so, 2): Symbol not found: __PyCodecInfo_GetIncrementalDecoder

Referenced from: /Users/user/tensorflow/lib/python2.7/lib-dynload/_io.so

Expected in: dynamic lookup

 

—————————————-

…Installing setuptools, pip, wheel…done.

Traceback (most recent call last):

File “/Applications/anaconda2/anaconda/bin/virtualenv”, line 11, in <module>

sys.exit(main())

File “/Applications/anaconda2/anaconda/lib/python2.7/site-packages/virtualenv.py”, line 708, in main

symlink=options.symlink)

File “/Applications/anaconda2/anaconda/lib/python2.7/site-packages/virtualenv.py”, line 941, in create_environment

download=download,

File “/Applications/anaconda2/anaconda/lib/python2.7/site-packages/virtualenv.py”, line 897, in install_wheel

call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)

File “/Applications/anaconda2/anaconda/lib/python2.7/site-packages/virtualenv.py”, line 792, in call_subprocess

% (cmd_desc, proc.returncode))

OSError: Command /Users/user/tensorflow/bin/python – setuptools pip wheel failed with error code 1

Solution

pending

Leave a Reply

Back to top