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

Install failure #40

Open
master0v opened this issue Dec 30, 2022 · 1 comment
Open

Install failure #40

master0v opened this issue Dec 30, 2022 · 1 comment

Comments

@master0v
Copy link

master0v commented Dec 30, 2022

I run sudo python3 setup.py install

I get the following:

/usr/local/lib/python3.8/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
/usr/local/lib/python3.8/dist-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
/usr/local/lib/python3.8/dist-packages/pkg_resources/__init__.py:123: PkgResourcesDeprecationWarning: 0.1.36ubuntu1 is an invalid version and will not be supported in a future release
  warnings.warn(
/usr/local/lib/python3.8/dist-packages/pkg_resources/__init__.py:123: PkgResourcesDeprecationWarning: 0.23ubuntu1 is an invalid version and will not be supported in a future release
  warnings.warn(
running bdist_egg
running egg_info
writing jetcam.egg-info/PKG-INFO
writing dependency_links to jetcam.egg-info/dependency_links.txt
writing top-level names to jetcam.egg-info/top_level.txt
reading manifest file 'jetcam.egg-info/SOURCES.txt'
adding license file 'LICENSE.md'
writing manifest file 'jetcam.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-aarch64/egg
running install_lib
running build_py
creating build/bdist.linux-aarch64/egg
creating build/bdist.linux-aarch64/egg/jetcam
copying build/lib/jetcam/csi_camera.py -> build/bdist.linux-aarch64/egg/jetcam
copying build/lib/jetcam/__init__.py -> build/bdist.linux-aarch64/egg/jetcam
copying build/lib/jetcam/usb_camera.py -> build/bdist.linux-aarch64/egg/jetcam
copying build/lib/jetcam/camera.py -> build/bdist.linux-aarch64/egg/jetcam
copying build/lib/jetcam/utils.py -> build/bdist.linux-aarch64/egg/jetcam
byte-compiling build/bdist.linux-aarch64/egg/jetcam/csi_camera.py to csi_camera.cpython-38.pyc
byte-compiling build/bdist.linux-aarch64/egg/jetcam/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-aarch64/egg/jetcam/usb_camera.py to usb_camera.cpython-38.pyc
byte-compiling build/bdist.linux-aarch64/egg/jetcam/camera.py to camera.cpython-38.pyc
byte-compiling build/bdist.linux-aarch64/egg/jetcam/utils.py to utils.cpython-38.pyc
creating build/bdist.linux-aarch64/egg/EGG-INFO
copying jetcam.egg-info/PKG-INFO -> build/bdist.linux-aarch64/egg/EGG-INFO
copying jetcam.egg-info/SOURCES.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
copying jetcam.egg-info/dependency_links.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
copying jetcam.egg-info/top_level.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist/jetcam-0.0.0-py3.8.egg' and adding 'build/bdist.linux-aarch64/egg' to it
removing 'build/bdist.linux-aarch64/egg' (and everything under it)
Processing jetcam-0.0.0-py3.8.egg
Removing /usr/lib/python3.8/site-packages/jetcam-0.0.0-py3.8.egg
Copying jetcam-0.0.0-py3.8.egg to /usr/lib/python3.8/site-packages
jetcam 0.0.0 is already the active version in easy-install.pth

Installed /usr/lib/python3.8/site-packages/jetcam-0.0.0-py3.8.egg
Processing dependencies for jetcam==0.0.0
Finished processing dependencies for jetcam==0.0.0

import jetcam returns ModuleNotFoundError: No module named 'jetcam'

What am I doing wrong?

@master0v
Copy link
Author

sudo python3 -m pip install . actually works. Need to update the instructions

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