Closed limelect closed 1 year ago
Thanks for posting the issue. So, you want to build from the source. We shall reproduce the error and get back to you. Until then, try pip install delphivcl
for an easy installation.
Tried your suggestion pip install delphivcl
G:\python\DelphiVCL4Python-main>pip install delphivcl
Collecting delphivcl
Downloading https://files.pythonhosted.org/packages/02/df/a84891eb0c278e315bdd
eedc7d0ea83574fb55dea7437e686a4883893f55/delphivcl-0.1.19.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in c:\users\limelect \appdata\local\temp\pip-build-zew_nt\delphivcl\ You are using pip version 9.0.1, however version 22.3.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' comm and.
Please try the same pip install delphivcl
by getting out of that DelphiVCL4Python-main folder. It'll be installed successfully..
I do not understand in which folder am I supposed to put the source.? G:/python is NOT the python. my python is on C:\ So what you suggest is to put the source in c:\python?
tried above C:\Python\Python36-32
Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\LimElect>cd C:\Python
C:\Python>pip install delphivcl
Collecting delphivcl
Using cached https://files.pythonhosted.org/packages/02/df/a84891eb0c278e315bd
deedc7d0ea83574fb55dea7437e686a4883893f55/delphivcl-0.1.19.tar.gz
Complete output from command python setup.py egginfo:
Traceback (most recent call last):
File "
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in c:\users\limelect \appdata\local\temp\pip-build-cm92fq\delphivcl\ You are using pip version 9.0.1, however version 22.3.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' comm and.
C:\Python>
What a directory has to do with install?
As you already tried installing from the source using setup.py, when you install it in the repository directory, it installs from the repository's setup file instead of the remote pip wheel file. Please create a new conda environment and try to install directly using pip install delphivcl
without downloading the repository zip file..
Sorry I am a Delphi developer and I am not aware of "conda environment " If it will not be strait forward I will give up. P.S I have installed already some other packages with guiPY with no problems thanks
Installing conda is very straight-forward. Go to this link: https://docs.conda.io/en/latest/miniconda.html#latest-miniconda-installer-links to download the installer. Go to https://conda.io/projects/conda/en/stable/user-guide/install/index.html#regular-installation for Installation instructions for OS platform of your choice.
Finally checkout their cheatsheet to create new "conda environments" at: https://conda.io/projects/conda/en/stable/user-guide/cheatsheet.html
Thanks
well i decided to wait for a fix
Please, share which Python version and O.S. you are using.
Working fine here:
You are attempting to install an old cached version. You must install the latest one.
Python 3.6.3 i can't update since i use window 7 and not going to change
For some reason, I am not notified of response
You can try it on Python 3.7 onward.
I already checked on this page all need above window 7 https://www.python.org/downloads/windows/ And Python 3.7 do not have an installation If you know of one that I can download with the installation P.S I do not understand the fundamental problem that Delphi need command line see my first problem
Sorry, I just reviewed your post and I see that you're using a cached version (old version) of Delphi VCL. Try to reinstall it to the latest version.
Old version is D10.2.3 OLD? Am I to buy a new Delphi? I still do not get it What has setup.py to do with Delphi? I cannot install your PYTHON software
!9.07.2022 the time i down loaded
It was my Python version. Now I have ver 3.8 for window 7
Fixed
I run setup.py with guiPY I have this error for instalation
C:\Python\Python36-32\lib\distutils\dist.py:261: UserWarning: Unknown distribution option: 'license_files' warnings.warn(msg) usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help
error: no commands supplied
could not find any info what to put in command line
ALSO TRIED python setup.py install
Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\LimElect>cd G:\python\DelphiVCL4Python-main
C:\Users\LimElect>g:
G:\python\DelphiVCL4Python-main>python setup.py install File "setup.py", line 23 retvalue = exec(opffilecontents, gbals, lcals) ^ SyntaxError: invalid syntax
G:\python\DelphiVCL4Python-main>