Help "Install" module for Python using WGET

I am trying to configure this python library and it is very hard for me. I suspect this is because I am a hobby programmer, but in the past I have successfully used programs on the command line. I am using Windows and Python 2.6.

The help shown below is taken from the website.

wget http://pypi.python.org/packages/source/y/yql/yql-0.2.tar.gz
tar -xzf yql-0.2.tar.gz
cd yql-0.2
python setup.py install

Through a series of Google searches, this seems to be for Unix / Mac teams. My previous process did not work, so I'm looking for all the help I can get.

Thank you very much in advance!

  • Brock

Here is the error:

>>> import yql
Traceback (most recent call last):
  File "<interactive input>", line 1, in <module>
  File "c:\python25\lib\site-packages\yql-0.6-py2.5.egg\yql\__init__.py", line 201, in <module>
    class Public(object):
  File "c:\python25\lib\site-packages\yql-0.6-py2.5.egg\yql\__init__.py", line 229, in Public
    @scheme.setter
AttributeError: 'property' object has no attribute 'setter'
+3
source share
4 answers

These are, of course, Unix / Linux commands for installing the python module. Installation in windows is very similar. Follow the instructions below.

  • Download the library from the website.
  • Winzip WinRAR.
  • foo-0.2. script setup.py
  • cd
  • python setup.py

http://docs.python.org/release/2.6/install/index.html

+3

? ? .

Debian Unix-

  • sudo pip install <module_name> .
  • sudo easy_install <module_name>
  • sudo apt-get install <module_name>
  • , . .

, root access. . . .

+2

setuptools (. setuptools pypi) C:\Python26\Scripts PATH,

easy_install yql-0.2.tar.gz

.

, , :

easy_install yql

yql .

+1

wget - wget Python.

tar

cd

python setup.py install

wget Python

-1

Source: https://habr.com/ru/post/1769152/


All Articles