login about faq

hi Chilkat,


This Python version 3.5, under virtualenv
This system: Darwin
This processor: x86_64
Traceback (most recent call last)

  File "/chilkat-python-mac/installChilkat.py", line 87, in <module>
    spDir = site.getusersitepackages()
AttributeError: module 'site' has no attribute 'getusersitepackages'

asked Aug 19 '16 at 08:49

chilkat's gravatar image

chilkat ♦♦

The site.getusersitepackages() SHOULD be present in Python 3.5. See here: https://docs.python.org/3/library/site.html

A workaround is to manually copy the chilkat.py and _chilkat.so files to the Python 3.5 site packages directory.


answered Aug 19 '16 at 08:57

chilkat's gravatar image

chilkat ♦♦

Chilkat, you have forgot to mention that it is only happens if VIRTUALENV used. Please see https://github.com/pypa/virtualenv/issues/804


answered Aug 19 '16 at 09:55

dimko's gravatar image


Yes... it's mind-blowing that such complex apparatus and machinery exists for what boils down to the simple task of copying 2 files from one directory to another...

(Aug 19 '16 at 09:58) chilkat ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Aug 19 '16 at 08:49

Seen: 2,305 times

Last updated: Aug 19 '16 at 09:58

powered by OSQA