-
Notifications
You must be signed in to change notification settings - Fork 37
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 error on windows #136
Comments
Sorry, I don't have access to any Windows machines, so I don't really have a way to troubleshoot this. Maybe try |
I've tried all suggested ways of installing it and I still getting the same error. I've also tried to install the package LSSTDESC.Coord alone and I get the same error. Anyways, I appreciate your attention. |
Same issue here. conda-org does not have windows package and all other methods of installation fail with the error above. This is error from installation of dependency - LSSTDESC.Coord - package. It would be great if someone with more experience could test Windows installation and figure out why we cannot install this. |
I'd be happy to take a PR from someone who can fix this. But I don't have access to a Windows machine to work on it myself. |
Note also, that the right place for this issue (and any concomitant PR) appears to be on LSSTDESC.Coord, not TreeCorr. https://github.com/LSSTDESC/Coord |
I've been slowly tinkering on this using the GitHub actions machines to test the Windows installation and running. I think things are working now. If you want to try it out, use cf. #143 for more details if you're interested. |
Thank you. I tried to install using the comand you suggested and I get this
C:\Users\bareb>pip install git+
***@***.***
Collecting ***@***.***
Cloning https://github.com/rmjarvis/TreeCorr.git (to revision windows) to
c:\users\bareb\appdata\local\temp\pip-req-build-swooqt4c
ERROR: Error [WinError 2] O sistema não pode encontrar o arquivo
especificado while executing command git version
ERROR: Cannot find command 'git' - do you have 'git' installed and in your
PATH?
Em sáb., 28 de mai. de 2022 às 16:35, Mike Jarvis ***@***.***>
escreveu:
… I've been slowly tinkering on this using the GitHub actions machines to
test the Windows installation and running. I think things are working now.
If you want to try it out, use pip install git+
***@***.*** and let me know if
everything seems to be working. If it works for you, these changes will
become part of the next regular release.
cf. #143 <#143> for more details
if you're interested.
—
Reply to this email directly, view it on GitHub
<#136 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXCFH2MDXU2SAHAG42FS7H3VMJYPLANCNFSM5K3D2Z6A>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Bruno Leal Dias
Doutorando em Astronomia
Observatório Nacional/MCTI
Rua G. José Cristino, 77, São Cristóvão
20.921-400 Rio de Janeiro - RJ
DIPPG, Sala 2, Ramal 9172
+55 48 9 8425 0347
|
As the message says, you need to install git. cf. https://stackoverflow.com/questions/29565779/cannot-find-command-git-windows
|
Hello. Thank you. I just successfully installed git as you suggested. Then
I tried to install treecorr again using pip install git+
***@***.*** and I got this error:
pip install ***@***.***
Collecting ***@***.***
Cloning https://github.com/rmjarvis/TreeCorr.git (to revision windows) to
c:\users\usuario\appdata\local\temp\pip-req-build-9ajy6_f0
Resolved https://github.com/rmjarvis/TreeCorr.git to commit
8d6d7db
Requirement already satisfied: numpy in
c:\users\usuario\anaconda3\lib\site-packages (from TreeCorr==4.3) (1.20.3)
Requirement already satisfied: cffi in
c:\users\usuario\anaconda3\lib\site-packages (from TreeCorr==4.3) (1.14.6)
Requirement already satisfied: pyyaml in
c:\users\usuario\anaconda3\lib\site-packages (from TreeCorr==4.3) (6.0)
Collecting LSSTDESC.Coord>=1.1
Downloading LSSTDESC.Coord-1.2.3.tar.gz (48 kB)
Requirement already satisfied: future in
c:\users\usuario\anaconda3\lib\site-packages (from
LSSTDESC.Coord>=1.1->TreeCorr==4.3) (0.18.2)
Requirement already satisfied: pycparser in
c:\users\usuario\anaconda3\lib\site-packages (from cffi->TreeCorr==4.3)
(2.20)
Building wheels for collected packages: TreeCorr, LSSTDESC.Coord
Building wheel for TreeCorr (setup.py): started
Building wheel for TreeCorr (setup.py): finished with status 'error'
Running setup.py clean for TreeCorr
Building wheel for LSSTDESC.Coord (setup.py): started
Building wheel for LSSTDESC.Coord (setup.py): finished with status 'error'
Running setup.py clean for LSSTDESC.Coord
Failed to build TreeCorr LSSTDESC.Coord
Installing collected packages: LSSTDESC.Coord, TreeCorr
Running setup.py install for LSSTDESC.Coord: started
Running setup.py install for LSSTDESC.Coord: finished with status
'error'
Note: you may need to restart the kernel to use updated packages.
Running command git clone -q https://github.com/rmjarvis/TreeCorr.git
'C:\Users\usuario\AppData\Local\Temp\pip-req-build-9ajy6_f0'
Running command git checkout -b windows --track origin/windows
Branch 'windows' set up to track remote branch 'windows' from 'origin'.
Switched to a new branch 'windows'
ERROR: Command errored out with exit status 1:
command: 'C:\Users\usuario\anaconda3\python.exe' -u -c 'import io, os,
sys, setuptools, tokenize; sys.argv[0] =
'"'"'C:\\Users\\usuario\\AppData\\Local\\Temp\\pip-req-build-9ajy6_f0\\setup.py'"'"';
__file__='"'"'C:\\Users\\usuario\\AppData\\Local\\Temp\\pip-req-build-9ajy6_f0\\setup.py'"'"';f
= getattr(tokenize, '"'"'open'"'"', open)(__file__) if
os.path.exists(__file__) else io.StringIO('"'"'from setuptools import
setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
bdist_wheel -d 'C:\Users\usuario\AppData\Local\Temp\pip-wheel-rsb1eyoa'
cwd: C:\Users\usuario\AppData\Local\Temp\pip-req-build-9ajy6_f0\
Complete output (33 lines):
Using setuptools version 58.0.4
Python version = 3.9.7 (default, Sep 16 2021, 16:59:28) [MSC v.1916 64
bit (AMD64)]
TreeCorr version is 4.3
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
creating build\lib.win-amd64-3.9\treecorr
copying treecorr\binnedcorr2.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\binnedcorr3.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\catalog.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\config.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\corr2.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\corr3.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\field.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\ggcorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\gggcorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\kgcorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\kkcorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\kkkcorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\ngcorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\nkcorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\nncorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\nnncorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\reader.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\util.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\writer.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\_version.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\__init__.py -> build\lib.win-amd64-3.9\treecorr
running build_ext
building 'treecorr._treecorr' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with
"Microsoft C++ Build Tools":
https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Failed building wheel for TreeCorr
ERROR: Command errored out with exit status 1:
command: 'C:\Users\usuario\anaconda3\python.exe' -u -c 'import io, os,
sys, setuptools, tokenize; sys.argv[0] =
'"'"'C:\\Users\\usuario\\AppData\\Local\\Temp\\pip-install-hdn0k8bf\\lsstdesc-coord_2f11c9a91a7744428375ed0385da5792\\setup.py'"'"';
__file__='"'"'C:\\Users\\usuario\\AppData\\Local\\Temp\\pip-install-hdn0k8bf\\lsstdesc-coord_2f11c9a91a7744428375ed0385da5792\\setup.py'"'"';f
= getattr(tokenize, '"'"'open'"'"', open)(__file__) if
os.path.exists(__file__) else io.StringIO('"'"'from setuptools import
setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
bdist_wheel -d 'C:\Users\usuario\AppData\Local\Temp\pip-wheel-payi351p'
cwd:
C:\Users\usuario\AppData\Local\Temp\pip-install-hdn0k8bf\lsstdesc-coord_2f11c9a91a7744428375ed0385da5792\
Complete output (21 lines):
Python version = 3.9.7 (default, Sep 16 2021, 16:59:28) [MSC v.1916 64
bit (AMD64)]
sources = ['src\\Angle.cpp', 'src\\windows.cpp']
headers = ['include\\Angle_C.h']
Coord version is 1.2.3
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
creating build\lib.win-amd64-3.9\coord
copying coord\angle.py -> build\lib.win-amd64-3.9\coord
copying coord\angleunit.py -> build\lib.win-amd64-3.9\coord
copying coord\celestial.py -> build\lib.win-amd64-3.9\coord
copying coord\util.py -> build\lib.win-amd64-3.9\coord
copying coord\_version.py -> build\lib.win-amd64-3.9\coord
copying coord\__init__.py -> build\lib.win-amd64-3.9\coord
creating build\lib.win-amd64-3.9\coord\include
copying coord\include\Angle_C.h -> build\lib.win-amd64-3.9\coord\include
running build_ext
building 'coord._coord' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with
"Microsoft C++ Build Tools":
https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Failed building wheel for LSSTDESC.Coord
ERROR: Command errored out with exit status 1:
command: 'C:\Users\usuario\anaconda3\python.exe' -u -c 'import io, os,
sys, setuptools, tokenize; sys.argv[0] =
'"'"'C:\\Users\\usuario\\AppData\\Local\\Temp\\pip-install-hdn0k8bf\\lsstdesc-coord_2f11c9a91a7744428375ed0385da5792\\setup.py'"'"';
__file__='"'"'C:\\Users\\usuario\\AppData\\Local\\Temp\\pip-install-hdn0k8bf\\lsstdesc-coord_2f11c9a91a7744428375ed0385da5792\\setup.py'"'"';f
= getattr(tokenize, '"'"'open'"'"', open)(__file__) if
os.path.exists(__file__) else io.StringIO('"'"'from setuptools import
setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
install --record
'C:\Users\usuario\AppData\Local\Temp\pip-record-3liuk_g4\install-record.txt'
--single-version-externally-managed --compile --install-headers
'C:\Users\usuario\anaconda3\Include\LSSTDESC.Coord'
cwd:
C:\Users\usuario\AppData\Local\Temp\pip-install-hdn0k8bf\lsstdesc-coord_2f11c9a91a7744428375ed0385da5792\
Complete output (21 lines):
Python version = 3.9.7 (default, Sep 16 2021, 16:59:28) [MSC v.1916 64
bit (AMD64)]
sources = ['src\\Angle.cpp', 'src\\windows.cpp']
headers = ['include\\Angle_C.h']
Coord version is 1.2.3
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
creating build\lib.win-amd64-3.9\coord
copying coord\angle.py -> build\lib.win-amd64-3.9\coord
copying coord\angleunit.py -> build\lib.win-amd64-3.9\coord
copying coord\celestial.py -> build\lib.win-amd64-3.9\coord
copying coord\util.py -> build\lib.win-amd64-3.9\coord
copying coord\_version.py -> build\lib.win-amd64-3.9\coord
copying coord\__init__.py -> build\lib.win-amd64-3.9\coord
creating build\lib.win-amd64-3.9\coord\include
copying coord\include\Angle_C.h -> build\lib.win-amd64-3.9\coord\include
running build_ext
building 'coord._coord' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with
"Microsoft C++ Build Tools":
https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Command errored out with exit status 1:
'C:\Users\usuario\anaconda3\python.exe' -u -c 'import io, os, sys,
setuptools, tokenize; sys.argv[0] =
'"'"'C:\\Users\\usuario\\AppData\\Local\\Temp\\pip-install-hdn0k8bf\\lsstdesc-coord_2f11c9a91a7744428375ed0385da5792\\setup.py'"'"';
__file__='"'"'C:\\Users\\usuario\\AppData\\Local\\Temp\\pip-install-hdn0k8bf\\lsstdesc-coord_2f11c9a91a7744428375ed0385da5792\\setup.py'"'"';f
= getattr(tokenize, '"'"'open'"'"', open)(__file__) if
os.path.exists(__file__) else io.StringIO('"'"'from setuptools import
setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
install --record
'C:\Users\usuario\AppData\Local\Temp\pip-record-3liuk_g4\install-record.txt'
--single-version-externally-managed --compile --install-headers
'C:\Users\usuario\anaconda3\Include\LSSTDESC.Coord' Check the logs for full
command output.
Em dom., 29 de mai. de 2022 às 11:57, Mike Jarvis ***@***.***>
escreveu:
… As the message says, you need to install git. cf.
https://stackoverflow.com/questions/29565779/cannot-find-command-git-windows
On May 28, 2022, 10:53 PM, at 10:53 PM, brunolealdias ***@***.***> wrote:
>Thank you. I tried to install using the comand you suggested and I get
>this
>
>C:\Users\bareb>pip install git+
>***@***.***
>Collecting ***@***.***
>Cloning https://github.com/rmjarvis/TreeCorr.git (to revision windows)
>to
>c:\users\bareb\appdata\local\temp\pip-req-build-swooqt4c
> ERROR: Error [WinError 2] O sistema não pode encontrar o arquivo
>especificado while executing command git version
>ERROR: Cannot find command 'git' - do you have 'git' installed and in
>your
>PATH?
>
>
>Em sáb., 28 de mai. de 2022 às 16:35, Mike Jarvis ***@***.***>
>escreveu:
>
>> I've been slowly tinkering on this using the GitHub actions machines
>to
>> test the Windows installation and running. I think things are working
>now.
>>
>> If you want to try it out, use pip install git+
>> ***@***.*** and let me know if
>> everything seems to be working. If it works for you, these changes
>will
>> become part of the next regular release.
>>
>> cf. #143 <#143> for more
>details
>> if you're interested.
>>
>> —
>> Reply to this email directly, view it on GitHub
>>
><#136 (comment)
>,
>> or unsubscribe
>>
><
https://github.com/notifications/unsubscribe-auth/AXCFH2MDXU2SAHAG42FS7H3VMJYPLANCNFSM5K3D2Z6A
>
>> .
>> You are receiving this because you authored the thread.Message ID:
>> ***@***.***>
>>
>
>
>--
>Bruno Leal Dias
>Doutorando em Astronomia
>Observatório Nacional/MCTI
>Rua G. José Cristino, 77, São Cristóvão
>20.921-400 Rio de Janeiro - RJ
>DIPPG, Sala 2, Ramal 9172
>+55 48 9 8425 0347
>
>
>--
>Reply to this email directly or view it on GitHub:
>#136 (comment)
>You are receiving this because you commented.
>
>Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub
<#136 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXCFH2P4DOUHJJXKV3CQH5DVMOAWVANCNFSM5K3D2Z6A>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Bruno Leal Dias
Doutorando em Astronomia
Observatório Nacional/MCTI
Rua G. José Cristino, 77, São Cristóvão
20.921-400 Rio de Janeiro - RJ
DIPPG, Sala 2, Ramal 9172
+55 48 9 8425 0347
|
OK. So did you try upgrading your build tools, like it said? I believe GitHub's machine is using 14.32.31326. cf. https://github.com/rmjarvis/TreeCorr/runs/6616992268?check_suite_focus=true |
You say this: Microsoft Visual C++ 14.0 or greater is required. Get it with
"Microsoft C++ Build Tools":
https://visualstudio.microsoft.com/visual-cpp-build-tools/ ?
II tried to install microsoft studio more than once before and I keep
geting errors when I try to install Treecorr. It seems to have something to
do with the LSSTDESC.Cord package.
I will going to try again and I let you know.
Thank you.
Em ter., 31 de mai. de 2022 às 14:53, Mike Jarvis ***@***.***>
escreveu:
… OK. So did you try upgrading your build tools, like it said? I believe
GitHub's machine is using 14.32.31326. cf.
https://github.com/rmjarvis/TreeCorr/runs/6616992268?check_suite_focus=true
—
Reply to this email directly, view it on GitHub
<#136 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXCFH2KJ6AEKXJ5M6FD7VVTVMZGZFANCNFSM5K3D2Z6A>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Bruno Leal Dias
Doutorando em Astronomia
Observatório Nacional/MCTI
Rua G. José Cristino, 77, São Cristóvão
20.921-400 Rio de Janeiro - RJ
DIPPG, Sala 2, Ramal 9172
+55 48 9 8425 0347
|
I can't help you with installing things on Windows. I just know that it worked using the GitHub Actions "windows-latest" system, which as far as I can tell seems to be using build tools 14.32.31326. So if you can manage to install that, then I think it should work. This applies to both Coord and TreeCorr. |
*I have instaled everything, git and microsoft visual studio build tools,
and now I get this error when I try to install TreeCorr directly in spyder
editor:*
pip install TreeCorr
Collecting TreeCorr
Using cached TreeCorr-4.2.8.tar.gz (794 kB)
Requirement already satisfied: numpy in
c:\users\usuario\anaconda3\lib\site-packages (from TreeCorr) (1.20.3)
Requirement already satisfied: cffi in
c:\users\usuario\anaconda3\lib\site-packages (from TreeCorr) (1.14.6)
Requirement already satisfied: pyyaml in
c:\users\usuario\anaconda3\lib\site-packages (from TreeCorr) (6.0)
Collecting LSSTDESC.Coord>=1.1
Using cached LSSTDESC.Coord-1.2.3.tar.gz (48 kB)
Requirement already satisfied: future in
c:\users\usuario\anaconda3\lib\site-packages (from
LSSTDESC.Coord>=1.1->TreeCorr) (0.18.2)
Requirement already satisfied: pycparser in
c:\users\usuario\anaconda3\lib\site-packages (from cffi->TreeCorr) (2.20)
Building wheels for collected packages: TreeCorr, LSSTDESC.Coord
Building wheel for TreeCorr (setup.py): started
Building wheel for TreeCorr (setup.py): finished with status 'error'
Running setup.py clean for TreeCorr
Building wheel for LSSTDESC.Coord (setup.py): started
Building wheel for LSSTDESC.Coord (setup.py): finished with status 'done'
Created wheel for LSSTDESC.Coord:
filename=LSSTDESC.Coord-1.2.3-cp39-cp39-win_amd64.whl size=33827
sha256=6b138444c966fd7ead5d7f6fe0226857611b9f4f42cb34c9753c9b6809fc37fa
Stored in directory:
c:\users\usuario\appdata\local\pip\cache\wheels\d5\2a\da\7d47a0ca3f1a0240b3d9de8db24c60fda128c264586015d2bb
Successfully built LSSTDESC.Coord
Failed to build TreeCorr
Installing collected packages: LSSTDESC.Coord, TreeCorr
Running setup.py install for TreeCorr: started
Running setup.py install for TreeCorr: finished with status 'error'
Note: you may need to restart the kernel to use updated packages.
ERROR: Command errored out with exit status 1:
command: 'C:\Users\usuario\anaconda3\python.exe' -u -c 'import io, os,
sys, setuptools, tokenize; sys.argv[0] =
'"'"'C:\\Users\\usuario\\AppData\\Local\\Temp\\pip-install-3u1f3gjz\\treecorr_b45c5d19a1ef4608832452cde8bec7d7\\setup.py'"'"';
__file__='"'"'C:\\Users\\usuario\\AppData\\Local\\Temp\\pip-install-3u1f3gjz\\treecorr_b45c5d19a1ef4608832452cde8bec7d7\\setup.py'"'"';f
= getattr(tokenize, '"'"'open'"'"', open)(__file__) if
os.path.exists(__file__) else io.StringIO('"'"'from setuptools import
setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
bdist_wheel -d 'C:\Users\usuario\AppData\Local\Temp\pip-wheel-23w5o9um'
cwd:
C:\Users\usuario\AppData\Local\Temp\pip-install-3u1f3gjz\treecorr_b45c5d19a1ef4608832452cde8bec7d7\
Complete output (88 lines):
Using setuptools version 58.0.4
Python version = 3.9.7 (default, Sep 16 2021, 16:59:28) [MSC v.1916 64
bit (AMD64)]
TreeCorr version is 4.2.8
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
creating build\lib.win-amd64-3.9\treecorr
copying treecorr\binnedcorr2.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\binnedcorr3.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\catalog.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\config.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\corr2.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\corr3.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\field.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\ggcorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\gggcorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\kgcorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\kkcorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\kkkcorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\ngcorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\nkcorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\nncorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\nnncorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\reader.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\util.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\_version.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\__init__.py -> build\lib.win-amd64-3.9\treecorr
creating build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\BinnedCorr2.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\BinnedCorr2_C.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\BinnedCorr3.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\BinnedCorr3_C.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\BinType.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\BinType_C.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Bounds.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Cell.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\dbg.h -> build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Field.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Field_C.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Metric.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Metric_C.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\PairCell.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Position.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Position_C.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Process2.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Process3.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\ProjectHelper.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Split.h ->
build\lib.win-amd64-3.9\treecorr\include
running build_ext
Traceback (most recent call last):
File "<string>", line 1, in <module>
File
"C:\Users\usuario\AppData\Local\Temp\pip-install-3u1f3gjz\treecorr_b45c5d19a1ef4608832452cde8bec7d7\setup.py",
line 579, in <module>
dist = setup(
File
"C:\Users\usuario\anaconda3\lib\site-packages\setuptools\__init__.py", line
153, in setup
return distutils.core.setup(**attrs)
File "C:\Users\usuario\anaconda3\lib\distutils\core.py", line 148, in
setup
dist.run_commands()
File "C:\Users\usuario\anaconda3\lib\distutils\dist.py", line 966, in
run_commands
self.run_command(cmd)
File "C:\Users\usuario\anaconda3\lib\distutils\dist.py", line 985, in
run_command
cmd_obj.run()
File
"C:\Users\usuario\anaconda3\lib\site-packages\wheel\bdist_wheel.py", line
299, in run
self.run_command('build')
File "C:\Users\usuario\anaconda3\lib\distutils\cmd.py", line 313, in
run_command
self.distribution.run_command(command)
File "C:\Users\usuario\anaconda3\lib\distutils\dist.py", line 985, in
run_command
cmd_obj.run()
File "C:\Users\usuario\anaconda3\lib\distutils\command\build.py", line
135, in run
self.run_command(cmd_name)
File "C:\Users\usuario\anaconda3\lib\distutils\cmd.py", line 313, in
run_command
self.distribution.run_command(command)
File "C:\Users\usuario\anaconda3\lib\distutils\dist.py", line 985, in
run_command
cmd_obj.run()
File
"C:\Users\usuario\anaconda3\lib\site-packages\setuptools\command\build_ext.py",
line 79, in run
_build_ext.run(self)
File
"C:\Users\usuario\anaconda3\lib\site-packages\Cython\Distutils\old_build_ext.py",
line 186, in run
_build_ext.build_ext.run(self)
File "C:\Users\usuario\anaconda3\lib\distutils\command\build_ext.py",
line 340, in run
self.build_extensions()
File
"C:\Users\usuario\AppData\Local\Temp\pip-install-3u1f3gjz\treecorr_b45c5d19a1ef4608832452cde8bec7d7\setup.py",
line 525, in build_extensions
cflags, lflags = fix_compiler(self.compiler)
File
"C:\Users\usuario\AppData\Local\Temp\pip-install-3u1f3gjz\treecorr_b45c5d19a1ef4608832452cde8bec7d7\setup.py",
line 479, in fix_compiler
comp_type = get_compiler_type(compiler, output=True)
File
"C:\Users\usuario\AppData\Local\Temp\pip-install-3u1f3gjz\treecorr_b45c5d19a1ef4608832452cde8bec7d7\setup.py",
line 82, in get_compiler_type
cc = compiler.compiler_so[0]
AttributeError: 'MSVCCompiler' object has no attribute 'compiler_so'
----------------------------------------
ERROR: Failed building wheel for TreeCorr
ERROR: Command errored out with exit status 1:
command: 'C:\Users\usuario\anaconda3\python.exe' -u -c 'import io, os,
sys, setuptools, tokenize; sys.argv[0] =
'"'"'C:\\Users\\usuario\\AppData\\Local\\Temp\\pip-install-3u1f3gjz\\treecorr_b45c5d19a1ef4608832452cde8bec7d7\\setup.py'"'"';
__file__='"'"'C:\\Users\\usuario\\AppData\\Local\\Temp\\pip-install-3u1f3gjz\\treecorr_b45c5d19a1ef4608832452cde8bec7d7\\setup.py'"'"';f
= getattr(tokenize, '"'"'open'"'"', open)(__file__) if
os.path.exists(__file__) else io.StringIO('"'"'from setuptools import
setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
install --record
'C:\Users\usuario\AppData\Local\Temp\pip-record-0v8m0dgq\install-record.txt'
--single-version-externally-managed --compile --install-headers
'C:\Users\usuario\anaconda3\Include\TreeCorr'
cwd:
C:\Users\usuario\AppData\Local\Temp\pip-install-3u1f3gjz\treecorr_b45c5d19a1ef4608832452cde8bec7d7\
Complete output (90 lines):
Using setuptools version 58.0.4
Python version = 3.9.7 (default, Sep 16 2021, 16:59:28) [MSC v.1916 64
bit (AMD64)]
TreeCorr version is 4.2.8
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
creating build\lib.win-amd64-3.9\treecorr
copying treecorr\binnedcorr2.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\binnedcorr3.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\catalog.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\config.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\corr2.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\corr3.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\field.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\ggcorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\gggcorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\kgcorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\kkcorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\kkkcorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\ngcorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\nkcorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\nncorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\nnncorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\reader.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\util.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\_version.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\__init__.py -> build\lib.win-amd64-3.9\treecorr
creating build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\BinnedCorr2.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\BinnedCorr2_C.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\BinnedCorr3.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\BinnedCorr3_C.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\BinType.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\BinType_C.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Bounds.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Cell.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\dbg.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Field.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Field_C.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Metric.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Metric_C.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\PairCell.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Position.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Position_C.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Process2.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Process3.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\ProjectHelper.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Split.h ->
build\lib.win-amd64-3.9\treecorr\include
running build_ext
Traceback (most recent call last):
File "<string>", line 1, in <module>
File
"C:\Users\usuario\AppData\Local\Temp\pip-install-3u1f3gjz\treecorr_b45c5d19a1ef4608832452cde8bec7d7\setup.py",
line 579, in <module>
dist = setup(
File
"C:\Users\usuario\anaconda3\lib\site-packages\setuptools\__init__.py", line
153, in setup
return distutils.core.setup(**attrs)
File "C:\Users\usuario\anaconda3\lib\distutils\core.py", line 148, in
setup
dist.run_commands()
File "C:\Users\usuario\anaconda3\lib\distutils\dist.py", line 966, in
run_commands
self.run_command(cmd)
File "C:\Users\usuario\anaconda3\lib\distutils\dist.py", line 985, in
run_command
cmd_obj.run()
File
"C:\Users\usuario\anaconda3\lib\site-packages\setuptools\command\install.py",
line 61, in run
return orig.install.run(self)
File "C:\Users\usuario\anaconda3\lib\distutils\command\install.py",
line 546, in run
self.run_command('build')
File "C:\Users\usuario\anaconda3\lib\distutils\cmd.py", line 313, in
run_command
self.distribution.run_command(command)
File "C:\Users\usuario\anaconda3\lib\distutils\dist.py", line 985, in
run_command
cmd_obj.run()
File "C:\Users\usuario\anaconda3\lib\distutils\command\build.py",
line 135, in run
self.run_command(cmd_name)
File "C:\Users\usuario\anaconda3\lib\distutils\cmd.py", line 313, in
run_command
self.distribution.run_command(command)
File "C:\Users\usuario\anaconda3\lib\distutils\dist.py", line 985, in
run_command
cmd_obj.run()
File
"C:\Users\usuario\anaconda3\lib\site-packages\setuptools\command\build_ext.py",
line 79, in run
_build_ext.run(self)
File
"C:\Users\usuario\anaconda3\lib\site-packages\Cython\Distutils\old_build_ext.py",
line 186, in run
_build_ext.build_ext.run(self)
File "C:\Users\usuario\anaconda3\lib\distutils\command\build_ext.py",
line 340, in run
self.build_extensions()
File
"C:\Users\usuario\AppData\Local\Temp\pip-install-3u1f3gjz\treecorr_b45c5d19a1ef4608832452cde8bec7d7\setup.py",
line 525, in build_extensions
cflags, lflags = fix_compiler(self.compiler)
File
"C:\Users\usuario\AppData\Local\Temp\pip-install-3u1f3gjz\treecorr_b45c5d19a1ef4608832452cde8bec7d7\setup.py",
line 479, in fix_compiler
comp_type = get_compiler_type(compiler, output=True)
File
"C:\Users\usuario\AppData\Local\Temp\pip-install-3u1f3gjz\treecorr_b45c5d19a1ef4608832452cde8bec7d7\setup.py",
line 82, in get_compiler_type
cc = compiler.compiler_so[0]
AttributeError: 'MSVCCompiler' object has no attribute 'compiler_so'
----------------------------------------
ERROR: Command errored out with exit status 1:
'C:\Users\usuario\anaconda3\python.exe' -u -c 'import io, os, sys,
setuptools, tokenize; sys.argv[0] =
'"'"'C:\\Users\\usuario\\AppData\\Local\\Temp\\pip-install-3u1f3gjz\\treecorr_b45c5d19a1ef4608832452cde8bec7d7\\setup.py'"'"';
__file__='"'"'C:\\Users\\usuario\\AppData\\Local\\Temp\\pip-install-3u1f3gjz\\treecorr_b45c5d19a1ef4608832452cde8bec7d7\\setup.py'"'"';f
= getattr(tokenize, '"'"'open'"'"', open)(__file__) if
os.path.exists(__file__) else io.StringIO('"'"'from setuptools import
setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
install --record
'C:\Users\usuario\AppData\Local\Temp\pip-record-0v8m0dgq\install-record.txt'
--single-version-externally-managed --compile --install-headers
'C:\Users\usuario\anaconda3\Include\TreeCorr' Check the logs for full
command output.
*When I try to import TreeCorr after that I get an error wich says:*
ModuleNotFoundError: No module named 'TreeCorr'
Em ter., 31 de mai. de 2022 às 21:03, Mike Jarvis ***@***.***>
escreveu:
… I can't help you with installing things on Windows. I just know that it
worked using the GitHub Actions "windows-latest" system, which as far as I
can tell seems to be using build tools 14.32.31326. So if you can manage to
install that, then I think it should work. This applies to both Coord and
TreeCorr.
—
Reply to this email directly, view it on GitHub
<#136 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXCFH2KPQSUL5EUWPJOYBU3VM2SEFANCNFSM5K3D2Z6A>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Bruno Leal Dias
Doutorando em Astronomia
Observatório Nacional/MCTI
Rua G. José Cristino, 77, São Cristóvão
20.921-400 Rio de Janeiro - RJ
DIPPG, Sala 2, Ramal 9172
+55 48 9 8425 0347
|
*I have installed successfully when I use the microsoft visual studio
compiler in the git's text editor:*
***@***.*** MINGW64 ~
$ pip install ***@***.***
Collecting ***@***.***
Cloning https://github.com/rmjarvis/TreeCorr.git (to revision windows) to
c:\u
sers\usuario\appdata\local\temp\pip-req-build-1gorg7mo
Running command git clone --filter=blob:none --quiet
https://github.com/rmjarv
is/TreeCorr.git 'C:\Users\usuario\AppData\Local\Temp\pip-req-build-1gorg7mo'
Running command git checkout -b windows --track origin/windows
branch 'windows' set up to track 'origin/windows'.
Switched to a new branch 'windows'
Resolved https://github.com/rmjarvis/TreeCorr.git to commit
8d6d7db
688fbe7ce14a4ed74c380b
Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy in
c:\users\usuario\appdata\local\programs\
python\python310\lib\site-packages (from TreeCorr==4.3) (1.22.3)
Requirement already satisfied: cffi in
c:\users\usuario\appdata\local\programs\p
ython\python310\lib\site-packages (from TreeCorr==4.3) (1.15.0)
Requirement already satisfied: pyyaml in
c:\users\usuario\appdata\local\programs
\python\python310\lib\site-packages (from TreeCorr==4.3) (6.0)
Collecting LSSTDESC.Coord>=1.1
Using cached LSSTDESC.Coord-1.2.3.tar.gz (48 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: future in
c:\users\usuario\appdata\local\programs
\python\python310\lib\site-packages (from
LSSTDESC.Coord>=1.1->TreeCorr==4.3) (0
.18.2)
Requirement already satisfied: pycparser in
c:\users\usuario\appdata\local\progr
ams\python\python310\lib\site-packages (from cffi->TreeCorr==4.3) (2.21)
Using legacy 'setup.py install' for TreeCorr, since package 'wheel' is not
insta
lled.
Using legacy 'setup.py install' for LSSTDESC.Coord, since package 'wheel'
is not
installed.
Installing collected packages: LSSTDESC.Coord, TreeCorr
Running setup.py install for LSSTDESC.Coord ... done
Running setup.py install for TreeCorr ... done
Successfully installed LSSTDESC.Coord-1.2.3 TreeCorr-4.3
*But I can't use it importing these packages in spyder. *
Em qua., 1 de jun. de 2022 às 14:21, Bruno Leal Dias ***@***.***>
escreveu:
… *I have instaled everything, git and microsoft visual studio build tools,
and now I get this error when I try to install TreeCorr directly in spyder
editor:*
pip install TreeCorr
Collecting TreeCorr
Using cached TreeCorr-4.2.8.tar.gz (794 kB)
Requirement already satisfied: numpy in
c:\users\usuario\anaconda3\lib\site-packages (from TreeCorr) (1.20.3)
Requirement already satisfied: cffi in
c:\users\usuario\anaconda3\lib\site-packages (from TreeCorr) (1.14.6)
Requirement already satisfied: pyyaml in
c:\users\usuario\anaconda3\lib\site-packages (from TreeCorr) (6.0)
Collecting LSSTDESC.Coord>=1.1
Using cached LSSTDESC.Coord-1.2.3.tar.gz (48 kB)
Requirement already satisfied: future in
c:\users\usuario\anaconda3\lib\site-packages (from
LSSTDESC.Coord>=1.1->TreeCorr) (0.18.2)
Requirement already satisfied: pycparser in
c:\users\usuario\anaconda3\lib\site-packages (from cffi->TreeCorr) (2.20)
Building wheels for collected packages: TreeCorr, LSSTDESC.Coord
Building wheel for TreeCorr (setup.py): started
Building wheel for TreeCorr (setup.py): finished with status 'error'
Running setup.py clean for TreeCorr
Building wheel for LSSTDESC.Coord (setup.py): started
Building wheel for LSSTDESC.Coord (setup.py): finished with status 'done'
Created wheel for LSSTDESC.Coord:
filename=LSSTDESC.Coord-1.2.3-cp39-cp39-win_amd64.whl size=33827
sha256=6b138444c966fd7ead5d7f6fe0226857611b9f4f42cb34c9753c9b6809fc37fa
Stored in directory:
c:\users\usuario\appdata\local\pip\cache\wheels\d5\2a\da\7d47a0ca3f1a0240b3d9de8db24c60fda128c264586015d2bb
Successfully built LSSTDESC.Coord
Failed to build TreeCorr
Installing collected packages: LSSTDESC.Coord, TreeCorr
Running setup.py install for TreeCorr: started
Running setup.py install for TreeCorr: finished with status 'error'
Note: you may need to restart the kernel to use updated packages.
ERROR: Command errored out with exit status 1:
command: 'C:\Users\usuario\anaconda3\python.exe' -u -c 'import io, os,
sys, setuptools, tokenize; sys.argv[0] =
'"'"'C:\\Users\\usuario\\AppData\\Local\\Temp\\pip-install-3u1f3gjz\\treecorr_b45c5d19a1ef4608832452cde8bec7d7\\setup.py'"'"';
__file__='"'"'C:\\Users\\usuario\\AppData\\Local\\Temp\\pip-install-3u1f3gjz\\treecorr_b45c5d19a1ef4608832452cde8bec7d7\\setup.py'"'"';f
= getattr(tokenize, '"'"'open'"'"', open)(__file__) if
os.path.exists(__file__) else io.StringIO('"'"'from setuptools import
setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
bdist_wheel -d 'C:\Users\usuario\AppData\Local\Temp\pip-wheel-23w5o9um'
cwd:
C:\Users\usuario\AppData\Local\Temp\pip-install-3u1f3gjz\treecorr_b45c5d19a1ef4608832452cde8bec7d7\
Complete output (88 lines):
Using setuptools version 58.0.4
Python version = 3.9.7 (default, Sep 16 2021, 16:59:28) [MSC v.1916 64
bit (AMD64)]
TreeCorr version is 4.2.8
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
creating build\lib.win-amd64-3.9\treecorr
copying treecorr\binnedcorr2.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\binnedcorr3.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\catalog.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\config.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\corr2.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\corr3.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\field.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\ggcorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\gggcorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\kgcorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\kkcorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\kkkcorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\ngcorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\nkcorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\nncorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\nnncorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\reader.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\util.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\_version.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\__init__.py -> build\lib.win-amd64-3.9\treecorr
creating build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\BinnedCorr2.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\BinnedCorr2_C.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\BinnedCorr3.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\BinnedCorr3_C.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\BinType.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\BinType_C.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Bounds.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Cell.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\dbg.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Field.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Field_C.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Metric.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Metric_C.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\PairCell.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Position.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Position_C.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Process2.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Process3.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\ProjectHelper.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Split.h ->
build\lib.win-amd64-3.9\treecorr\include
running build_ext
Traceback (most recent call last):
File "<string>", line 1, in <module>
File
"C:\Users\usuario\AppData\Local\Temp\pip-install-3u1f3gjz\treecorr_b45c5d19a1ef4608832452cde8bec7d7\setup.py",
line 579, in <module>
dist = setup(
File
"C:\Users\usuario\anaconda3\lib\site-packages\setuptools\__init__.py", line
153, in setup
return distutils.core.setup(**attrs)
File "C:\Users\usuario\anaconda3\lib\distutils\core.py", line 148, in
setup
dist.run_commands()
File "C:\Users\usuario\anaconda3\lib\distutils\dist.py", line 966, in
run_commands
self.run_command(cmd)
File "C:\Users\usuario\anaconda3\lib\distutils\dist.py", line 985, in
run_command
cmd_obj.run()
File
"C:\Users\usuario\anaconda3\lib\site-packages\wheel\bdist_wheel.py", line
299, in run
self.run_command('build')
File "C:\Users\usuario\anaconda3\lib\distutils\cmd.py", line 313, in
run_command
self.distribution.run_command(command)
File "C:\Users\usuario\anaconda3\lib\distutils\dist.py", line 985, in
run_command
cmd_obj.run()
File "C:\Users\usuario\anaconda3\lib\distutils\command\build.py", line
135, in run
self.run_command(cmd_name)
File "C:\Users\usuario\anaconda3\lib\distutils\cmd.py", line 313, in
run_command
self.distribution.run_command(command)
File "C:\Users\usuario\anaconda3\lib\distutils\dist.py", line 985, in
run_command
cmd_obj.run()
File
"C:\Users\usuario\anaconda3\lib\site-packages\setuptools\command\build_ext.py",
line 79, in run
_build_ext.run(self)
File
"C:\Users\usuario\anaconda3\lib\site-packages\Cython\Distutils\old_build_ext.py",
line 186, in run
_build_ext.build_ext.run(self)
File "C:\Users\usuario\anaconda3\lib\distutils\command\build_ext.py",
line 340, in run
self.build_extensions()
File
"C:\Users\usuario\AppData\Local\Temp\pip-install-3u1f3gjz\treecorr_b45c5d19a1ef4608832452cde8bec7d7\setup.py",
line 525, in build_extensions
cflags, lflags = fix_compiler(self.compiler)
File
"C:\Users\usuario\AppData\Local\Temp\pip-install-3u1f3gjz\treecorr_b45c5d19a1ef4608832452cde8bec7d7\setup.py",
line 479, in fix_compiler
comp_type = get_compiler_type(compiler, output=True)
File
"C:\Users\usuario\AppData\Local\Temp\pip-install-3u1f3gjz\treecorr_b45c5d19a1ef4608832452cde8bec7d7\setup.py",
line 82, in get_compiler_type
cc = compiler.compiler_so[0]
AttributeError: 'MSVCCompiler' object has no attribute 'compiler_so'
----------------------------------------
ERROR: Failed building wheel for TreeCorr
ERROR: Command errored out with exit status 1:
command: 'C:\Users\usuario\anaconda3\python.exe' -u -c 'import io,
os, sys, setuptools, tokenize; sys.argv[0] =
'"'"'C:\\Users\\usuario\\AppData\\Local\\Temp\\pip-install-3u1f3gjz\\treecorr_b45c5d19a1ef4608832452cde8bec7d7\\setup.py'"'"';
__file__='"'"'C:\\Users\\usuario\\AppData\\Local\\Temp\\pip-install-3u1f3gjz\\treecorr_b45c5d19a1ef4608832452cde8bec7d7\\setup.py'"'"';f
= getattr(tokenize, '"'"'open'"'"', open)(__file__) if
os.path.exists(__file__) else io.StringIO('"'"'from setuptools import
setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
install --record
'C:\Users\usuario\AppData\Local\Temp\pip-record-0v8m0dgq\install-record.txt'
--single-version-externally-managed --compile --install-headers
'C:\Users\usuario\anaconda3\Include\TreeCorr'
cwd:
C:\Users\usuario\AppData\Local\Temp\pip-install-3u1f3gjz\treecorr_b45c5d19a1ef4608832452cde8bec7d7\
Complete output (90 lines):
Using setuptools version 58.0.4
Python version = 3.9.7 (default, Sep 16 2021, 16:59:28) [MSC v.1916
64 bit (AMD64)]
TreeCorr version is 4.2.8
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
creating build\lib.win-amd64-3.9\treecorr
copying treecorr\binnedcorr2.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\binnedcorr3.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\catalog.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\config.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\corr2.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\corr3.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\field.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\ggcorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\gggcorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\kgcorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\kkcorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\kkkcorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\ngcorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\nkcorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\nncorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\nnncorrelation.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\reader.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\util.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\_version.py -> build\lib.win-amd64-3.9\treecorr
copying treecorr\__init__.py -> build\lib.win-amd64-3.9\treecorr
creating build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\BinnedCorr2.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\BinnedCorr2_C.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\BinnedCorr3.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\BinnedCorr3_C.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\BinType.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\BinType_C.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Bounds.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Cell.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\dbg.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Field.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Field_C.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Metric.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Metric_C.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\PairCell.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Position.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Position_C.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Process2.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Process3.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\ProjectHelper.h ->
build\lib.win-amd64-3.9\treecorr\include
copying treecorr\include\Split.h ->
build\lib.win-amd64-3.9\treecorr\include
running build_ext
Traceback (most recent call last):
File "<string>", line 1, in <module>
File
"C:\Users\usuario\AppData\Local\Temp\pip-install-3u1f3gjz\treecorr_b45c5d19a1ef4608832452cde8bec7d7\setup.py",
line 579, in <module>
dist = setup(
File
"C:\Users\usuario\anaconda3\lib\site-packages\setuptools\__init__.py", line
153, in setup
return distutils.core.setup(**attrs)
File "C:\Users\usuario\anaconda3\lib\distutils\core.py", line 148,
in setup
dist.run_commands()
File "C:\Users\usuario\anaconda3\lib\distutils\dist.py", line 966,
in run_commands
self.run_command(cmd)
File "C:\Users\usuario\anaconda3\lib\distutils\dist.py", line 985,
in run_command
cmd_obj.run()
File
"C:\Users\usuario\anaconda3\lib\site-packages\setuptools\command\install.py",
line 61, in run
return orig.install.run(self)
File "C:\Users\usuario\anaconda3\lib\distutils\command\install.py",
line 546, in run
self.run_command('build')
File "C:\Users\usuario\anaconda3\lib\distutils\cmd.py", line 313, in
run_command
self.distribution.run_command(command)
File "C:\Users\usuario\anaconda3\lib\distutils\dist.py", line 985,
in run_command
cmd_obj.run()
File "C:\Users\usuario\anaconda3\lib\distutils\command\build.py",
line 135, in run
self.run_command(cmd_name)
File "C:\Users\usuario\anaconda3\lib\distutils\cmd.py", line 313, in
run_command
self.distribution.run_command(command)
File "C:\Users\usuario\anaconda3\lib\distutils\dist.py", line 985,
in run_command
cmd_obj.run()
File
"C:\Users\usuario\anaconda3\lib\site-packages\setuptools\command\build_ext.py",
line 79, in run
_build_ext.run(self)
File
"C:\Users\usuario\anaconda3\lib\site-packages\Cython\Distutils\old_build_ext.py",
line 186, in run
_build_ext.build_ext.run(self)
File
"C:\Users\usuario\anaconda3\lib\distutils\command\build_ext.py", line 340,
in run
self.build_extensions()
File
"C:\Users\usuario\AppData\Local\Temp\pip-install-3u1f3gjz\treecorr_b45c5d19a1ef4608832452cde8bec7d7\setup.py",
line 525, in build_extensions
cflags, lflags = fix_compiler(self.compiler)
File
"C:\Users\usuario\AppData\Local\Temp\pip-install-3u1f3gjz\treecorr_b45c5d19a1ef4608832452cde8bec7d7\setup.py",
line 479, in fix_compiler
comp_type = get_compiler_type(compiler, output=True)
File
"C:\Users\usuario\AppData\Local\Temp\pip-install-3u1f3gjz\treecorr_b45c5d19a1ef4608832452cde8bec7d7\setup.py",
line 82, in get_compiler_type
cc = compiler.compiler_so[0]
AttributeError: 'MSVCCompiler' object has no attribute 'compiler_so'
----------------------------------------
ERROR: Command errored out with exit status 1:
'C:\Users\usuario\anaconda3\python.exe' -u -c 'import io, os, sys,
setuptools, tokenize; sys.argv[0] =
'"'"'C:\\Users\\usuario\\AppData\\Local\\Temp\\pip-install-3u1f3gjz\\treecorr_b45c5d19a1ef4608832452cde8bec7d7\\setup.py'"'"';
__file__='"'"'C:\\Users\\usuario\\AppData\\Local\\Temp\\pip-install-3u1f3gjz\\treecorr_b45c5d19a1ef4608832452cde8bec7d7\\setup.py'"'"';f
= getattr(tokenize, '"'"'open'"'"', open)(__file__) if
os.path.exists(__file__) else io.StringIO('"'"'from setuptools import
setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
install --record
'C:\Users\usuario\AppData\Local\Temp\pip-record-0v8m0dgq\install-record.txt'
--single-version-externally-managed --compile --install-headers
'C:\Users\usuario\anaconda3\Include\TreeCorr' Check the logs for full
command output.
*When I try to import TreeCorr after that I get an error wich says:*
ModuleNotFoundError: No module named 'TreeCorr'
Em ter., 31 de mai. de 2022 às 21:03, Mike Jarvis <
***@***.***> escreveu:
> I can't help you with installing things on Windows. I just know that it
> worked using the GitHub Actions "windows-latest" system, which as far as I
> can tell seems to be using build tools 14.32.31326. So if you can manage to
> install that, then I think it should work. This applies to both Coord and
> TreeCorr.
>
> —
> Reply to this email directly, view it on GitHub
> <#136 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AXCFH2KPQSUL5EUWPJOYBU3VM2SEFANCNFSM5K3D2Z6A>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
--
Bruno Leal Dias
Doutorando em Astronomia
Observatório Nacional/MCTI
Rua G. José Cristino, 77, São Cristóvão
20.921-400 Rio de Janeiro - RJ
DIPPG, Sala 2, Ramal 9172
+55 48 9 8425 0347
--
Bruno Leal Dias
Doutorando em Astronomia
Observatório Nacional/MCTI
Rua G. José Cristino, 77, São Cristóvão
20.921-400 Rio de Janeiro - RJ
DIPPG, Sala 2, Ramal 9172
+55 48 9 8425 0347
|
*I just installed and everything is working now.*
pip install ***@***.***
Collecting ***@***.***
Cloning https://github.com/rmjarvis/TreeCorr.git (to revision windows) to
c:\users\usuario\appdata\local\temp\pip-req-build-j517q5m4
Resolved https://github.com/rmjarvis/TreeCorr.git to commit
8d6d7db
Requirement already satisfied: numpy in
c:\users\usuario\anaconda3\lib\site-packages (from TreeCorr==4.3) (1.20.3)
Requirement already satisfied: cffi in
c:\users\usuario\anaconda3\lib\site-packages (from TreeCorr==4.3) (1.14.6)
Requirement already satisfied: pyyaml in
c:\users\usuario\anaconda3\lib\site-packages (from TreeCorr==4.3) (6.0)
Requirement already satisfied: LSSTDESC.Coord>=1.1 in
c:\users\usuario\anaconda3\lib\site-packages (from TreeCorr==4.3) (1.2.3)
Requirement already satisfied: future in
c:\users\usuario\anaconda3\lib\site-packages (from
LSSTDESC.Coord>=1.1->TreeCorr==4.3) (0.18.2)
Requirement already satisfied: pycparser in
c:\users\usuario\anaconda3\lib\site-packages (from cffi->TreeCorr==4.3)
(2.20)
Building wheels for collected packages: TreeCorr
Building wheel for TreeCorr (setup.py): started
Building wheel for TreeCorr (setup.py): finished with status 'done'
Created wheel for TreeCorr: filename=TreeCorr-4.3-cp39-cp39-win_amd64.whl
size=856240
sha256=7f50858beb622369d096af4d8cca05d135cf6c1a888b928a188666a315903c62
Stored in directory:
C:\Users\usuario\AppData\Local\Temp\pip-ephem-wheel-cache-pzvdk4jg\wheels\90\ad\23\e69f544cfc5422aa818c3ad5812e6a47f69858641d1f536c51
Successfully built TreeCorr
Installing collected packages: TreeCorr
Successfully installed TreeCorr-4.3
Note: you may need to restart the kernel to use updated packages.
Running command git clone -q https://github.com/rmjarvis/TreeCorr.git
'C:\Users\usuario\AppData\Local\Temp\pip-req-build-j517q5m4'
Running command git checkout -b windows --track origin/windows
Branch 'windows' set up to track remote branch 'windows' from 'origin'.
Switched to a new branch 'windows'
*Thank you.*
Em qua., 1 de jun. de 2022 às 14:26, Bruno Leal Dias ***@***.***>
escreveu:
… *I have installed successfully when I use the microsoft visual studio
compiler in the git's text editor:*
***@***.*** MINGW64 ~
$ pip install ***@***.***
Collecting ***@***.***
Cloning https://github.com/rmjarvis/TreeCorr.git (to revision windows)
to c:\u
sers\usuario\appdata\local\temp\pip-req-build-1gorg7mo
Running command git clone --filter=blob:none --quiet
https://github.com/rmjarv
is/TreeCorr.git
'C:\Users\usuario\AppData\Local\Temp\pip-req-build-1gorg7mo'
Running command git checkout -b windows --track origin/windows
branch 'windows' set up to track 'origin/windows'.
Switched to a new branch 'windows'
Resolved https://github.com/rmjarvis/TreeCorr.git to commit
8d6d7db
688fbe7ce14a4ed74c380b
Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy in
c:\users\usuario\appdata\local\programs\
python\python310\lib\site-packages (from TreeCorr==4.3) (1.22.3)
Requirement already satisfied: cffi in
c:\users\usuario\appdata\local\programs\p
ython\python310\lib\site-packages (from TreeCorr==4.3) (1.15.0)
Requirement already satisfied: pyyaml in
c:\users\usuario\appdata\local\programs
\python\python310\lib\site-packages (from TreeCorr==4.3) (6.0)
Collecting LSSTDESC.Coord>=1.1
Using cached LSSTDESC.Coord-1.2.3.tar.gz (48 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: future in
c:\users\usuario\appdata\local\programs
\python\python310\lib\site-packages (from
LSSTDESC.Coord>=1.1->TreeCorr==4.3) (0
.18.2)
Requirement already satisfied: pycparser in
c:\users\usuario\appdata\local\progr
ams\python\python310\lib\site-packages (from cffi->TreeCorr==4.3) (2.21)
Using legacy 'setup.py install' for TreeCorr, since package 'wheel' is not
insta
lled.
Using legacy 'setup.py install' for LSSTDESC.Coord, since package 'wheel'
is not
installed.
Installing collected packages: LSSTDESC.Coord, TreeCorr
Running setup.py install for LSSTDESC.Coord ... done
Running setup.py install for TreeCorr ... done
Successfully installed LSSTDESC.Coord-1.2.3 TreeCorr-4.3
*But I can't use it importing these packages in spyder. *
Em qua., 1 de jun. de 2022 às 14:21, Bruno Leal Dias ***@***.***>
escreveu:
> *I have instaled everything, git and microsoft visual studio build tools,
> and now I get this error when I try to install TreeCorr directly in spyder
> editor:*
>
> pip install TreeCorr
> Collecting TreeCorr
> Using cached TreeCorr-4.2.8.tar.gz (794 kB)
> Requirement already satisfied: numpy in
> c:\users\usuario\anaconda3\lib\site-packages (from TreeCorr) (1.20.3)
> Requirement already satisfied: cffi in
> c:\users\usuario\anaconda3\lib\site-packages (from TreeCorr) (1.14.6)
> Requirement already satisfied: pyyaml in
> c:\users\usuario\anaconda3\lib\site-packages (from TreeCorr) (6.0)
> Collecting LSSTDESC.Coord>=1.1
> Using cached LSSTDESC.Coord-1.2.3.tar.gz (48 kB)
> Requirement already satisfied: future in
> c:\users\usuario\anaconda3\lib\site-packages (from
> LSSTDESC.Coord>=1.1->TreeCorr) (0.18.2)
> Requirement already satisfied: pycparser in
> c:\users\usuario\anaconda3\lib\site-packages (from cffi->TreeCorr) (2.20)
> Building wheels for collected packages: TreeCorr, LSSTDESC.Coord
> Building wheel for TreeCorr (setup.py): started
> Building wheel for TreeCorr (setup.py): finished with status 'error'
> Running setup.py clean for TreeCorr
> Building wheel for LSSTDESC.Coord (setup.py): started
> Building wheel for LSSTDESC.Coord (setup.py): finished with status
> 'done'
> Created wheel for LSSTDESC.Coord:
> filename=LSSTDESC.Coord-1.2.3-cp39-cp39-win_amd64.whl size=33827
> sha256=6b138444c966fd7ead5d7f6fe0226857611b9f4f42cb34c9753c9b6809fc37fa
> Stored in directory:
> c:\users\usuario\appdata\local\pip\cache\wheels\d5\2a\da\7d47a0ca3f1a0240b3d9de8db24c60fda128c264586015d2bb
> Successfully built LSSTDESC.Coord
> Failed to build TreeCorr
> Installing collected packages: LSSTDESC.Coord, TreeCorr
> Running setup.py install for TreeCorr: started
> Running setup.py install for TreeCorr: finished with status 'error'
> Note: you may need to restart the kernel to use updated packages.
> ERROR: Command errored out with exit status 1:
> command: 'C:\Users\usuario\anaconda3\python.exe' -u -c 'import io, os,
> sys, setuptools, tokenize; sys.argv[0] =
> '"'"'C:\\Users\\usuario\\AppData\\Local\\Temp\\pip-install-3u1f3gjz\\treecorr_b45c5d19a1ef4608832452cde8bec7d7\\setup.py'"'"';
> __file__='"'"'C:\\Users\\usuario\\AppData\\Local\\Temp\\pip-install-3u1f3gjz\\treecorr_b45c5d19a1ef4608832452cde8bec7d7\\setup.py'"'"';f
> = getattr(tokenize, '"'"'open'"'"', open)(__file__) if
> os.path.exists(__file__) else io.StringIO('"'"'from setuptools import
> setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"',
> '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
> bdist_wheel -d 'C:\Users\usuario\AppData\Local\Temp\pip-wheel-23w5o9um'
> cwd:
> C:\Users\usuario\AppData\Local\Temp\pip-install-3u1f3gjz\treecorr_b45c5d19a1ef4608832452cde8bec7d7\
> Complete output (88 lines):
> Using setuptools version 58.0.4
> Python version = 3.9.7 (default, Sep 16 2021, 16:59:28) [MSC v.1916 64
> bit (AMD64)]
> TreeCorr version is 4.2.8
> running bdist_wheel
> running build
> running build_py
> creating build
> creating build\lib.win-amd64-3.9
> creating build\lib.win-amd64-3.9\treecorr
> copying treecorr\binnedcorr2.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\binnedcorr3.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\catalog.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\config.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\corr2.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\corr3.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\field.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\ggcorrelation.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\gggcorrelation.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\kgcorrelation.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\kkcorrelation.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\kkkcorrelation.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\ngcorrelation.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\nkcorrelation.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\nncorrelation.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\nnncorrelation.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\reader.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\util.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\_version.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\__init__.py -> build\lib.win-amd64-3.9\treecorr
> creating build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\BinnedCorr2.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\BinnedCorr2_C.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\BinnedCorr3.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\BinnedCorr3_C.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\BinType.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\BinType_C.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\Bounds.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\Cell.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\dbg.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\Field.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\Field_C.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\Metric.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\Metric_C.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\PairCell.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\Position.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\Position_C.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\Process2.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\Process3.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\ProjectHelper.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\Split.h ->
> build\lib.win-amd64-3.9\treecorr\include
> running build_ext
> Traceback (most recent call last):
> File "<string>", line 1, in <module>
> File
> "C:\Users\usuario\AppData\Local\Temp\pip-install-3u1f3gjz\treecorr_b45c5d19a1ef4608832452cde8bec7d7\setup.py",
> line 579, in <module>
> dist = setup(
> File
> "C:\Users\usuario\anaconda3\lib\site-packages\setuptools\__init__.py", line
> 153, in setup
> return distutils.core.setup(**attrs)
> File "C:\Users\usuario\anaconda3\lib\distutils\core.py", line 148, in
> setup
> dist.run_commands()
> File "C:\Users\usuario\anaconda3\lib\distutils\dist.py", line 966, in
> run_commands
> self.run_command(cmd)
> File "C:\Users\usuario\anaconda3\lib\distutils\dist.py", line 985, in
> run_command
> cmd_obj.run()
> File
> "C:\Users\usuario\anaconda3\lib\site-packages\wheel\bdist_wheel.py", line
> 299, in run
> self.run_command('build')
> File "C:\Users\usuario\anaconda3\lib\distutils\cmd.py", line 313, in
> run_command
> self.distribution.run_command(command)
> File "C:\Users\usuario\anaconda3\lib\distutils\dist.py", line 985, in
> run_command
> cmd_obj.run()
> File "C:\Users\usuario\anaconda3\lib\distutils\command\build.py",
> line 135, in run
> self.run_command(cmd_name)
> File "C:\Users\usuario\anaconda3\lib\distutils\cmd.py", line 313, in
> run_command
> self.distribution.run_command(command)
> File "C:\Users\usuario\anaconda3\lib\distutils\dist.py", line 985, in
> run_command
> cmd_obj.run()
> File
> "C:\Users\usuario\anaconda3\lib\site-packages\setuptools\command\build_ext.py",
> line 79, in run
> _build_ext.run(self)
> File
> "C:\Users\usuario\anaconda3\lib\site-packages\Cython\Distutils\old_build_ext.py",
> line 186, in run
> _build_ext.build_ext.run(self)
> File "C:\Users\usuario\anaconda3\lib\distutils\command\build_ext.py",
> line 340, in run
> self.build_extensions()
> File
> "C:\Users\usuario\AppData\Local\Temp\pip-install-3u1f3gjz\treecorr_b45c5d19a1ef4608832452cde8bec7d7\setup.py",
> line 525, in build_extensions
> cflags, lflags = fix_compiler(self.compiler)
> File
> "C:\Users\usuario\AppData\Local\Temp\pip-install-3u1f3gjz\treecorr_b45c5d19a1ef4608832452cde8bec7d7\setup.py",
> line 479, in fix_compiler
> comp_type = get_compiler_type(compiler, output=True)
> File
> "C:\Users\usuario\AppData\Local\Temp\pip-install-3u1f3gjz\treecorr_b45c5d19a1ef4608832452cde8bec7d7\setup.py",
> line 82, in get_compiler_type
> cc = compiler.compiler_so[0]
> AttributeError: 'MSVCCompiler' object has no attribute 'compiler_so'
> ----------------------------------------
> ERROR: Failed building wheel for TreeCorr
> ERROR: Command errored out with exit status 1:
> command: 'C:\Users\usuario\anaconda3\python.exe' -u -c 'import io,
> os, sys, setuptools, tokenize; sys.argv[0] =
> '"'"'C:\\Users\\usuario\\AppData\\Local\\Temp\\pip-install-3u1f3gjz\\treecorr_b45c5d19a1ef4608832452cde8bec7d7\\setup.py'"'"';
> __file__='"'"'C:\\Users\\usuario\\AppData\\Local\\Temp\\pip-install-3u1f3gjz\\treecorr_b45c5d19a1ef4608832452cde8bec7d7\\setup.py'"'"';f
> = getattr(tokenize, '"'"'open'"'"', open)(__file__) if
> os.path.exists(__file__) else io.StringIO('"'"'from setuptools import
> setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"',
> '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
> install --record
> 'C:\Users\usuario\AppData\Local\Temp\pip-record-0v8m0dgq\install-record.txt'
> --single-version-externally-managed --compile --install-headers
> 'C:\Users\usuario\anaconda3\Include\TreeCorr'
> cwd:
> C:\Users\usuario\AppData\Local\Temp\pip-install-3u1f3gjz\treecorr_b45c5d19a1ef4608832452cde8bec7d7\
> Complete output (90 lines):
> Using setuptools version 58.0.4
> Python version = 3.9.7 (default, Sep 16 2021, 16:59:28) [MSC v.1916
> 64 bit (AMD64)]
> TreeCorr version is 4.2.8
> running install
> running build
> running build_py
> creating build
> creating build\lib.win-amd64-3.9
> creating build\lib.win-amd64-3.9\treecorr
> copying treecorr\binnedcorr2.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\binnedcorr3.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\catalog.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\config.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\corr2.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\corr3.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\field.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\ggcorrelation.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\gggcorrelation.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\kgcorrelation.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\kkcorrelation.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\kkkcorrelation.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\ngcorrelation.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\nkcorrelation.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\nncorrelation.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\nnncorrelation.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\reader.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\util.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\_version.py -> build\lib.win-amd64-3.9\treecorr
> copying treecorr\__init__.py -> build\lib.win-amd64-3.9\treecorr
> creating build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\BinnedCorr2.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\BinnedCorr2_C.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\BinnedCorr3.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\BinnedCorr3_C.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\BinType.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\BinType_C.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\Bounds.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\Cell.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\dbg.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\Field.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\Field_C.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\Metric.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\Metric_C.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\PairCell.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\Position.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\Position_C.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\Process2.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\Process3.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\ProjectHelper.h ->
> build\lib.win-amd64-3.9\treecorr\include
> copying treecorr\include\Split.h ->
> build\lib.win-amd64-3.9\treecorr\include
> running build_ext
> Traceback (most recent call last):
> File "<string>", line 1, in <module>
> File
> "C:\Users\usuario\AppData\Local\Temp\pip-install-3u1f3gjz\treecorr_b45c5d19a1ef4608832452cde8bec7d7\setup.py",
> line 579, in <module>
> dist = setup(
> File
> "C:\Users\usuario\anaconda3\lib\site-packages\setuptools\__init__.py", line
> 153, in setup
> return distutils.core.setup(**attrs)
> File "C:\Users\usuario\anaconda3\lib\distutils\core.py", line 148,
> in setup
> dist.run_commands()
> File "C:\Users\usuario\anaconda3\lib\distutils\dist.py", line 966,
> in run_commands
> self.run_command(cmd)
> File "C:\Users\usuario\anaconda3\lib\distutils\dist.py", line 985,
> in run_command
> cmd_obj.run()
> File
> "C:\Users\usuario\anaconda3\lib\site-packages\setuptools\command\install.py",
> line 61, in run
> return orig.install.run(self)
> File "C:\Users\usuario\anaconda3\lib\distutils\command\install.py",
> line 546, in run
> self.run_command('build')
> File "C:\Users\usuario\anaconda3\lib\distutils\cmd.py", line 313,
> in run_command
> self.distribution.run_command(command)
> File "C:\Users\usuario\anaconda3\lib\distutils\dist.py", line 985,
> in run_command
> cmd_obj.run()
> File "C:\Users\usuario\anaconda3\lib\distutils\command\build.py",
> line 135, in run
> self.run_command(cmd_name)
> File "C:\Users\usuario\anaconda3\lib\distutils\cmd.py", line 313,
> in run_command
> self.distribution.run_command(command)
> File "C:\Users\usuario\anaconda3\lib\distutils\dist.py", line 985,
> in run_command
> cmd_obj.run()
> File
> "C:\Users\usuario\anaconda3\lib\site-packages\setuptools\command\build_ext.py",
> line 79, in run
> _build_ext.run(self)
> File
> "C:\Users\usuario\anaconda3\lib\site-packages\Cython\Distutils\old_build_ext.py",
> line 186, in run
> _build_ext.build_ext.run(self)
> File
> "C:\Users\usuario\anaconda3\lib\distutils\command\build_ext.py", line 340,
> in run
> self.build_extensions()
> File
> "C:\Users\usuario\AppData\Local\Temp\pip-install-3u1f3gjz\treecorr_b45c5d19a1ef4608832452cde8bec7d7\setup.py",
> line 525, in build_extensions
> cflags, lflags = fix_compiler(self.compiler)
> File
> "C:\Users\usuario\AppData\Local\Temp\pip-install-3u1f3gjz\treecorr_b45c5d19a1ef4608832452cde8bec7d7\setup.py",
> line 479, in fix_compiler
> comp_type = get_compiler_type(compiler, output=True)
> File
> "C:\Users\usuario\AppData\Local\Temp\pip-install-3u1f3gjz\treecorr_b45c5d19a1ef4608832452cde8bec7d7\setup.py",
> line 82, in get_compiler_type
> cc = compiler.compiler_so[0]
> AttributeError: 'MSVCCompiler' object has no attribute 'compiler_so'
> ----------------------------------------
> ERROR: Command errored out with exit status 1:
> 'C:\Users\usuario\anaconda3\python.exe' -u -c 'import io, os, sys,
> setuptools, tokenize; sys.argv[0] =
> '"'"'C:\\Users\\usuario\\AppData\\Local\\Temp\\pip-install-3u1f3gjz\\treecorr_b45c5d19a1ef4608832452cde8bec7d7\\setup.py'"'"';
> __file__='"'"'C:\\Users\\usuario\\AppData\\Local\\Temp\\pip-install-3u1f3gjz\\treecorr_b45c5d19a1ef4608832452cde8bec7d7\\setup.py'"'"';f
> = getattr(tokenize, '"'"'open'"'"', open)(__file__) if
> os.path.exists(__file__) else io.StringIO('"'"'from setuptools import
> setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"',
> '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
> install --record
> 'C:\Users\usuario\AppData\Local\Temp\pip-record-0v8m0dgq\install-record.txt'
> --single-version-externally-managed --compile --install-headers
> 'C:\Users\usuario\anaconda3\Include\TreeCorr' Check the logs for full
> command output.
>
> *When I try to import TreeCorr after that I get an error wich says:*
>
> ModuleNotFoundError: No module named 'TreeCorr'
>
> Em ter., 31 de mai. de 2022 às 21:03, Mike Jarvis <
> ***@***.***> escreveu:
>
>> I can't help you with installing things on Windows. I just know that it
>> worked using the GitHub Actions "windows-latest" system, which as far as I
>> can tell seems to be using build tools 14.32.31326. So if you can manage to
>> install that, then I think it should work. This applies to both Coord and
>> TreeCorr.
>>
>> —
>> Reply to this email directly, view it on GitHub
>> <#136 (comment)>,
>> or unsubscribe
>> <https://github.com/notifications/unsubscribe-auth/AXCFH2KPQSUL5EUWPJOYBU3VM2SEFANCNFSM5K3D2Z6A>
>> .
>> You are receiving this because you authored the thread.Message ID:
>> ***@***.***>
>>
>
>
> --
> Bruno Leal Dias
> Doutorando em Astronomia
> Observatório Nacional/MCTI
> Rua G. José Cristino, 77, São Cristóvão
> 20.921-400 Rio de Janeiro - RJ
> DIPPG, Sala 2, Ramal 9172
> +55 48 9 8425 0347
>
--
Bruno Leal Dias
Doutorando em Astronomia
Observatório Nacional/MCTI
Rua G. José Cristino, 77, São Cristóvão
20.921-400 Rio de Janeiro - RJ
DIPPG, Sala 2, Ramal 9172
+55 48 9 8425 0347
--
Bruno Leal Dias
Doutorando em Astronomia
Observatório Nacional/MCTI
Rua G. José Cristino, 77, São Cristóvão
20.921-400 Rio de Janeiro - RJ
DIPPG, Sala 2, Ramal 9172
+55 48 9 8425 0347
|
Great! Thanks for following up with this. Once I release an official version 4.3.0, you shouldn't need the |
Thanks again.
Em qua., 1 de jun. de 2022 às 14:47, Mike Jarvis ***@***.***>
escreveu:
… Great! Thanks for following up with this. Once I release an official
version 4.3.0, you shouldn't need the git+ thing. It should just work
with the regular pip install treecorr command.
—
Reply to this email directly, view it on GitHub
<#136 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXCFH2MIJL63GDAOFTIFLKLVM6O2TANCNFSM5K3D2Z6A>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Bruno Leal Dias
Doutorando em Astronomia
Observatório Nacional/MCTI
Rua G. José Cristino, 77, São Cristóvão
20.921-400 Rio de Janeiro - RJ
DIPPG, Sala 2, Ramal 9172
+55 48 9 8425 0347
|
Hello! I'm trying to install the package and I'm getting this error (It seems a problem during the installation of one of the needed packages LSSTDESC.Coord. I already tried unistalling anaconda and python and reinstalling as some people suggested, but I still getting the same error. I would really apreciate if someone could help me to solve it):
C:\Users\bareb>pip install treecorr --user
Collecting treecorr
Using cached TreeCorr-4.2.6.tar.gz (793 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy in c:\users\bareb\appdata\local\programs\python\python310\lib\site-packages (from treecorr) (1.21.5)
Requirement already satisfied: cffi in c:\users\bareb\appdata\local\programs\python\python310\lib\site-packages (from treecorr) (1.15.0)
Requirement already satisfied: pyyaml in c:\users\bareb\appdata\local\programs\python\python310\lib\site-packages (from treecorr) (6.0)
Collecting LSSTDESC.Coord>=1.1
Using cached LSSTDESC.Coord-1.2.2.tar.gz (49 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: future in c:\users\bareb\appdata\local\programs\python\python310\lib\site-packages (from LSSTDESC.Coord>=1.1->treecorr) (0.18.2)
Requirement already satisfied: pycparser in c:\users\bareb\appdata\local\programs\python\python310\lib\site-packages (from cffi->treecorr) (2.21)
Using legacy 'setup.py install' for treecorr, since package 'wheel' is not installed.
Using legacy 'setup.py install' for LSSTDESC.Coord, since package 'wheel' is not installed.
Installing collected packages: LSSTDESC.Coord, treecorr
Running setup.py install for LSSTDESC.Coord ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\bareb\AppData\Local\Programs\Python\Python310\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\bareb\AppData\Local\Temp\pip-install-6pv18u3v\lsstdesc-coord_2ee88310019744bf85015c3514aefb7d\setup.py'"'"'; file='"'"'C:\Users\bareb\AppData\Local\Temp\pip-install-6pv18u3v\lsstdesc-coord_2ee88310019744bf85015c3514aefb7d\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\bareb\AppData\Local\Temp\pip-record-wdt0a6ry\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\bareb\AppData\Roaming\Python\Python310\Include\LSSTDESC.Coord'
cwd: C:\Users\bareb\AppData\Local\Temp\pip-install-6pv18u3v\lsstdesc-coord_2ee88310019744bf85015c3514aefb7d
Complete output (29 lines):
Python version = 3.10.1 (tags/v3.10.1:2cd268a, Dec 6 2021, 19:10:37) [MSC v.1929 64 bit (AMD64)]
sources = ['src\Angle.cpp']
headers = ['include\Angle_C.h']
Coord version is 1.2.2
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.10
creating build\lib.win-amd64-3.10\coord
copying coord\angle.py -> build\lib.win-amd64-3.10\coord
copying coord\angleunit.py -> build\lib.win-amd64-3.10\coord
copying coord\celestial.py -> build\lib.win-amd64-3.10\coord
copying coord\util.py -> build\lib.win-amd64-3.10\coord
copying coord_version.py -> build\lib.win-amd64-3.10\coord
copying coord_init_.py -> build\lib.win-amd64-3.10\coord
creating build\lib.win-amd64-3.10\coord\include
copying coord\include\Angle_C.h -> build\lib.win-amd64-3.10\coord\include
running build_ext
building 'coord._coord' extension
creating build\temp.win-amd64-3.10
creating build\temp.win-amd64-3.10\Release
creating build\temp.win-amd64-3.10\Release\src
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Iinclude -IC:\Users\bareb\AppData\Local\Programs\Python\Python310\include -IC:\Users\bareb\AppData\Local\Programs\Python\Python310\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /EHsc /Tpsrc\Angle.cpp /Fobuild\temp.win-amd64-3.10\Release\src\Angle.obj
Angle.cpp
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:C:\Users\bareb\AppData\Local\Programs\Python\Python310\libs /LIBPATH:C:\Users\bareb\AppData\Local\Programs\Python\Python310\PCbuild\amd64 /LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\lib\x64 /LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x64 /LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\um\x64 /EXPORT:PyInit__coord build\temp.win-amd64-3.10\Release\src\Angle.obj /OUT:build\lib.win-amd64-3.10\coord_coord.cp310-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.10\Release\src_coord.cp310-win_amd64.lib
LINK : error LNK2001: s¡mbolo externo nÆo resolvido PyInit__coord
build\temp.win-amd64-3.10\Release\src_coord.cp310-win_amd64.lib : fatal error LNK1120: 1 externo nÆo resolvidos
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\link.exe' failed with exit code 1120
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\bareb\AppData\Local\Programs\Python\Python310\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\bareb\AppData\Local\Temp\pip-install-6pv18u3v\lsstdesc-coord_2ee88310019744bf85015c3514aefb7d\setup.py'"'"'; file='"'"'C:\Users\bareb\AppData\Local\Temp\pip-install-6pv18u3v\lsstdesc-coord_2ee88310019744bf85015c3514aefb7d\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\bareb\AppData\Local\Temp\pip-record-wdt0a6ry\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\bareb\AppData\Roaming\Python\Python310\Include\LSSTDESC.Coord' Check the logs for full command output.
The text was updated successfully, but these errors were encountered: