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

使用pip安装visualdl错误 #1246

Closed
litongjava opened this issue Apr 8, 2023 · 2 comments
Closed

使用pip安装visualdl错误 #1246

litongjava opened this issue Apr 8, 2023 · 2 comments

Comments

@litongjava
Copy link

执行命令
python -m pip install visualdl -i https://mirror.baidu.com/pypi/simple
python version 3.8
server version ubuntu 20.0.4
error log

  Preparing metadata (setup.py) ... done
  Downloading https://mirror.baidu.com/pypi/packages/73/1b/513d05b856c32565fea7cd02c10c9deb09aee4d4969ca57e3e86ae12055e/gevent-0.13.8.tar.gz (300 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 300.1/300.1 kB 4.3 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [7 lines of output]
      Traceback (most recent call last):
        File "<string>", line 36, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-x49qd_sd/gevent_8d88b2380d4649aaa64e3af26e513efb/setup.py", line 95
          print 'Linking %s to %s' % (path_to_build_core_so, path_to_core_so)
                                 ^
      SyntaxError: invalid syntax
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
[root@ping-Inspiron-3458 ~]# 
@rainyfly
Copy link
Collaborator

rainyfly commented May 4, 2023

用conda重新创建一个环境安装试试

@rainyfly
Copy link
Collaborator

rainyfly commented Jun 5, 2023

已修复。

@rainyfly rainyfly closed this as completed Jun 5, 2023
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

2 participants