Installing python module from source

  1. Download the module. It usually comes as a tar.gz or zip file (for example, markdown).
  2. Uncompress the file (using The Unarchiver, winzip, the Linux command tar -zxvf archive_name.tar.gz, ...).
  3. cd to the newly extracted directory. In this directory, there should be a file called setup.py
  4. Type $ python setup.py install.
  5. If you do not have admin rights, you might need to specify a folder where the module will be installed $ python setup.py install --home=path/to/new/INSTALL_DIRECTORY/. In addition, the specified INSTALL_DIRECTORY must be added to the python path. In cshell, this can be done for example by adding a line in the .cshrc file (setenv PYTHONPATH path/to/new/INSTALL_DIRECTORY:${PYTHONPATH}
  6. )

Comments

  1. Contact Northwood Tech for information about the expert occupations and industries in Northwest Wisconsin and advice in regards to the necessities and software procedures. Northwood Tech works carefully with regional apprenticeship places of work , business and business, and local labor union places of work. Jaycon Systems specializes in bringing hardware Luggage Sets products to life by offering a whole service line that takes product concepts to mass production. Injection molding parameters aren't the one method to rectify the molding process. Constraints like dimensional inaccuracies, warpage, sink marks, and shrinkage can be taken care of partly with the help of mold design.

    ReplyDelete

Post a Comment

Popular Posts