I installed the pyramid and successfully created the project, but when I try to add new packages to the setup.py requirements, they always give me the pkg_resources.DistributionNotFound error.
Packages are installed, and this only happens if I try to install new packages after starting. / bin / python 3.3 setup.py development. It doesn't matter what packages he has.
The only way I decided (not really) is to create a new virtual environment and install the packages before I create the project and run setup.py.
Obviously I'm doing something wrong. Is there anything I need to do next to the package, install the package? Is this some kind of problem? I am new to this, so your help would be greatly appreciated!
* Adding my installation process in case someone accidentally sees something with him. Also including my wsgi file.
Created by virtualenv easy_install-3.3 env
Activated virtualenv source env/bin/activate
Installed pyramid cd env ./bin/easy_install-3.3 pyramid
Created a project ./bin/pcreate -s starter myprojectname
Ran setup.py cd myprojectname ../bin/python3.3 setup.py develop
At this moment, I get the following error: pkg_resources.DistributionNotFound: waitress
Installed waitress ../bin/easy_install-3.3 waitress
Ran setup.py again (not sure if I should do this) ../bin/python3.3 setup.py develop
Still see the error
The My.wsgi file contains the following (not sure if this is important for this question or not): activate_this = "/home/account/env/bin/activate_this.py" execfile(activate_this,dict(__file__=activate_this))
import os import sys
path = '/home/account/env/lib/python3.3/site-packages'
if path not in sys.path: sys.path.append(path)
from pyramid.paster import get_app application = get_app('/home/account/env/myprojectname/production.ini', 'main')