1

I downloaded the python-ntlm-1.0.tar.gz and am trying to install. I extracted the .tar file to its own directory (C:\python-ntlm-1.0) and executed the following command in the command prompt from that directory:

C:\python27\python.exe C:\Python27\Tools\Scripts\setup.py install

I get the following output:

running install
running build
running build_scripts
error: file 'C:\python-ntlm-1.0\byteyears.py' does not exist

I looked for that file and found it in my scripts directory and put the .tar in the scripts directory and tried it again, but it did not actually install it because when I execute my python script I continue to get ImportError: No module named ntlm.

Any help would be greatly appreciated.

1 Answer 1

4

You need to read up on handling archives. See the tar.gz section of that linked doc. You've only uncompressed the tar file, not extracted the contained files.

Sign up to request clarification or add additional context in comments.

3 Comments

I tried that put there was not a setup.py file in the gz only the tar in the gz file. Should there have been?
There's your problem, clarified the answer.
Thank you, that was my issue. Note, I also had to download and install distribute-0.6.21 because it was dependent on setuptools.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.