Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pynq-z1 pip3 install problem #32

Open
oycq opened this issue Oct 2, 2020 · 0 comments
Open

pynq-z1 pip3 install problem #32

oycq opened this issue Oct 2, 2020 · 0 comments

Comments

@oycq
Copy link

oycq commented Oct 2, 2020

root@pynq:/home/xilinx# ^C
root@pynq:/home/xilinx# c^C
root@pynq:/home/xilinx# ls
jupyter_notebooks pynq REVISION
root@pynq:/home/xilinx# ^C
root@pynq:/home/xilinx# cd jupyter_notebooks/
root@pynq:/home/xilinx/jupyter_notebooks# ^C
(reverse-i-search)`': ^C
root@pynq:/home/xilinx/jupyter_notebooks# sudo apt-get install python3-distutils
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-distutils is already the newest version (3.6.5-3).
0 upgraded, 0 newly installed, 0 to remove and 409 not upgraded.
root@pynq:/home/xilinx/jupyter_notebooks# sduo pi^C
root@pynq:/home/xilinx/jupyter_notebooks# sudo pip3 isntall ^C
root@pynq:/home/xilinx/jupyter_notebooks# sudo pip3 install pip install build_utils^C
root@pynq:/home/xilinx/jupyter_notebooks# sudo pip3 install build_utils
Collecting build_utils
Downloading https://files.pythonhosted.org/packages/e2/2e/ba580862ca2b0ebc208cc702019cf63aaf850794af3678cebc050f5d6d59/build_utils-0.3.2-py3-none-any.whl
Collecting nose (from build_utils)
Downloading https://files.pythonhosted.org/packages/15/d8/dd071918c040f50fa1cf80da16423af51ff8ce4a0f2399b7bf8de45ac3d9/nose-1.3.7-py3-none-any.whl (154kB)
100% |████████████████████████████████| 163kB 137kB/s
Collecting colorama (from build_utils)
Downloading https://files.pythonhosted.org/packages/c9/dc/45cdef1b4d119eb96316b3117e6d5708a08029992b2fee2c143c7a0a5cc5/colorama-0.4.3-py2.py3-none-any.whl
Collecting twine (from build_utils)
Downloading https://files.pythonhosted.org/packages/ad/db/b2c65078b783c6694bdfa0911bbbe0e2be7fcbc98ff23a99b8be544906b6/twine-3.2.0-py3-none-any.whl
Requirement already satisfied: setuptools>=0.7.0 in /usr/lib/python3/dist-packages (from twine->build_utils)
Requirement already satisfied: tqdm>=4.14 in /usr/local/lib/python3.6/dist-packages (from twine->build_utils)
Collecting importlib-metadata; python_version < "3.8" (from twine->build_utils)
Downloading https://files.pythonhosted.org/packages/6d/6d/f4bb28424bc677bce1210bc19f69a43efe823e294325606ead595211f93e/importlib_metadata-2.0.0-py2.py3-none
-any.whl
Collecting Pygments>=2.5.1 (from readme-renderer>=21.0->twine->build_utils)
Downloading https://files.pythonhosted.org/packages/d7/72/49a7db1b245c13d0e38cfdc96c1adf6e3bd16a7a0dceb7b25faa6612353b/Pygments-2.7.1-py3-none-any.whl (944k
B)
100% |████████████████████████████████| 952kB 130kB/s
Requirement already satisfied: bleach>=2.1.0 in /usr/lib/python3/dist-packages (from readme-renderer>=21.0->twine->build_utils)
Requirement already satisfied: docutils>=0.13.1 in /usr/lib/python3/dist-packages (from readme-renderer>=21.0->twine->build_utils)
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from readme-renderer>=21.0->twine->build_utils)
Collecting cryptography (from SecretStorage>=3; sys_platform == "linux"->keyring>=15.1->twine->build_utils)
Downloading https://files.pythonhosted.org/packages/5d/4b/7bb135c5787c003cdbc44990c5f41908f0f37135e0bb554e880d90fd5f6f/cryptography-3.1.1.tar.gz (534kB)
100% |████████████████████████████████| 542kB 225kB/s
Requirement already satisfied: cffi!=1.11.3,>=1.8 in /usr/lib/python3/dist-packages (from cryptography->SecretStorage>=3; sys_platform == "linux"->keyring>=15
.1->twine->build_utils)
Building wheels for collected packages: cryptography
Running setup.py bdist_wheel for cryptography ... done
Stored in directory: /root/.cache/pip/wheels/8b/a0/90/2eca49bbd2a2a2b8e9f40204387f36acddd022d1421871c13b
Successfully built cryptography
Installing collected packages: nose, colorama, zipp, importlib-metadata, requests, jeepney, cryptography, SecretStorage, keyring, pkginfo, requests-toolbelt,
rfc3986, Pygments, readme-renderer, twine, build-utils
Found existing installation: requests 2.18.4
Not uninstalling requests at /usr/lib/python3/dist-packages, outside environment /usr
Found existing installation: Pygments 2.2.0
Not uninstalling pygments at /usr/lib/python3/dist-packages, outside environment /usr
Successfully installed Pygments-2.7.1 SecretStorage-3.1.2 build-utils-0.3.2 colorama-0.4.3 cryptography-3.1.1 importlib-metadata-2.0.0 jeepney-0.4.3 keyring-2
1.4.0 nose-1.3.7 pkginfo-1.5.0.1 readme-renderer-26.0 requests-2.24.0 requests-toolbelt-0.9.1 rfc3986-1.4.0 twine-3.2.0 zipp-3.2.0
root@pynq:/home/xilinx/jupyter_notebooks# ^C
root@pynq:/home/xilinx/jupyter_notebooks# ^C
root@pynq:/home/xilinx/jupyter_notebooks# sudo pip3 install --upgrade git+https://github.com/Xilinx/PYNQ-ComputerVision.git
Collecting git+https://github.com/Xilinx/PYNQ-ComputerVision.git
Cloning https://github.com/Xilinx/PYNQ-ComputerVision.git to /tmp/pip-vmnj1qug-build
Collecting pynq>=2.3 (from pynq-cv==2.3)
Using cached https://files.pythonhosted.org/packages/9f/4e/fca584f6d0cdbb6f6ee67a7def3342af190ff0efd2226262302d2bedc0b2/pynq-2.5.4.tar.gz
Collecting cffi (from pynq>=2.3->pynq-cv==2.3)
Using cached https://files.pythonhosted.org/packages/cb/ae/380e33d621ae301770358eb11a896a34c34f30db188847a561e8e39ee866/cffi-1.14.3.tar.gz
Collecting numpy (from pynq>=2.3->pynq-cv==2.3)
Using cached https://files.pythonhosted.org/packages/bf/e8/15aea783ea72e2d4e51e3ec365e8dc4a1a32c9e5eb3a6d695b0d58e67cdd/numpy-1.19.2.zip
Collecting setuptools>=24.2.0 (from pynq>=2.3->pynq-cv==2.3)
Using cached https://files.pythonhosted.org/packages/44/a6/7fb6e8b3f4a6051e72e4e2218889351f0ee484b9ee17e995f5ccff780300/setuptools-50.3.0-py3-none-any.whl
Collecting pandas (from pynq>=2.3->pynq-cv==2.3)
Using cached https://files.pythonhosted.org/packages/64/f1/8fdbd74edfc31625d597717be8c155c6226fc72a7c954c52583ab81a8614/pandas-1.1.2.tar.gz
File "/usr/lib/python3/dist-packages/numpy/distutils/misc_util.py", line 998, in get_subpackage
caller_level = caller_level + 1)
File "/usr/lib/python3/dist-packages/numpy/distutils/misc_util.py", line 911, in _get_configuration_from_setup_py
('.py', 'U', 1))
File "/usr/lib/python3/dist-packages/numpy/compat/py3k.py", line 122, in npy_load_module
return importlib.machinery.SourceFileLoader(name, fn).load_module()
File "", line 399, in _check_name_wrapper
File "", line 823, in load_module
File "", line 682, in load_module
File "", line 265, in _load_module_shim
File "", line 684, in _load
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "numpy/core/setup.py", line 13, in
import os
ModuleNotFoundError: No module named 'numpy._build_utils'
File "/usr/lib/python3.6/contextlib.py", line 99, in exit
self.gen.throw(type, value, traceback)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 166, in save_modules
saved_exc.resume()
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 141, in resume
six.reraise(type, exc, self._tb)
File "/usr/lib/python3/dist-packages/setuptools/_vendor/six.py", line 685, in reraise
raise value.with_traceback(tb)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 154, in save_modules
yield saved
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "/usr/lib/python3/dist-packages/setuptools/sandbox.py", line 45, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-8ot617sm/numpy-1.19.2/setup.py", line 499, in
# re-compile.
File "/tmp/easy_install-8ot617sm/numpy-1.19.2/setup.py", line 491, in setup_package
if np.version < LooseVersion("1.16.0"):
File "/usr/lib/python3/dist-packages/numpy/distutils/core.py", line 135, in setup
config = configuration()
File "/tmp/easy_install-8ot617sm/numpy-1.19.2/setup.py", line 162, in configuration
- Intelligent label-based slicing, fancy indexing, and subsetting
File "/usr/lib/python3/dist-packages/numpy/distutils/misc_util.py", line 1029, in add_subpackage
caller_level = 2)
File "/usr/lib/python3/dist-packages/numpy/distutils/misc_util.py", line 998, in get_subpackage
caller_level = caller_level + 1)
File "/usr/lib/python3/dist-packages/numpy/distutils/misc_util.py", line 935, in _get_configuration_from_setup_py
config = setup_module.configuration(*args)
File "numpy/setup.py", line 8, in configuration

  File "/usr/lib/python3/dist-packages/numpy/distutils/misc_util.py", line 1029, in add_subpackage
    caller_level = 2)
  File "/usr/lib/python3/dist-packages/numpy/distutils/misc_util.py", line 998, in get_subpackage
    caller_level = caller_level + 1)
  File "/usr/lib/python3/dist-packages/numpy/distutils/misc_util.py", line 911, in _get_configuration_from_setup_py
    ('.py', 'U', 1))
  File "/usr/lib/python3/dist-packages/numpy/compat/py3k.py", line 122, in npy_load_module
    return importlib.machinery.SourceFileLoader(name, fn).load_module()
  File "<frozen importlib._bootstrap_external>", line 399, in _check_name_wrapper
  File "<frozen importlib._bootstrap_external>", line 823, in load_module
  File "<frozen importlib._bootstrap_external>", line 682, in load_module
  File "<frozen importlib._bootstrap>", line 265, in _load_module_shim
  File "<frozen importlib._bootstrap>", line 684, in _load
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "numpy/core/setup.py", line 13, in <module>
    import os
ModuleNotFoundError: No module named 'numpy._build_utils'
Cythonizing sources

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-vlxx08_f/pandas/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant