Comments (2)
Hi @jacobhines
Thank you for the issue, and for an effort to locate solution in previous issues.
I understand you want to develop new functions on top of the existing ARC code, and that's why you want to work directly with forked repository, and not a package from pip.
Explanation why you see this...
A part of ARC that does Numerov integration of wavefunctions is written as C extension. Packages published on PyPI (available via pip) are wheels, i.e. they contain compiled (pre-build) C code for multiple OS, architectures and Python versions. In that sense, Python 3.7 is supported. However, if you don't want to use wheel (as I understand above), you can build C extension yourself by running
python setup.py build_ext --inplace
This is easy on Linux (you need GNU compiler and Python dev headers) and OSX (you need Python dev headers and code development tools from OSX), but on Windows can be bit tricky to set up environment. I see from directory path above that you are on Windows.
... and what is the shortest solution
I recommend just to get build C extension from PyPI package. You can copy that single file into your local repository directory, and everything should work. Steps are:
- Find on package distribution files corresponding to your Python and OS and architecture. I think you need
ARC_Alkali_Rydberg_Calculator-2.0.5-cp37-cp37m-win_amd64.whl
that is Python 3.7, Windows, on 64bit architecture. - Unzip downloaded folder and you will find there in
arc
directory compiled file you needarc_c_extensions.cp37-win_amd64.pyd
. Copy this file in your local folder of forked ARC repository (copy into the...\ARC-Alkali-Rydberg-Calculator\arc
directory) and you should be ready to go!
@jacobhines please let me know if this resolves the issue, or there are problems encountered (I don't have Windows at hand to test this now).
Good luck with development, and don't hesitate to contact me if you have any further questions.
Nikola
from arc-alkali-rydberg-calculator.
Solved. Thanks for quickly answering my rookie question.
Best,
Jacob
from arc-alkali-rydberg-calculator.
Related Issues (20)
- getDipoleMatrixElement: wrong order of initial/final state arguments? HOT 1
- Usage question: obtaining C6 coefficients between two rydberg `s` states HOT 1
- (ARC 3.2) Two-photon excitation Rabi frequency (twoPhotonRydbergExcitation()) does not agree with the result of published paper HOT 3
- Numbers do not agree HOT 2
- online Atom Calculator offline HOT 1
- (ARC 3.2) Wrong HFS data for Na23 HOT 2
- Float vs. Int for Bz in StarkMap.defineBasis HOT 4
- Install Issue on MacOS HOT 4
- 'database is locked' for PairStateInteractions HOT 2
- Clarification of documentation in getBranchingRatio HOT 1
- C_6 perturbatively and form level diagram of hetero/homonuclear interactions HOT 2
- Inconsistent signs when adding polarizability contributions? HOT 2
- Problem with hyperfine state computations in 39 K HOT 1
- Query about the tranistion wavelength's calculated by the ARC package. HOT 2
- AC Stark Maps HOT 4
- getRadialMatrixElement() may return wrong results for float input parameters
- Add helper function to clarify citations
- Add flake8 linter and black formatter in CI checks
- Missing magic wavelength snippet in docs HOT 1
- AttributeError: module 'numpy' has no attribute 'int'. 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 arc-alkali-rydberg-calculator.