- Microsoft Windows [Version 10.0.19044.2604]
- (c) Microsoft Corporation. All rights reserved.
- C:\Users\Shawn\Desktop\beatport program>python file_creator.py
- Traceback (most recent call last):
- File "C:\Users\Shawn\Desktop\beatport program\file_creator.py", line 2, in <module>
- import openpyxl
- File "C:\Users\Shawn\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\openpyxl\__init__.py", line 4, in <module>
- from openpyxl.compat.numbers import NUMPY, PANDAS
- File "C:\Users\Shawn\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\openpyxl\compat\__init__.py", line 3, in <module>
- from .numbers import NUMERIC_TYPES
- File "C:\Users\Shawn\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\openpyxl\compat\numbers.py", line 41, in <module>
- numpy.float,
- File "C:\Users\Shawn\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\numpy\__init__.py", line 305, in __getattr__
- raise AttributeError(__former_attrs__[attr])
- AttributeError: module 'numpy' has no attribute 'float'.
- `np.float` was a deprecated alias for the builtin `float`. To avoid this error in existing code, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
- The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
- https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'cfloat'?
- C:\Users\Shawn\Desktop\beatport program>
