Comments (9)
hey!
i'm running 64 bit windows, but it was indeed a config issue.
after trying to a while, i ran vanila code from the console as you suggested. it ran fine.
i was trying to run from pycharm, and was failing.
eventually i deleted the pycharm configuration file and created a new conda environment and that fixed the issue.
thanks!
from arc-alkali-rydberg-calculator.
This might be only the problem in incorrect use of Appveyor? I will comment out for now Appveyor check (ae37bbf).
I will be able to do more checks on Windows on Friday. If anyone experiences this error under Windows, and has more information (full traceback etc), please let me know. On the machine where it was originally spotted, there was a problem with old installation of Numpy library, that was solved with conda update numpy
.
from arc-alkali-rydberg-calculator.
Just to offer another datapoint on this, I just upgraded from v1.3 to v2.0.0 on pip. I can import NumerovWavefunction without error. However, I'm not sure the binary installed correctly. v1.3 had a build folder with an actual .lib file. My v2.0.0 pip installation only has the .pyd for the c_extensions.
from arc-alkali-rydberg-calculator.
@dihm Thanks for insight! If you can run this line in Python:
from arc import * ;atom=Caesium();a1,b1 = atom.radialWavefunction(0,0.5,0.5,atom.getEnergy(15, 0, 0.5)/27.211,atom.alphaC**(1/3.0),2.0*15*(15+15.0), 0.001)
without errors, everything is fine. If it does produce some errors (or quits unexpectedly Python or kills kernel), please let me know (together with Windows version).
from arc-alkali-rydberg-calculator.
The above ran without errors for me.
from arc-alkali-rydberg-calculator.
Status update: pip installation on Windows seems to work after all. The problems I saw seem not to be related to ARC package itself, but to outdated Python environment on the particular machine.
I will keep this open for a while if someone experiences related issues, until I have time to check on more different installations myself.
from arc-alkali-rydberg-calculator.
No new problems reported. Closing this for now.
from arc-alkali-rydberg-calculator.
hey,
i'm encountering the same issue on a windows machine.
i've been having tons of config issues though, so it may just be the mess i made...
Traceback (most recent call last): File "C:\Users\Gal\Anaconda3\envs\scientific_project1\lib\site-packages\IPython\core\interactiveshell.py", line 3265, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File "<ipython-input-3-b8684d83140b>", line 1, in <module> arc.Rubidium87() File "C:\Users\Gal\Anaconda3\envs\scientific_project1\lib\site-packages\arc\alkali_atom_functions.py", line 175, in __init__ from .arc_c_extensions import NumerovWavefunction File "C:\Users\Gal\AppData\Local\JetBrains\Toolbox\apps\PyCharm-P\ch-0\182.4505.26\helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 20, in do_import module = self._system_import(name, *args, **kwargs) ImportError: No module named 'arc.arc_c_extensions'
from arc-alkali-rydberg-calculator.
Hi Gal! @galwiner
Let me know please which Windows you have (32/64), and which Python version you are using. Did you installed latest version via pip (should be 2.0.4)?
Also, are you running from some special environment (like Spyder)? If so, have you tried running vanila code, just by calling
python your_code.py
from command line?
from arc-alkali-rydberg-calculator.
Related Issues (20)
- 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
- Quantum defect for G9/2 states in Caesium return 0 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.