新手求助关于 python

软件和网站开发以及相关技术探讨
回复
yimaizhe
帖子: 48
注册时间: 2011-05-05 16:38

新手求助关于 python

#1

帖子 yimaizhe » 2011-05-23 12:22

bhli@ubuntu:~/EXEDIR$ sudo easy_install birdsuite-1.0-py2.5.egg
Processing birdsuite-1.0-py2.5.egg
Removing /usr/local/lib/python2.6/dist-packages/birdsuite-1.0-py2.5.egg
Copying birdsuite-1.0-py2.5.egg to /usr/local/lib/python2.6/dist-packages
birdsuite 1.0 is already the active version in easy-install.pth
Installing cn_locus_summarize script to /usr/local/bin
Installing cn_create_exclude_list script to /usr/local/bin
Installing cn_probeset_summarize script to /usr/local/bin
Installing birdsuite_report script to /usr/local/bin
Installing birdseedqc script to /usr/local/bin
Installing cn_annotate_allele_summary script to /usr/local/bin
Installing initializeCNGaussians script to /usr/local/bin
Installing post_birdseye script to /usr/local/bin
Installing pre_birdseye script to /usr/local/bin
Installing birdsuite_qc script to /usr/local/bin
Installing cn_create_illumnia_exclude_list script to /usr/local/bin

Installed /usr/local/lib/python2.6/dist-packages/birdsuite-1.0-py2.5.egg
Processing dependencies for birdsuite==1.0
Searching for birdsuite==1.0
Reading http://pypi.python.org/simple/birdsuite/
No local packages or download links found for birdsuite==1.0
Best match: None
Traceback (most recent call last):
File "/usr/local/bin/easy_install", line 8, in <module>
load_entry_point('setuptools==0.6c11', 'console_scripts', 'easy_install')()
File "/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py", line 1712, in main

File "/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py", line 1700, in with_ei_usage

File "/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py", line 1716, in <lambda>

File "/usr/lib/python2.6/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/lib/python2.6/distutils/dist.py", line 975, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
cmd_obj.run()
File "/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py", line 211, in run

File "/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py", line 427, in easy_install

File "/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py", line 478, in install_item

File "/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py", line 519, in process_distribution

File "/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 563, in resolve
plugin_env, full_env=None, installer=None, fallback=True
File "/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 799, in best_match

File "/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 811, in obtain
self.add(other)
File "/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py", line 434, in easy_install

File "/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg/setuptools/package_index.py", line 475, in fetch_distribution
AttributeError: 'NoneType' object has no attribute 'clone'



出现上面这种情况是什么原因呢?各位大虾,给点建议,多谢!
头像
lilydjwg
论坛版主
帖子: 4250
注册时间: 2009-04-11 23:46
系统: Arch Linux
联系:

Re: 新手求助关于 python

#2

帖子 lilydjwg » 2011-05-23 13:20

No local packages or download links found for birdsuite==1.0
Best match: None
yimaizhe
帖子: 48
注册时间: 2011-05-05 16:38

Re: 新手求助关于 python

#3

帖子 yimaizhe » 2011-05-23 16:02

lilydjwg 写了:
No local packages or download links found for birdsuite==1.0
Best match: None
[/

I change the language support to English,whereas I do not know it can not type chinese characters .

I have got these two egg files<birdsuite-1.0-py2.5.egg,mpgutils-0.7-py2.5.egg>, which are zip file format.
I do not know whether or not the egg file are all in zip format, so I detail it more precisely.
My OS is ubuntu10.10,and I installed the python2.6 by the command: sudo apt-get install python without any changes to the path or else.

These two egg files are in /home/bhli/EXEDIR, and my question is ?
whether or not these two eggs can be installed into the EXEDIR directory,how should I enter the command?
Attached are the screenshot of the egg file
附件
egg3.png
egg2.png
egg.png
egg.png (11.6 KiB) 查看 1411 次
egg1.png
头像
remeber
论坛版主
帖子: 13030
注册时间: 2009-01-06 15:18
来自: 人间

Re: 新手求助关于 python

#4

帖子 remeber » 2011-05-23 16:12

回复有 云输入法
“有一种被人抛诸脑后的过去,包含一些不该遗忘的点点滴滴。欢笑之余,我将故旧拾起,才刹见自己的薄情。人世间似乎存在着某种公平,每个人都曾被抛掷在他人的遗忘中;而今你所有哽咽难宣的话语,也正是你曾为人所期盼,却永远听不见的字句。” —赫曼 赫塞
yimaizhe
帖子: 48
注册时间: 2011-05-05 16:38

Re: 新手求助关于 python

#5

帖子 yimaizhe » 2011-05-23 16:34

remeber 写了:回复有 云输入法

谢谢,果然不错
能说说该怎么解答上面的问题不?
头像
remeber
论坛版主
帖子: 13030
注册时间: 2009-01-06 15:18
来自: 人间

Re: 新手求助关于 python

#6

帖子 remeber » 2011-05-23 16:43

ez_setup.py是安装用的?
“有一种被人抛诸脑后的过去,包含一些不该遗忘的点点滴滴。欢笑之余,我将故旧拾起,才刹见自己的薄情。人世间似乎存在着某种公平,每个人都曾被抛掷在他人的遗忘中;而今你所有哽咽难宣的话语,也正是你曾为人所期盼,却永远听不见的字句。” —赫曼 赫塞
回复