0

我已经尝试了这里列出的所有方法,但是......没有任何效果。最后,我安装了 libwxgtk3.0-gtk3-dev。而且,当我尝试安装 RIDE时,我得到了这样的反馈:

(Python_R) bruno@bruno-HP:~$ pip install robotframework-ride
Collecting robotframework-ride
  Using cached robotframework_ride-1.7.4.2-py3-none-any.whl
Collecting wxPython<=4.0.7.post2
  Using cached wxPython-4.0.7.post2.tar.gz (68.9 MB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: Pygments in ./anaconda3/envs/Python_R/lib/python3.8/site-packages (from robotframework-ride) (2.7.4)
Collecting PyPubSub
  Using cached Pypubsub-4.0.3-py3-none-any.whl (61 kB)
Requirement already satisfied: pillow in ./anaconda3/envs/Python_R/lib/python3.8/site-packages (from wxPython<=4.0.7.post2->robotframework-ride) (8.1.0)
Requirement already satisfied: six in ./anaconda3/envs/Python_R/lib/python3.8/site-packages (from wxPython<=4.0.7.post2->robotframework-ride) (1.15.0)
Requirement already satisfied: numpy in ./anaconda3/envs/Python_R/lib/python3.8/site-packages (from wxPython<=4.0.7.post2->robotframework-ride) (1.19.2)
Building wheels for collected packages: wxPython
  Building wheel for wxPython (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/bruno/anaconda3/envs/Python_R/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-fjgdv2eo/wxpython_03ef25cf72d74156b7cf3f185d671c7a/setup.py'"'"'; __file__='"'"'/tmp/pip-install-fjgdv2eo/wxpython_03ef25cf72d74156b7cf3f185d671c7a/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-ps9q74qk
       cwd: /tmp/pip-install-fjgdv2eo/wxpython_03ef25cf72d74156b7cf3f185d671c7a/
  Complete output (402 lines):
  running bdist_wheel
  running build
  WARNING: Building this way assumes that all generated files have been
  generated already.  If that is not the case then use build.py directly
  to generate the source and perform the build stage.  You can use
  --skip-build with the bdist_* or install commands to avoid this
  message and the wxWidgets and Phoenix build steps in the future.
  
  "/home/bruno/anaconda3/envs/Python_R/bin/python" -u build.py build
  Will build using: "/home/bruno/anaconda3/envs/Python_R/bin/python"
  3.8.5 (default, Sep  4 2020, 07:30:14)
  [GCC 7.3.0]
  Python's architecture is 64bit
  cfg.VERSION: 4.0.7.post2

整个信息要长得多,但我怀疑它是否非常重要。我在 linux Mint 20上有anacoda env (conda=4.10.3, pip=21.3.1) 。我已经在 env 中安装了 Python。我记得这里的版本:

(Python_R) bruno@bruno-HP:~$ pip install wxPython
Requirement already satisfied: wxPython in ./anaconda3/envs/Python_R/lib/python3.8/site-packages (4.1.1)
Requirement already satisfied: numpy in ./anaconda3/envs/Python_R/lib/python3.8/site-packages (from wxPython) (1.19.2)
Requirement already satisfied: pillow in ./anaconda3/envs/Python_R/lib/python3.8/site-packages (from wxPython) (8.1.0)
Requirement already satisfied: six in ./anaconda3/envs/Python_R/lib/python3.8/site-packages (from wxPython) (1.15.0)
(Python_R) bruno@bruno-HP:~$ 

这里可能会出现什么样的问题?怎么了?

4

0 回答 0