Aeoll / ae_SVG

SVG Importer and Exporter for Houdini
GNU Lesser General Public License v3.0
101 stars 10 forks source link

Noob install question #1

Closed NNois closed 3 years ago

NNois commented 6 years ago

Hi, sorry but I get that when I add thoses lines when I open the python shell (step 3 of your install instructions) `>>> import sys

sys.append("C:\Python27\Lib\site-packages") Traceback (most recent call last): File "", line 1, in AttributeError: 'module' object has no attribute 'append'`

using 123 file don't work on windows because there is no 123.py but a 123.cmd...

So i've just copied the svg folder in the one of the houdini install dir and it works. Is that correct ?

Aeoll commented 6 years ago

Hi,

Yes that's correct - i need to tweak the instructions ! Sorry for the confusion

Nick

On 30 Aug 2017 1:07 p.m., "NNois" notifications@github.com wrote:

Hi, sorry but I get that when I add thoses lines when I open the python shell (step 3 of your install instructions) `>>> import sys

sys.append("C:\Python27\Lib\site-packages") Traceback (most recent call last): File "", line 1, in AttributeError: 'module' object has no attribute 'append'`

using 123 file don't work on windows because there is no 123.py but a 123.cmd...

So i've just copied the svg folder in the one of the houdini install dir and it works. Is that correct ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Aeoll/ae_SVG/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AFD9fxUQa3WVkckMAn3Iiyeit3bGeOc7ks5sdVCNgaJpZM4PHSFe .

Benra1 commented 6 years ago

Hi Noob Install Question as well. I am having the worst time following the install instructions Nick and im hoping you can set me straight.
Ive been at it for 4 straight hours and still cant get a solve. I'm not Python literate so ive been bumbling ahead. I've sucessfully got to the point of installing pip.
But cannot get pip to install svg.path to my houdini/libs folder.
do i exactly copy your instructions into the shell (windows) ? eg pip install svg.path --target [C:/Program Files/Side Effects Software/Houdini 16.5.323/python27/libs]

i get the error return Invalid requirement: 'Files/Side' Traceback (most recent call last): File "c:\program files\side effects software\houdini 16.5.323\python27\lib\site-packages\pip\req\req_install.py", line 82, in init req = Requirement(req) File "c:\program files\side effects software\houdini 16.5.323\python27\lib\site-packages\pip_vendor\packaging\requirements.py", line 96, in init requirement_string[e.loc:e.loc + 8])) InvalidRequirement: Invalid requirement, parse error at "'/Side'"

tried without the --target and without [ ] but still no happy face. going a bit nuts here. have to give up on 4 hours of effort and its past midnight now. gar.
PS: Your work is amazing. (sorry for frustration above)

UPDATE > i cant believe i needed underscores between the spaces.. (thats the level im at here). so.. pip ran the install ... still with a list of errors. (frightened to post them as this message will get stupid long. )

Aeoll commented 6 years ago

Hi Benra,

Sorry for the struggles. The first thing to do would be to try running 'pip install svg.path' . If you still see an error, there is a problem with your python27 or pip install and you should try reinstalling these from scratch.

If there is no error svg.path has installed correctly. You can copy it from its default install location into the houdini16.0/python2.7libs folder. For me this default install location is C:\Python27\Lib\site-packages\svg. Copy the 'svg' folder and don't forget to create the init.py file inside.

Benra1 commented 6 years ago

oh .. hey .. thanks for the quick reply .. I will delete that error message comment.. its just in the way of things here. I will try what you suggest

Benra1 commented 6 years ago

sweet,.. yes.. its there. thanks But i dont have a python2.7libs folder showing . i have a python27/lib folder and a python27/libs folder /libs has a few *.lib files and /lib has many folders with many files . i will try placing into /libs .

Benra1 commented 6 years ago

Thanks Nick ! That did the trick... its half past midnight but at least i got it working. (5hours of my life just rolled by).

Aeoll commented 6 years ago

Glad you got it working. Python can be very annoying...! Hopefully the HDA is useful to you

Benra1 commented 6 years ago

I'm running over some of your other amazing tools in the AEMaster set. fantastic work Nick. Some of them are intriguing and interesting, yet im not sure how to implement half of them. (sorry, off this specific tool topic posting here). is there any documentation or anything available to understand a particular tool in context? cheers.

Aeoll commented 6 years ago

The documentation is admittedly a bit sparse. I have some videos on vimeo eg https://vimeo.com/204258573 for the older tools, which are coupled with HIPs in the Aelib examples/ directory.

I also have a Patreon page where I post about individual tools in more detail with commented scene files (and also share extra tools which aren't available for free!) https://www.patreon.com/aeoll

Benra1 commented 6 years ago

much appreciated Nick.. will follow up with you at patreon. cheers.