The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
Cmd
By Guest on 8th March 2023 09:41:37 AM | Syntax: TEXT | Views: 1



New paste | Download | Show/Hide line no. | Copy text to clipboard
  1. Microsoft Windows [Version 10.0.19044.2604]
  2. (c) Microsoft Corporation. All rights reserved.
  3.  
  4. C:\Users\Shawn\Desktop\beatport program>python file_creator.py
  5. Traceback (most recent call last):
  6.   File "C:\Users\Shawn\Desktop\beatport program\file_creator.py", line 2, in <module>
  7.     import openpyxl
  8.   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>
  9.     from openpyxl.compat.numbers import NUMPY, PANDAS
  10.   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>
  11.     from .numbers import NUMERIC_TYPES
  12.   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>
  13.     numpy.float,
  14.   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__
  15.     raise AttributeError(__former_attrs__[attr])
  16. AttributeError: module 'numpy' has no attribute 'float'.
  17. `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.
  18. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
  19.     https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'cfloat'?
  20.  
  21. C:\Users\Shawn\Desktop\beatport program>



  • Recent Pastes