GH_python remote ghpythonremote user object missing during installment

In the Anaconda command prompt is shows an AttributeError: ‘module’ object has no attribute ‘main.’ Also, what happens is that the command does not install the ghpythonremote user object.

Does somebody knows what I might do wrong (I use the install manual for the ghpythonremote, see link below)?

(rhinoremote) C:\Users\Ed>python -m ghpythonremote._configure_ironpython_installation "C:\Users\Ed\AppData\Roaming\McNeel\Rhinoceros\6.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings"


This will install ghpythonremote in Rhino IronPython with the command:
pip install --upgrade --target=C:\Users\Ed\AppData\Roaming\McNeel\Rhinoceros\6.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings --no-binary=:all: --no-compile --ignore-requires-python --process-dependency-links gh-python-remote
Traceback (most recent call last):
  File "C:\Users\Ed\Anaconda3\envs\rhinoremote\lib\runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "C:\Users\Ed\Anaconda3\envs\rhinoremote\lib\runpy.py", line 72, in _run_code
    exec code in run_globals
  File "C:\Users\Ed\Anaconda3\envs\rhinoremote\lib\site-packages\ghpythonremote\_configure_ironpython_installation.py", line 25, in <module>
    pip.main(pip_cmd)
AttributeError: 'module' object has no attribute 'main'

gh-python-remote (install manual)

Follow the guide provided in the following link:
https://wiki.mcneel.com/grasshopper/cpython#setup_an_anaconda_virtual_environment_running_cpython_275

is numpy the reason you wanna use ghpython_remote?

1 Like

Yes, but also for all the other python stuff

Check this out

1 Like