Embarcadero / P4D-Data-Sciences

A collection of lightweight Python wrappers based on Python4Delphi simplifying Data Sciences development with Delphi
MIT License
92 stars 21 forks source link

Installing modules #24

Open OOkamisamachan opened 2 years ago

OOkamisamachan commented 2 years ago

I've successfully managed to run a simple "Hello.py" program and importing numpy (PIP), but whenever I try to import matplotlib or pandas (PIP) I encounter error "AttributeError: partially initialized module ""module name"" has no attribute ""attribute name"" ( most likely due to a circular import )" where both ""module name"" and ""attribute name"" varies depending on unknown factors.

E.g. AttributeError: partially initialized module 'numpy' has no attribute 'version' (most likely due to a circular import). Did you mean: '_version'

Thus I've tryied using P4D-Data-Sciences libraries but, while able to compile, every time i right click to install the .bpl file Delphi freezes completely.

Procedure used to install P4D :

lmbelo commented 2 years ago

I will try it.

peardox commented 2 years ago

@OOkamisamachan I just wrote a highly detailed tutorial on installing all this stuff ('cos it's far from simple) - you can find it on https://peardox.com/mixing-python-and-delphi-made-easy/

Basically I'm trying to make a start on useful documentation for this suite

Priyatham10 commented 2 years ago

@peardox , We shall collaborate on this to create this useful documentation for the whole suite. I'm basically doing the same for Python side. But, let's create the official wiki pages in the repositories on various useful topics..