Profile Picture

Python extension libraries

Posted By RobertoColombo 6 Months Ago
You don't have permission to rate!
Author
Message
RobertoColombo
RobertoColombo
Posted 6 Months Ago
View Quick Profile
Distinguished Member

Distinguished Member (7.3K reputation)Distinguished Member (7.3K reputation)Distinguished Member (7.3K reputation)Distinguished Member (7.3K reputation)Distinguished Member (7.3K reputation)Distinguished Member (7.3K reputation)Distinguished Member (7.3K reputation)Distinguished Member (7.3K reputation)Distinguished Member (7.3K reputation)

Group: Forum Members
Last Active: 5 days ago
Posts: 1.6K, Visits: 3.0K
Hi,

did anybody manage to install PIP as explained here: http://manual.reallusion.com/iClone/script/python/md_docs__python_extension_libraries.html ?

I found following problems:

1. Updated the system PATH variable as indicated in the doc, adding the path "C:\Program Files\Reallusion\iClone 7\Bin64"
2. Opened the Command prompt
3. I launched iclonepy pointing to the full path to get-pip.py => Command prompt complains for the space in the path!
4. So, I moved to the 
C:\Program Files\Reallusion\iClone 7\Bin64 and then launching iclonepy from there, pointing sub-path after Bin64, i.e. scripts\Python\get-pip.py
5. The Python script 
get-pip.py starts, donwloads some files, tries to install pip and terminates with an exception

Exception:
Traceback (most recent call last):
  File "D:\Temp\tmpsre17a7t\pip.zip\pip\basecommand.py", line 215, in main
    status = self.run(options, args)
  File "D:\Temp\tmpsre17a7t\pip.zip\pip\commands\install.py", line 342, in run
    prefix=options.prefix_path,
  File "D:\Temp\tmpsre17a7t\pip.zip\pip\req\req_set.py", line 784, in install
    **kwargs
  File "D:\Temp\tmpsre17a7t\pip.zip\pip\req\req_install.py", line 851, in install
    self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
  File "D:\Temp\tmpsre17a7t\pip.zip\pip\req\req_install.py", line 1064, in move_wheel_files
    isolated=self.isolated,
  File "D:\Temp\tmpsre17a7t\pip.zip\pip\wheel.py", line 345, in move_wheel_files
    clobber(source, lib_dir, True)
  File "D:\Temp\tmpsre17a7t\pip.zip\pip\wheel.py", line 316, in clobber
    ensure_dir(destdir)
  File "D:\Temp\tmpsre17a7t\pip.zip\pip\utils\__init__.py", line 83, in ensure_dir
    os.makedirs(path)
  File "C:\Program Files\Reallusion\iClone 7\Bin64\lib\os.py", line 220, in makedirs
    mkdir(name, mode)
PermissionError: [WinError 5] Access is denied: 'C:\\Program Files\\Reallusion\\iClone 7\\Bin64\\Lib\\site-packages\\pip'

Did anyone succeed to install a Python package using the method described by RL ?

Thanks

  Roberto




My PC:
OS: Windows 10 Pro English 64-bit / CPU: Intel i7-9700 3.6GHz / MB: ASUS ROG Strix Z390  RAM: 32GB DDR4 2.6GHz / HD: 2TB+3TB  /  
SSD: 2x512GB Samsung 860 EVO / 
VB: Palit GTX2080 TI GamingPro 11GB / AB: embedded in the MB and VB (audio from the VB with an HDMI splitter) / DirectX: 12

Edited
6 Months Ago by RobertoColombo
Kelleytoons
Kelleytoons
Posted 6 Months Ago
View Quick Profile
Distinguished Member

Distinguished Member (19.4K reputation)Distinguished Member (19.4K reputation)Distinguished Member (19.4K reputation)Distinguished Member (19.4K reputation)Distinguished Member (19.4K reputation)Distinguished Member (19.4K reputation)Distinguished Member (19.4K reputation)Distinguished Member (19.4K reputation)Distinguished Member (19.4K reputation)

Group: Forum Members
Last Active: 20 minutes ago
Posts: 6.1K, Visits: 12.2K
Yeah, they kind of leave out a step -- you need to do it as admin (so open up an Admin command line).

Then it goes smoothly.







Alienware Aurora R7, Win 10, i7-8700k, 4.7GHz CPU, 32GB RAM, GTX Titan XP (12GB), Samsung 960 Pro 2TB M-2 SSD, TB+ Disk space
Mike "ex-genius" Kelley
Edited
6 Months Ago by Kelleytoons
RobertoColombo
RobertoColombo
Posted 6 Months Ago
View Quick Profile
Distinguished Member

Distinguished Member (7.3K reputation)Distinguished Member (7.3K reputation)Distinguished Member (7.3K reputation)Distinguished Member (7.3K reputation)Distinguished Member (7.3K reputation)Distinguished Member (7.3K reputation)Distinguished Member (7.3K reputation)Distinguished Member (7.3K reputation)Distinguished Member (7.3K reputation)

Group: Forum Members
Last Active: 5 days ago
Posts: 1.6K, Visits: 3.0K
Thanks Mike.
Now I succeeded Smile




My PC:
OS: Windows 10 Pro English 64-bit / CPU: Intel i7-9700 3.6GHz / MB: ASUS ROG Strix Z390  RAM: 32GB DDR4 2.6GHz / HD: 2TB+3TB  /  
SSD: 2x512GB Samsung 860 EVO / 
VB: Palit GTX2080 TI GamingPro 11GB / AB: embedded in the MB and VB (audio from the VB with an HDMI splitter) / DirectX: 12

Edited
6 Months Ago by RobertoColombo



Reading This Topic