Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Within VS Code the wrong python is used.

未关闭
#5 3 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@Licini 已经在做这个了。

开始于 2020年5月11日。

评估

这个 Issue 还没有评估数据。

描述

(fofin) vanmelet@Tom-Van-Meles-MacBook-Pro compas-FormFinder % /Users/vanmelet/anaconda3/envs/fofin/bin/python /Users/vanmelet/Code/compas-FormFinder/scripts/02_fofin_fd_rhino.py
Starting new cloud server in background at 127.0.0.1:9000
Traceback (most recent call last):
  File "/Users/vanmelet/Code/compas_cloud/src/compas_cloud/proxy.py", line 214, in start_server
    client = Client(self.host, self.port)
  File "/Users/vanmelet/Code/compas_cloud/src/compas_cloud/client_websockets.py", line 28, in __init__
    asyncio.get_event_loop().run_until_complete(connect())
  File "/Users/vanmelet/anaconda3/envs/fofin/lib/python3.7/asyncio/base_events.py", line 583, in run_until_complete
    return future.result()
  File "/Users/vanmelet/Code/compas_cloud/src/compas_cloud/client_websockets.py", line 27, in connect
    self.websocket = await websockets.connect(uri, max_size=2**30)
  File "/Users/vanmelet/anaconda3/envs/fofin/lib/python3.7/site-packages/websockets/client.py", line 535, in __await_impl__
    transport, protocol = await self._create_connection()
  File "/Users/vanmelet/anaconda3/envs/fofin/lib/python3.7/asyncio/base_events.py", line 958, in create_connection
    raise exceptions[0]
  File "/Users/vanmelet/anaconda3/envs/fofin/lib/python3.7/asyncio/base_events.py", line 945, in create_connection
    await self.sock_connect(sock, address)
  File "/Users/vanmelet/anaconda3/envs/fofin/lib/python3.7/asyncio/selector_events.py", line 473, in sock_connect
    return await fut
  File "/Users/vanmelet/anaconda3/envs/fofin/lib/python3.7/asyncio/selector_events.py", line 503, in _sock_connect_cb
    raise OSError(err, f'Connect call failed {address}')
ConnectionRefusedError: [Errno 61] Connect call failed ('127.0.0.1', 9000)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/vanmelet/Code/compas-FormFinder/scripts/02_fofin_fd_rhino.py", line 34, in <module>
    proxy = Proxy()
  File "/Users/vanmelet/Code/compas_cloud/src/compas_cloud/proxy.py", line 90, in __init__
    self.client = self.start_server()
  File "/Users/vanmelet/Code/compas_cloud/src/compas_cloud/proxy.py", line 224, in start_server
    raise RuntimeError(err.decode())
RuntimeError: /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: No module named compas_cloud
主要语言
Python
星标
6
派生
2
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

compas-dev/compas_cloud 的其他 Issue

查看 compas-dev/compas_cloud 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。