P4D-Data-Sciences icon indicating copy to clipboard operation
P4D-Data-Sciences copied to clipboard

Compiling ThumbsUpDownPythonInstall.dproj (or other) -> dcc64 Fatal Error F2613 Unit 'TorchVision'

Open HoLue opened this issue 2 years ago • 4 comments

I'm using Embarcadero® RAD Studio 11 Version 28.0.46141.0937 I installed via GetIt Package manager in this order.:

  1. Python4Delphi
  2. PythonEnviroments
  3. Lightweight-Python-Wrappers -> Seems to be ok.

Then I installed from version control git https://github.com/Embarcadero/P4D-Data-Sciences I build and installed all components from P4D-Data-Sciences\P4DDataSciencesComponentSuite.groupproj

Then I opened PyTorchThumbsUpDown.groupproj -> ok

When I try to run: "[dcc64 Fataler Fehler] InstallForm.pas(18): F2613 Unit 'TorchVision' nicht gefunden."

Looking around, I only find *.dcu for 32 bit, for 64 I have no *.dcu files. And I cannot build the components (P4DDataSciencesComponentSuite) for 64 bit. There I get an error: [dcc64 Fataler Fehler] PyTorch.pas(17): E2213 Falsches gepacktes Unit-Format: C:\Users\Public\Documents\Embarcadero\Studio\22.0\Dcp\P4DPyPackage.dcp.PyPackage - Erwartete Version: 35.0, Windows Unicode(x64) Gefundene Version: 35.0, Windows Unicode(x86)

What can I do? Please help! (Actually it sounds very good to have the possibility to use onnx-models with c++ builder (hopefully possible through delphi)!! This will open a new universe!!

HoLue avatar Jan 12 '23 07:01 HoLue

@HoLue how have you installed these packages?

lmbelo avatar Feb 27 '23 20:02 lmbelo

@HoLue how have you installed these packages?

Yes

HoLue avatar Feb 27 '23 21:02 HoLue

No, I meant how did you installed it?

lmbelo avatar Feb 27 '23 22:02 lmbelo

No, I meant how did you installed it? As I have written at the beginning:

I installed via GetIt Package manager in this order.:

Python4Delphi
PythonEnviroments
Lightweight-Python-Wrappers
-> Seems to be ok.

Then I installed from version control git https://github.com/Embarcadero/P4D-Data-Sciences I build and installed all components from P4D-Data-Sciences\P4DDataSciencesComponentSuite.groupproj

HoLue avatar Feb 28 '23 06:02 HoLue