Git Product home page Git Product logo

Comments (7)

moble avatar moble commented on July 29, 2024

When you say "PC" I'm guessing you mean Windows. Is that right? The conda build on windows is broken; it uses appveyor, which does not particularly support python/conda. And I don't have access to any Windows machines, so I can't do it myself. I'll add a note to the README saying that conda isn't really supported on Windows.

But you should be able to do it with

pip install numpy numpy-quaternion

[Note that this should use the version of pip that exists inside conda, so it won't go installing things outside of your conda directories.]

If this fails, you'll have to just do it manually, by downloading the repository and running python setup.py install from inside of the directory that you get.

Let me know what works for you.

from quaternion.

moble avatar moble commented on July 29, 2024

Oh, and you might have to do

conda install pip numpy scipy numba

from quaternion.

bscalzo avatar bscalzo commented on July 29, 2024

Yes I have windows. I've tried the various installation methods suggested but all of them lead to this problem:

Building msvcr library: "C:\Users\User1\AppData\Local\Continuum\Anaconda2\libs
libmsvcr90.a" (from C:\windows\winsxs\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_
9.0.21022.8_none_750b37ff97f4f68b\msvcr90.dll)
error: [Error 2] The system cannot find the file specified

I believe this has nothing to do with numpy_quaternion though.

from quaternion.

moble avatar moble commented on July 29, 2024

Yeah, unfortunately it's a C module, so it has to be compiled. And since I can't do it, it has to be left to the user โ€”ย which is apparently when things get tricky on Windows. But that's beyond my scope. Sorry. The only thing I can suggest is maybe just run conda update --all, in case it's a bug that's been fixed.

from quaternion.

moble avatar moble commented on July 29, 2024

In issue #73, I realized what the problem is: an old conda build from when 3.6 wasn't even out yet. I've removed all the old Windows builds, so anyone on Windows will need to install manually, or could try pip. I'll mention that in the README.

from quaternion.

moble avatar moble commented on July 29, 2024

Actually, I just realized that this was already covered in the README.

from quaternion.

moble avatar moble commented on July 29, 2024

The current version is now available for Windows (and Linux and macOS) via conda-forge

from quaternion.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.