Thanks Eric. Also I'm seeing a "ReadTimeoutError: HTTPSConnectionPool(host='
pypi.python.org', port=443): Read timed out." so the installation did not 
finished due to a connectivity problem. Give the "source venv/bin/activate" 
and "pip install mayan-edms" commands another go and check the log for 
similar HTTP errors.
 
On Thursday, October 15, 2015 at 1:38:16 PM UTC-4, Eric Gonzalez wrote:
>
> Don't forget to install the development files for python as well. I had a 
> similar problem.
>
> On 10/15/2015 1:14 PM, Amixleau wrote:
>
> Tried to install using the instructions found here:
>
> http://mayan.readthedocs.org/en/latest/topics/installation.html
>
> I'm running Ubuntu 15.04 with the Mate desktop. Below is a copy of the 
> terminal during the install attempt. I know very little about Python and 
> don't understand what's causing the installation errors. Any help would be 
> appreciated.
> ___________________________________________
>
> ricky@ricky-Inspiron-570:~$ virtualenv
> The program 'virtualenv' is currently not installed. You can install it by 
> typing:
> sudo apt-get install virtualenv
> ricky@ricky-Inspiron-570:~$ sudo apt-get install virtualenv
> [sudo] password for ricky: 
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> The following extra packages will be installed:
>   python-chardet-whl python-colorama-whl python-distlib-whl
>   python-html5lib-whl python-pip-whl python-requests-whl 
> python-setuptools-whl
>   python-six-whl python-urllib3-whl python3-virtualenv
> The following NEW packages will be installed:
>   python-chardet-whl python-colorama-whl python-distlib-whl
>   python-html5lib-whl python-pip-whl python-requests-whl 
> python-setuptools-whl
>   python-six-whl python-urllib3-whl python3-virtualenv virtualenv
> 0 upgraded, 11 newly installed, 0 to remove and 7 not upgraded.
> Need to get 1,126 kB of archives.
> After this operation, 1,660 kB of additional disk space will be used.
> Do you want to continue? [Y/n] y
> Get:1 http://us.archive.ubuntu.com/ubuntu/ vivid/universe 
> python-chardet-whl all 2.3.0-1 [170 kB]
> Get:2 http://us.archive.ubuntu.com/ubuntu/ vivid/universe 
> python-colorama-whl all 0.3.2-1 [20.2 kB]
> Get:3 http://us.archive.ubuntu.com/ubuntu/ vivid/universe 
> python-distlib-whl all 0.1.9-1 [141 kB]
> Get:4 http://us.archive.ubuntu.com/ubuntu/ vivid/universe 
> python-html5lib-whl all 0.999-3 [109 kB]
> Get:5 http://us.archive.ubuntu.com/ubuntu/ vivid/universe python-six-whl 
> all 1.9.0-1 [12.7 kB]
> Get:6 http://us.archive.ubuntu.com/ubuntu/ vivid/universe 
> python-urllib3-whl all 1.9.1-3 [70.6 kB]
> Get:7 http://us.archive.ubuntu.com/ubuntu/ vivid/universe 
> python-requests-whl all 2.4.3-6 [231 kB]
> Get:8 http://us.archive.ubuntu.com/ubuntu/ vivid/universe 
> python-setuptools-whl all 12.2-1 [204 kB]
> Get:9 http://us.archive.ubuntu.com/ubuntu/ vivid/universe python-pip-whl 
> all 1.5.6-5ubuntu2 [112 kB]
> Get:10 http://us.archive.ubuntu.com/ubuntu/ vivid/universe 
> python3-virtualenv all 1.11.6+ds-1 [50.2 kB]
> Get:11 http://us.archive.ubuntu.com/ubuntu/ vivid/universe virtualenv all 
> 1.11.6+ds-1 [4,396 B]
> Fetched 1,126 kB in 5s (194 kB/s)       
> Selecting previously unselected package python-chardet-whl.
> (Reading database ... 274028 files and directories currently installed.)
> Preparing to unpack .../python-chardet-whl_2.3.0-1_all.deb ...
> Unpacking python-chardet-whl (2.3.0-1) ...
> Selecting previously unselected package python-colorama-whl.
> Preparing to unpack .../python-colorama-whl_0.3.2-1_all.deb ...
> Unpacking python-colorama-whl (0.3.2-1) ...
> Selecting previously unselected package python-distlib-whl.
> Preparing to unpack .../python-distlib-whl_0.1.9-1_all.deb ...
> Unpacking python-distlib-whl (0.1.9-1) ...
> Selecting previously unselected package python-html5lib-whl.
> Preparing to unpack .../python-html5lib-whl_0.999-3_all.deb ...
> Unpacking python-html5lib-whl (0.999-3) ...
> Selecting previously unselected package python-six-whl.
> Preparing to unpack .../python-six-whl_1.9.0-1_all.deb ...
> Unpacking python-six-whl (1.9.0-1) ...
> Selecting previously unselected package python-urllib3-whl.
> Preparing to unpack .../python-urllib3-whl_1.9.1-3_all.deb ...
> Unpacking python-urllib3-whl (1.9.1-3) ...
> Selecting previously unselected package python-requests-whl.
> Preparing to unpack .../python-requests-whl_2.4.3-6_all.deb ...
> Unpacking python-requests-whl (2.4.3-6) ...
> Selecting previously unselected package python-setuptools-whl.
> Preparing to unpack .../python-setuptools-whl_12.2-1_all.deb ...
> Unpacking python-setuptools-whl (12.2-1) ...
> Selecting previously unselected package python-pip-whl.
> Preparing to unpack .../python-pip-whl_1.5.6-5ubuntu2_all.deb ...
> Unpacking python-pip-whl (1.5.6-5ubuntu2) ...
> Selecting previously unselected package python3-virtualenv.
> Preparing to unpack .../python3-virtualenv_1.11.6+ds-1_all.deb ...
> Unpacking python3-virtualenv (1.11.6+ds-1) ...
> Selecting previously unselected package virtualenv.
> Preparing to unpack .../virtualenv_1.11.6+ds-1_all.deb ...
> Unpacking virtualenv (1.11.6+ds-1) ...
> Processing triggers for man-db (2.7.0.2-5) ...
> Setting up python-chardet-whl (2.3.0-1) ...
> Setting up python-colorama-whl (0.3.2-1) ...
> Setting up python-distlib-whl (0.1.9-1) ...
> Setting up python-html5lib-whl (0.999-3) ...
> Setting up python-six-whl (1.9.0-1) ...
> Setting up python-urllib3-whl (1.9.1-3) ...
> Setting up python-requests-whl (2.4.3-6) ...
> Setting up python-setuptools-whl (12.2-1) ...
> Setting up python-pip-whl (1.5.6-5ubuntu2) ...
> Setting up python3-virtualenv (1.11.6+ds-1) ...
> Setting up virtualenv (1.11.6+ds-1) ...
> ricky@ricky-Inspiron-570:~$ $ sudo apt-get install libjpeg-dev libmagic1 
> libpng- 
>
>
>
>
>
>
> dev libreoffice libtiff-dev gcc ghostscript gpgv python-dev 
> python-virtualenv tesseract-ocr unpaper poppler-utils -y
> $: command not found
> ricky@ricky-Inspiron-570:~$ sudo apt-get install libjpeg-dev libmagic1 
> libpng-dev libreoffice libtiff-dev gcc ghostscript gpgv python-dev 
> python-virtualenv tesseract-ocr unpaper poppler-utils -y
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> Note, selecting 'libpng12-dev' instead of 'libpng-dev'
> Note, selecting 'libtiff5-dev' instead of 'libtiff-dev'
> gcc is already the newest version.
> gcc set to manually installed.
> gpgv is already the newest version.
> libjpeg-dev is already the newest version.
> libjpeg-dev set to manually installed.
> libmagic1 is already the newest version.
> libtiff5-dev is already the newest version.
> libtiff5-dev set to manually installed.
> poppler-utils is already the newest version.
> libreoffice is already the newest version.
> tesseract-ocr is already the newest version.
> tesseract-ocr set to manually installed.
> unpaper is already the newest version.
> unpaper set to manually installed.
> ghostscript is already the newest version.
> The following extra packages will be installed:
>   libexpat1-dev libpython-dev libpython2.7-dev python2.7-dev
> The following NEW packages will be installed:
>   libexpat1-dev libpng12-dev libpython-dev libpython2.7-dev python-dev
>   python-virtualenv python2.7-dev
> 0 upgraded, 7 newly installed, 0 to remove and 7 not upgraded.
> Need to get 19.2 MB of archives.
> After this operation, 32.6 MB of additional disk space will be used.
> Get:1 http://us.archive.ubuntu.com/ubuntu/ vivid-updates/main 
> libexpat1-dev amd64 2.1.0-6ubuntu1.1 [115 kB]
> Get:2 http://us.archive.ubuntu.com/ubuntu/ vivid/main libpython2.7-dev 
> amd64 2.7.9-2ubuntu3 [18.6 MB]
> Get:3 http://us.archive.ubuntu.com/ubuntu/ vivid/main libpng12-dev amd64 
> 1.2.51-0ubuntu3 [208 kB]
> Get:4 http://us.archive.ubuntu.com/ubuntu/ vivid/main libpython-dev amd64 
> 2.7.9-1 [7,836 B]
> Get:5 http://us.archive.ubuntu.com/ubuntu/ vivid/main python2.7-dev amd64 
> 2.7.9-2ubuntu3 [270 kB]
> Get:6 http://us.archive.ubuntu.com/ubuntu/ vivid/main python-dev amd64 
> 2.7.9-1 [1,220 B]
> Get:7 http://us.archive.ubuntu.com/ubuntu/ vivid/universe 
> python-virtualenv all 1.11.6+ds-1 [50.9 kB]
> Fetched 19.2 MB in 2min 1s (159 
> kB/s)                                          
> Selecting previously unselected package libexpat1-dev:amd64.
> (Reading database ... 274081 files and directories currently installed.)
> Preparing to unpack .../libexpat1-dev_2.1.0-6ubuntu1.1_amd64.deb ...
> Unpacking libexpat1-dev:amd64 (2.1.0-6ubuntu1.1) ...
> Selecting previously unselected package libpython2.7-dev:amd64.
> Preparing to unpack .../libpython2.7-dev_2.7.9-2ubuntu3_amd64.deb ...
> Unpacking libpython2.7-dev:amd64 (2.7.9-2ubuntu3) ...
> Selecting previously unselected package libpng12-dev:amd64.
> Preparing to unpack .../libpng12-dev_1.2.51-0ubuntu3_amd64.deb ...
> Unpacking libpng12-dev:amd64 (1.2.51-0ubuntu3) ...
> Selecting previously unselected package libpython-dev:amd64.
> Preparing to unpack .../libpython-dev_2.7.9-1_amd64.deb ...
> Unpacking libpython-dev:amd64 (2.7.9-1) ...
> Selecting previously unselected package python2.7-dev.
> Preparing to unpack .../python2.7-dev_2.7.9-2ubuntu3_amd64.deb ...
> Unpacking python2.7-dev (2.7.9-2ubuntu3) ...
> Selecting previously unselected package python-dev.
> Preparing to unpack .../python-dev_2.7.9-1_amd64.deb ...
> Unpacking python-dev (2.7.9-1) ...
> Selecting previously unselected package python-virtualenv.
> Preparing to unpack .../python-virtualenv_1.11.6+ds-1_all.deb ...
> Unpacking python-virtualenv (1.11.6+ds-1) ...
> Processing triggers for man-db (2.7.0.2-5) ...
> Setting up libexpat1-dev:amd64 (2.1.0-6ubuntu1.1) ...
> Setting up libpython2.7-dev:amd64 (2.7.9-2ubuntu3) ...
> Setting up libpng12-dev:amd64 (1.2.51-0ubuntu3) ...
> Setting up libpython-dev:amd64 (2.7.9-1) ...
> Setting up python2.7-dev (2.7.9-2ubuntu3) ...
> Setting up python-dev (2.7.9-1) ...
> Setting up python-virtualenv (1.11.6+ds-1) ...
> ricky@ricky-Inspiron-570:~$ virtualenv venv
> Running virtualenv with interpreter /usr/bin/python2
> New python executable in venv/bin/python2
> Also creating executable in venv/bin/python
> Installing setuptools, pip...done.
> ricky@ricky-Inspiron-570:~$ source venv/bin/activate
> (venv)ricky@ricky-Inspiron-570:~$ pip install mayan-edms
> Downloading/unpacking mayan-edms
>   Downloading mayan_edms-1.1.1-py2-none-any.whl (5.8MB): 5.8MB downloaded
> Downloading/unpacking Django==1.6.11 (from mayan-edms)
>   Downloading Django-1.6.11-py2.py3-none-any.whl (6.7MB): 6.7MB downloaded
> Downloading/unpacking requests==2.4.3 (from mayan-edms)
>   Downloading requests-2.4.3-py2.py3-none-any.whl (459kB): 459kB downloaded
> Downloading/unpacking django-pagination==1.0.7 (from mayan-edms)
>   Downloading django-pagination-1.0.7.tar.gz
>   Running setup.py (path:/tmp/pip-build-u31yKw/django-pagination/setup.py) 
> egg_info for package django-pagination
>     
> Downloading/unpacking django-sendfile==0.3.6 (from mayan-edms)
>   Downloading django-sendfile-0.3.6.tar.gz
>   Running setup.py (path:/tmp/pip-build-u31yKw/django-sendfile/setup.py) 
> egg_info for package django-sendfile
>     
> Downloading/unpacking python-magic==0.4.6 (from mayan-edms)
>   Downloading python-magic-0.4.6.tar.gz
>   Running setup.py (path:/tmp/pip-build-u31yKw/python-magic/setup.py) 
> egg_info for package python-magic
>     
> Downloading/unpacking python-hkp==0.1.3 (from mayan-edms)
>   Downloading python-hkp-0.1.3.tar.gz
>   Running setup.py (path:/tmp/pip-build-u31yKw/python-hkp/setup.py) 
> egg_info for package python-hkp
>     
> Downloading/unpacking Pillow==2.6.1 (from mayan-edms)
>   Downloading Pillow-2.6.1.tar.gz (7.3MB): 7.3MB downloaded
>   Running setup.py (path:/tmp/pip-build-u31yKw/Pillow/setup.py) egg_info 
> for package Pillow
>     
>     warning: no files found matching '*.yaml'
>     warning: no files found matching '*.bdf' under directory 'Images'
>     warning: no files found matching '*.fli' under directory 'Images'
>     warning: no files found matching '*.gif' under directory 'Images'
>     warning: no files found matching '*.icns' under directory 'Images'
>     warning: no files found matching '*.ico' under directory 'Images'
>     warning: no files found matching '*.jpg' under directory 'Images'
>     warning: no files found matching '*.pbm' under directory 'Images'
>     warning: no files found matching '*.pil' under directory 'Images'
>     warning: no files found matching '*.png' under directory 'Images'
>     warning: no files found matching '*.ppm' under directory 'Images'
>     warning: no files found matching '*.psd' under directory 'Images'
>     warning: no files found matching '*.tar' under directory 'Images'
>     warning: no files found matching '*.webp' under directory 'Images'
>     warning: no files found matching '*.xpm' under directory 'Images'
>     warning: no files found matching 'README' under directory 'Sane'
>     warning: no files found matching 'README' under directory 'Scripts'
>     warning: no files found matching '*.icm' under directory 'Tests'
>     warning: no files found matching '*.txt' under directory 'Tk'
> Downloading/unpacking django-mptt==0.6.1 (from mayan-edms)
>   Downloading django-mptt-0.6.1.tar.gz (111kB): 111kB downloaded
>   Running setup.py (path:/tmp/pip-build-u31yKw/django-mptt/setup.py) 
> egg_info for package django-mptt
>     
>     warning: no files found matching '*.json' under directory 'mptt'
>     no previously-included directories found matching '.tox'
> Downloading/unpacking unicode-slugify==0.1.1 (from mayan-edms)
>   Downloading unicode-slugify-0.1.1.tar.gz
>   Running setup.py (path:/tmp/pip-build-u31yKw/unicode-slugify/setup.py) 
> egg_info for package unicode-slugify
>     
> Downloading/unpacking django-compressor==1.4 (from mayan-edms)
>   Downloading django_compressor-1.4-py2.py3-none-any.whl (114kB): 114kB 
> downloaded
> Downloading/unpacking GitPython==0.3.2.RC1 (from mayan-edms)
>   Downloading GitPython-0.3.2.RC1.tar.gz (313kB): 313kB downloaded
>   Running setup.py (path:/tmp/pip-build-u31yKw/GitPython/setup.py) 
> egg_info for package GitPython
>     
> /home/ricky/venv/local/lib/python2.7/site-packages/setuptools/dist.py:291: 
> UserWarning: The version specified ('0.3.2 RC1') is an invalid version, 
> this may not work as expected with newer versions of setuptools, pip, and 
> PyPI. Please see PEP 440 for more details.
>       "details." % self.metadata.version
>     
>     warning: no files found matching 'README'
> Downloading/unpacking cssmin==0.2.0 (from mayan-edms)
>   Downloading cssmin-0.2.0.tar.gz
>   Running setup.py (path:/tmp/pip-build-u31yKw/cssmin/setup.py) egg_info 
> for package cssmin
>     
>     warning: no previously-included files matching '.DS_Store' found 
> anywhere in distribution
> Downloading/unpacking South==1.0.2 (from mayan-edms)
>   Downloading South-1.0.2.tar.gz (96kB): 96kB downloaded
>   Running setup.py (path:/tmp/pip-build-u31yKw/South/setup.py) egg_info 
> for package South
>     
> Downloading/unpacking psutil==2.1.3 (from mayan-edms)
>   Downloading psutil-2.1.3.tar.gz (224kB): 224kB downloaded
>   Running setup.py (path:/tmp/pip-build-u31yKw/psutil/setup.py) egg_info 
> for package psutil
>     
>     warning: no previously-included files matching '*' found under 
> directory 'docs/_build'
> Downloading/unpacking django-celery==3.1.16 (from mayan-edms)
>   Downloading django_celery-3.1.16-py2-none-any.whl (65kB): 65kB downloaded
> Downloading/unpacking django-activity-stream==0.5.1 (from mayan-edms)
>   Downloading django-activity-stream-0.5.1.tar.gz
>   Running setup.py 
> (path:/tmp/pip-build-u31yKw/django-activity-stream/setup.py) egg_info for 
> package django-activity-stream
>     
> Downloading/unpacking pycountry==1.8 (from mayan-edms)
>   Downloading pycountry-1.8.zip (8.1MB): 7.0MB downloaded
> Cleaning up...
> Exception:
> Traceback (most recent call last):
>   File 
> "/home/ricky/venv/local/lib/python2.7/site-packages/pip/basecommand.py", 
> line 122, in main
>     status = self.run(options, args)
>   File 
> "/home/ricky/venv/local/lib/python2.7/site-packages/pip/commands/install.py", 
> line 304, in run
>     requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, 
> bundle=self.bundle)
>   File "/home/ricky/venv/local/lib/python2.7/site-packages/pip/req.py", 
> line 1198, in prepare_files
>     do_download,
>   File "/home/ricky/venv/local/lib/python2.7/site-packages/pip/req.py", 
> line 1376, in unpack_url
>     self.session,
>   File 
> "/home/ricky/venv/local/lib/python2.7/site-packages/pip/download.py", line 
> 572, in unpack_http_url
>     download_hash = _download_url(resp, link, temp_location)
>   File 
> "/home/ricky/venv/local/lib/python2.7/site-packages/pip/download.py", line 
> 433, in _download_url
>     for chunk in resp_read(4096):
>   File 
> "/home/ricky/venv/local/lib/python2.7/site-packages/pip/download.py", line 
> 421, in resp_read
>     chunk_size, decode_content=False):
>   File 
> "/home/ricky/venv/lib/python-wheels/urllib3-1.9.1-py2.py3-none-any.whl/urllib3/response.py",
>  
> line 256, in stream
>     data = self.read(amt=amt, decode_content=decode_content)
>   File 
> "/home/ricky/venv/lib/python-wheels/urllib3-1.9.1-py2.py3-none-any.whl/urllib3/response.py",
>  
> line 210, in read
>     raise ReadTimeoutError(self._pool, None, 'Read timed out.')
> ReadTimeoutError: HTTPSConnectionPool(host='pypi.python.org', port=443): 
> Read timed out.
>
> Storing debug log for failure in /home/ricky/.pip/pip.log
> (venv)ricky@ricky-Inspiron-570:~$ mayan-edms.py initialsetup
> mayan-edms.py: command not found
> (venv)ricky@ricky-Inspiron-570:~$ 
>
> -- 
>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Mayan EDMS" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to