1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. Eric Merkel
  2. Tuesday, 06 March 2018
  3.  Subscribe via email
I am trying to move an account that was using the Python Selector to a new one. Apparently when you transfer accounts it does not bring over the modules installed on the old account. I am trying to install them but I get the following error

I login as the user and then run source /home2/nwcadmin/virtualenv/public__app/2.7/bin/activate

source /home2/nwcadmin/virtualenv/public__app/2.7/bin/activate
(public_app:2.7)[[email protected] ~]$ pip install Django==1.9.7
Downloading/unpacking Django==1.9.7
Downloading Django-1.9.7-py2.py3-none-any.whl (6.6MB): 6.6MB downloaded
Installing collected packages: Django
Cleaning up...
Traceback (most recent call last):
File "/opt/alt/python27/lib/python2.7/site-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/opt/alt/python27/lib/python2.7/site-packages/pip/commands/install.py", line 307, in run
File "/opt/alt/python27/lib/python2.7/site-packages/pip/req.py", line 1440, in install
requirement.install(install_options, global_options, *args, **kwargs)
File "/opt/alt/python27/lib/python2.7/site-packages/pip/req.py", line 674, in install
File "/opt/alt/python27/lib/python2.7/site-packages/pip/req.py", line 906, in move_wheel_files
File "/opt/alt/python27/lib/python2.7/site-packages/pip/wheel.py", line 215, in move_wheel_files
clobber(source, lib_dir, True)
File "/opt/alt/python27/lib/python2.7/site-packages/pip/wheel.py", line 205, in clobber
File "/opt/alt/python27/lib64/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/opt/alt/python27/lib/python2.7/site-packages/Django-1.9.7.dist-info'

I have also tried installing the modules via the web interface and modules and it goes to a screen that says Please Wait and never completes.

Any ideas on what could be wrong?

Best regards,
Rate this post:
  1. 07.03.2018 11:03:53
  2. # 1
Posts: 212
Joined: 31.01.2017
Eric, please contact our tech support on this matter
  • Page :
  • 1

There are no replies made for this post yet.
Be one of the first to reply to this post!
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.