未能在Pythonywhere中安装自定义python模块

未能在Pythonywhere中安装自定义python模块,python,module,installation,pythonanywhere,Python,Module,Installation,Pythonanywhere,所以我对蟒蛇都是新手。我试图为自己安装一个自定义python模块(),但失败了。我没有在pythonywhere中将它加载到我的文件系统中。我使用Python2.6 那么,有什么错/遗漏了: ~ $ pip2.6 install --igorsavinkin dryscrape Usage: pip install [options] <requirement specifier> [package-

所以我对蟒蛇都是新手。我试图为自己安装一个自定义python模块(),但失败了。我没有在pythonywhere中将它加载到我的文件系统中。我使用Python2.6 那么,有什么错/遗漏了:

 ~ $ pip2.6 install --igorsavinkin dryscrape                                   

Usage:   
  pip install [options] <requirement specifier> [package-index-options] ...
  pip install [options] -r <requirements file> [package-index-options] ...
  pip install [options] [-e] <vcs project url> ...
  pip install [options] [-e] <local project path> ...
  pip install [options] <archive url/path> ...

no such option: --igorsavinkin
~ $ pip2.6 install dryscrape                                                  
Collecting dryscrape
  Could not find any downloads that satisfy the requirement dryscrape
  No distributions at all found for dryscrape

我应该先将其下载到文件系统吗?

注意,Drysrape是为Python 2.7+编写的。我成功地在
pythonanywhere
中安装了
Drysrape

git clone https://github.com/niklasb/dryscrape.git dryscrape
cd dryscrape
#try this in virtualenv

virtualenv env
source env/bin/activate

pip install -r requirements.txt
然后安装干刮

python setup.py install

从doc

开始,您是否正在尝试安装
drysrape
?我认为您对第一个命令有点困惑。它应该是
pip2.6安装--user drysrape
--user
按字面意思理解,而不是用您的实际用户名替换。不管怎样,伊兹美ONTV回应中关于Python 2.7的观点可能更重要。@itmeontv,谢谢,但在Pythonywhere,我不清楚如何升级到2.7?我们正在
控制台
中尝试这一点,在
Pythonywhere
中,我在bash中得到了2.7.6默认值。但在控制台中,我们可以选择版本。
python setup.py install