简体   繁体   English

没有管理员权限的Python-Jira安装

[英]Python-Jira installation without Admin rights

I am writing a python tool that should get information from Jira. 我正在编写一个应该从Jira获取信息的python工具。 I wanted to use Python-Jira but cannot install it properly. 我想使用Python-Jira,但无法正确安装。 I am using (have to use) python 2.7 which doesn't come with pip and I cannot install pip because I do not have local admin rights (and won't get them without hassle). 我正在使用(必须使用)python 2.7,它没有pip附带,并且由于没有本地管理员权限(并且没有麻烦也不会获取它们),因此无法安装pip。

Is there a way to install/use python-jira without the pip installation process? 有没有一种方法可以在没有pip安装过程的情况下安装/使用python-jira? I tried copying the jira package to the site-packages folder but it seems I run into dependency problems ('ImportError: No module named six.moves' when I try import Jira from jira) which to resolve it seems I have to follow the pip installation process. 我尝试将jira软件包复制到site-packages文件夹中,但是似乎遇到了依赖性问题(当我尝试从jira导入Jira时出现“ ImportError:没有名为six.moves的模块”),这似乎可以解决我必须遵循的问题安装过程。

Thanks for your help. 谢谢你的帮助。

Install Virtualenv and you will have your own version of Python and Pip, so you should be able to install jira-python properly. 安装Virtualenv ,您将拥有自己的Python和Pip版本,因此您应该能够正确安装jira-python。

There is a lot of guides how to do it. 有很多如何做的指南。

For Linux I recommend this one. 对于Linux,我建议使用此版本。

General Python Guide 通用Python指南

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM