Skip to content

Cannot run python capsy/cas.py #3

@meghanuyeda11

Description

@meghanuyeda11

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions