大家好,我正试着在苹果电脑python2.7中使用biopython。
我想我成功安装了Biopython,因为当我用
键入import Bio
输入from Bio.seq import seq
时没有输出
这是个错误。你知道吗
from Bio.seq import seq
>>> import Bio
>>> from Bio.seq import seq
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named seq
>>>
我认为我的道路是正确的,因为当我进入它的工作。你知道吗
有人知道可能的原因吗??你知道吗
我的道路是
gwagjunseong-ui-MacBook-Pro:~ warren$ echo $PATH
/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/ncbi/blast/bin
我安装了numpy
并测试了它
但它会出错
gwagjunseong-ui-MacBook-Pro:~ warren$ python -c 'import numpy ; numpy.test();'
Running unit tests for numpy
NumPy version 1.10.1
NumPy relaxed strides checking option: True
NumPy is installed in /usr/local/lib/python2.7/site-packages/numpy
Python version 2.7.10 (default, Oct 17 2015, 23:05:16) [GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.72)]
nose version 1.3.7
......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................S.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................K...SK.S.......S...................................................................................clang: warning: -Wl,-rpath=/var/folders/v5/r7mmsbgj5gx7dll0gh_dx9j80000gn/T/tmpQMBhw4/libbar.so: 'linker' input unused
...SS................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................S..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................S......................................................................................................................S.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E
======================================================================
ERROR: test_scripts.test_f2py
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/usr/local/lib/python2.7/site-packages/numpy/testing/decorators.py", line 146, in skipper_func
return f(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/numpy/tests/test_scripts.py", line 68, in test_f2py
code, stdout, stderr = run_command([f2py_cmd, '-v'])
File "/usr/local/lib/python2.7/site-packages/numpy/tests/test_scripts.py", line 48, in run_command
proc = Popen(cmd, stdout=PIPE, stderr=PIPE)
File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
有人知道原因吗?你知道吗
非常感谢!!!你知道吗
numpy
安装没有问题。Python语言区分大小写:Seq是大写。你知道吗
相关问题 更多 >
编程相关推荐