Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Within VS Code the wrong python is used.

Đang mở
#5 3 bình luận 0 reaction 1 người được giao Xem trên GitHub

@Licini đang làm issue này rồi.

Từ ngày 11/5/2020.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

(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
Ngôn ngữ chính
Python
Star
6
Fork
2
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của compas-dev/compas_cloud

Tất cả issue của compas-dev/compas_cloud

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.