Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing modules #24

Open
OOkamisamachan opened this issue Oct 14, 2022 · 3 comments
Open

Installing modules #24

OOkamisamachan opened this issue Oct 14, 2022 · 3 comments
Assignees

Comments

@OOkamisamachan
Copy link

OOkamisamachan commented Oct 14, 2022

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 :

  • I've tryied both using the installer (in the install folder) and the Getit package manager and both end up in the same issue.
  • While doing a manual install of the environment/wrappers I encounter the same problem I mentioned above.
@lmbelo lmbelo self-assigned this Oct 15, 2022
@lmbelo
Copy link
Member

lmbelo commented Oct 15, 2022

I will try it.

@peardox
Copy link
Contributor

peardox commented Oct 25, 2022

@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
Copy link
Member

@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..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants