Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run python capsy/cas.py #3

Open
meghanuyeda11 opened this issue Aug 2, 2024 · 0 comments
Open

Cannot run python capsy/cas.py #3

meghanuyeda11 opened this issue Aug 2, 2024 · 0 comments

Comments

@meghanuyeda11
Copy link

Hi, please let me know if you can help me. I have installed all the things properly to my knowledge(java, python, pip, orbetpy) and still cannot run this because it always gives this error: "Traceback (most recent call last):
File "C:\Users\meghuyed\Downloads\caspy-develop\caspy-develop\caspy\cas.py", line 24, in
from orbdetpy.conversion import get_J2000_epoch_offset, get_UTC_string
File "C:\Users\meghuyed\AppData\Local\Programs\Python\Python39\lib\site-packages\orbdetpy\conversion.py", line 297, in
_conversion_stub = ConversionStub(RemoteServer.channel())
File "C:\Users\meghuyed\AppData\Local\Programs\Python\Python39\lib\site-packages\orbdetpy\rpc\server.py", line 61, in channel
RemoteServer.connect()
File "C:\Users\meghuyed\AppData\Local\Programs\Python\Python39\lib\site-packages\orbdetpy\rpc\server.py", line 51, in connect
cls.rpc_server = Popen([java_exec, "-Xmx2G", "-XX:+UseG1GC", "-jar", _jar_file, rpc_port, data_dir])
File "C:\Users\meghuyed\AppData\Local\Programs\Python\Python39\lib\site-packages\psutil_init
.py", line 1387, in init
self.__subproc = subprocess.Popen(*args, **kwargs)
File "C:\Users\meghuyed\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\meghuyed\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 1420, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant