-
Notifications
You must be signed in to change notification settings - Fork 177
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
I met this problem when run python setup.py install #65
Comments
@s8088899 I'm also face with this issue same as you. In addition, did your computer arch tech is arm64 ? |
@s8088899 I found the solution !! use this script below instead
However, my recommendation you should copy the file name "g2o.cpython-{python-version}-{arch}.so" in g2opy/lib folder into [path-to-python-lib]/lib/python{python-version-which-you-use}/site-package |
Two solutions have gave me good results:
|
Thanks a lot!I already solve this problem by improving the network environment and virtual machine versions. |
Package is installed, but when I run |
error: Multiple top-level packages discovered in a flat-layout: ['g2o', 'lib', 'script', 'contrib', 'EXTERNAL', 'cmake_modules'].
To avoid accidental inclusion of unwanted files or directories,
setuptools will not proceed with this build.
If you are trying to create a single distribution with multiple packages
on purpose, you should not rely on automatic discovery.
Instead, consider the following options:
find
directive withinclude
orexclude
)src-layout
py_modules
orpackages
with a list of namesTo find more information, look for "package discovery" on setuptools docs.
The text was updated successfully, but these errors were encountered: