Comments (4)
Hi @LuMa817
Thank you for the question. It seems like you have downloaded directly current version of the master branch. This is for development only and it doesn't come prepackaged with compiled C extension.
Instead, for installation, you should download the latest release ( https://github.com/nikolasibalic/ARC-Alkali-Rydberg-Calculator/releases ). Please download .zip that corresponds to your operating system and your Python version.
Let me know if you encounter any problems. Or, if everything works, so that I can close the thread.
Nikola
from arc-alkali-rydberg-calculator.
Hi @nikolasibalic
I downloaded the latest release and tried it again. It seems to have the same problem.
Traceback (most recent call last):
File "<pyshell#5>", line 1, in
atom=Caesium()
File "/Users/lukema/Library/Mobile Documents/comappleCloudDocs/Research/ARC_mac_x64_python35_v1_3/arc/alkali_atom_functions.py", line 172, in init
from .arc_c_extensions import NumerovWavefunction
ModuleNotFoundError: No module named 'arc.arc_c_extensions'
I do have the file "arc_c_extensions.cpython-35m-darwin.so" in the file. But I am using Python 3.6 instead of 3.5. Will this be problem ?
from arc-alkali-rydberg-calculator.
@LuMa817
I would guess that is the problem (you have Python 3.6 and package is compiled for Python 3.5). I don't have access to Mac at the moment, so you can either:
-
Try to compile yourself the extension. On Mac it should be easy, provided that you have Python development headers (python-dev) and C compiler. Then you can just enter with terminal the arc folder, where
setupc.py
is located (note that it'ssetupc.py
notsetup.py
) and callpython setupc.py build_ext --inplace
That should build required module. -
Alternatively, you can try downgrading Python to 3.5
Let me know if this doesn't resolve the problem.
from arc-alkali-rydberg-calculator.
@nikolasibalic
it works after I re-complied the C code. Thanks very much.
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.