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

Windows - failing to install #2589

Closed
perdrix52 opened this issue Apr 20, 2023 · 3 comments
Closed

Windows - failing to install #2589

perdrix52 opened this issue Apr 20, 2023 · 3 comments
Labels

Comments

@perdrix52
Copy link

I installed python 3.11.3 and then did pip install conan which appeared to work.

I then opened a VS command prompt and navigated to d:\Exiv2-0.27.6 and created a build dir as instructed

D:\exiv2-0.27.6>cd build

D:\exiv2-0.27.6\build>conan --version
'conan' is not recognized as an internal or external command,
operable program or batch file.

D:\exiv2-0.27.6\build>

So I fall at the first hurdle

What should i do?

@perdrix52 perdrix52 added the bug label Apr 20, 2023
@perdrix52
Copy link
Author

Worked around this silly conan issue using CMAKE manually

@krupkat
Copy link

krupkat commented Apr 27, 2023

Cannot reproduce this:

> pip install conan
> conan --version
Conan version 2.0.4

You can check that the executables are in the PATH environment variable, for me it is:

C:\Users\tomas\AppData\Local\Programs\Python\Python310\Scripts\
C:\Users\tomas\AppData\Local\Programs\Python\Python310\

Or better, use virtual environments as suggested here: https://docs.conan.io/2/installation.html#install-with-pip-recommended

Note that Conan was recently updated to 2.0 and there might be some issues with it. You might have to install a v1 version:

pip install conan==1.59

If still having issues, consider asking in a more appropriate place, e.g.: https://github.com/conan-io/conan

Note that I haven't tested a build of Exiv2 with conan myself.

@perdrix52
Copy link
Author

As I said above I just used CMake

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

No branches or pull requests

2 participants