Comments (2)
Now npm install sweph
works.
This is what I installed:
- node 21.6.2
- npm 10.4.0
- Build Tools for Visual Studio 2022 with Windows 11 SDK (tutorial: https://github.com/bycloudai/InstallVSBuildToolsWindows?tab=readme-ov-file). Not clear why someone says to select Windows 10 SDK instead of Windows 11 SDK.
- add C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin to System Variable "PATH"
- Python 3.12.2
- reboot
from sweph.
hey,
the issue is with node-gyp, which does the compilation step.
When using a node version lower that 21.3 (in your case it was node 16), only python 3.11 works.
Python 3.12 had a breaking change where they removed a component that was used by node-gyp. An update to fix it was released only in node v21.3+ i think.
And as far as i know, node-gyp still doesnt support windows 11 SDK, thats why windows 10 SDK is needed.
from sweph.
Related Issues (18)
- Need help with Angular integration HOT 2
- Wrong info in utc_time_zone() HOT 6
- Wrong sunrise time for negative timezones HOT 9
- Please update ephemeris download links HOT 1
- new feature HOT 1
- Issue in Electron HOT 2
- Astrodienst Dropbox folder is too big to be downloaded HOT 1
- Planet position different result from Astro.com birth chart HOT 8
- sweph.rise_trans returns incorrect value HOT 3
- SwissEph file 'sepl_18.se1' not found in PATH HOT 2
- Problem when using constants as array indices in TypeScript HOT 10
- A simple example how to build an Astrological Chart HOT 3
- Electronjs HOT 3
- react native compatibility HOT 3
- Error in house_name() method HOT 3
- Please help me out with deployment issue? HOT 16
- Unable to run on Windows HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sweph.