I am trying to setup this python library and am having a very hard time. I suspect it is because I am a hobby programmer, but I have successfully installed programs in the past using the command line. I am using Windows and Python 2.6.
The help that is 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
In doing a number of Google searches, it seems that this is for Unix/Mac commands. My previous process has not worked, so I am looking for all of the help I can get.
Many thanks in advance!
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'
Open File Explorer and find the wget.exe file you downloaded, then copy and paste it to the C:\Windows\System32 directory to add wget.exe to the PATH environment variable.
The best and recommended way to install Python modules is to use pip, the Python package manager. Otherwise: Download get-pip.py from https://bootstrap.pypa.io/get-pip.py. Run python get-pip.py.
Those are definately Unix/Linux commands to install python module. The installation in windows is pretty much similar. Follow the instructions given below
Also check the following link for more detailed instructions
http://docs.python.org/release/2.6/install/index.html
What's the error message? Also what OS are you using? The install instructions seem fine.
In Debian & in most Unix Systems you could also these -
sudo pip install <module_name>
to install any module.sudo easy_install <module_name>
sudo apt-get install <module_name>
Maybe you don't have root access. Package installation needs that. Post more info for more constructive comments. All the best.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With