An error occurred while importing the package（m1 macbook pro)
It has been solved, it is a problem with the virtual environment
ImportError: C extension: dlopen(mach-o file, but is an incompatible architecture (have (x86_64), need (arm64e))) not built. If you want to import pandas from the source directory, you may need to run 'python setup.py build_ext --force' to build the C extensions first.
How to roslove this problem？
Thank you for your help.