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

Problem in installation #14

Open
mahdiahadiyan opened this issue Sep 29, 2021 · 4 comments
Open

Problem in installation #14

mahdiahadiyan opened this issue Sep 29, 2021 · 4 comments

Comments

@mahdiahadiyan
Copy link

I follow the instruction of installation, but I have these issues:
1- At setup.cfg, I can't understand how to select desired compilers. In the compiler line, it wrote mingw32 as default, but there is no mingw32.exe in the mingw file location. Besides, how should I define compilers in this folder?

2- When I want to build setup.py, it gives me this error:

error: Command "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ibuild\src.win-amd64-3.8\build\src.win-amd64-3.8 -IE:\anaconda_installed\lib\site-packages\numpy\core\include -IE:\anaconda_installed\include -IE:\anaconda_installed\include -IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE -IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE -IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt /Tcbuild\src.win-amd64-3.8\dbm_fmodule.c /Fobuild\temp.win-amd64-3.8\Release\build\src.win-amd64-3.8\dbm_fmodule.obj" failed with exit status 2

and the majority of lines contain "could not locate executable".

How can I solve these problems?

@socolofs
Copy link
Owner

socolofs commented Oct 13, 2021 via email

@mahdiahadiyan
Copy link
Author

mahdiahadiyan commented Oct 19, 2021 via email

@ChrisBarker-NOAA
Copy link
Collaborator

it looks like tamoc is not installed in the same envronment as pytest.

if you created a conda environment that you built tamoc in, make sure that you activate that same environment when yoiu run pytest. (and that pytest is installed in that environment)

-CHB

@mahdiahadiyan
Copy link
Author

mahdiahadiyan commented Oct 22, 2021 via email

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

3 participants