Как не импортировать numpy из исходного каталога? ⇐ Python
Как не импортировать numpy из исходного каталога?
I want to run a script on a Raspberry Pi Zero that collects data and saves the data in an Excel file. For this, I am using pandas. The same script worked on a Raspberry Pi model 4 B before. However now I get this Error:
numpy: Error importing numpy: you should not try to import numpy from
its source directory; please exit the numpy source tree, and relaunch
your python interpreter from there.
My script is not in the source directory of Numpy. Of course the error is caused by pandas trying to import numpy but that shouldn't be a problem anyway. The same error also occurs no matter where in the system i try to import numpy
Источник: https://stackoverflow.com/questions/781 ... -dircetory
I want to run a script on a Raspberry Pi Zero that collects data and saves the data in an Excel file. For this, I am using pandas. The same script worked on a Raspberry Pi model 4 B before. However now I get this Error:
numpy: Error importing numpy: you should not try to import numpy from
its source directory; please exit the numpy source tree, and relaunch
your python interpreter from there.
My script is not in the source directory of Numpy. Of course the error is caused by pandas trying to import numpy but that shouldn't be a problem anyway. The same error also occurs no matter where in the system i try to import numpy
Источник: https://stackoverflow.com/questions/781 ... -dircetory
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Объясните, почему numpy не следует импортировать из исходного каталога.
Anonymous » » в форуме Python - 0 Ответы
- 9 Просмотры
-
Последнее сообщение Anonymous
-
-
-
Объясните, почему numpy не следует импортировать из исходного каталога.
Anonymous » » в форуме Python - 0 Ответы
- 17 Просмотры
-
Последнее сообщение Anonymous
-