Discussion:
pipwin error with runpy.py
(too old to reply)
Slein, Ryan
2017-01-29 02:31:06 UTC
Permalink
Hey everyone,

I've spent a few days digging through forums without any luck so I figured I'd post to the mailing list as per request of the forums. Any advice would be greatly appreciated. I am new to python and cuda, and entirely self-taught, so sorry in advanced for any gaps of knowledge on my part.

I am trying to install pycuda but am getting hung up on one of the last install steps, pipwin install pycuda. I keep getting an error in runpy.py when trying to install the software through anaconda. BeautifulSoup tells me it is an lxml file error (see attached cmd) in anaconda\lib\runpy.py for both Python/Anaconda 2 and Python/Anaconda 3 (see attached code: Line 184 for anaconda3 and Line 174 for anaconda2). I've tried to do what BeautifulSoup stated but haven't succeeded, hopefully the solution is obvious to someone with much more experience than myself.

I've also tried building from means other than conda with no luck. I am open to try other build packages if you don't know of any conda work arounds. Some computer specs: Windows 10 Pro V1607 OS Build 14393.693 & Command Prompt Version 10.0.14393. Please let me know if you need any further information of my system.

Best,
Ryan
Andreas Kloeckner
2017-01-29 19:50:29 UTC
Permalink
Post by Slein, Ryan
I've spent a few days digging through forums without any luck so I figured I'd post to the mailing list as per request of the forums. Any advice would be greatly appreciated. I am new to python and cuda, and entirely self-taught, so sorry in advanced for any gaps of knowledge on my part.
I am trying to install pycuda but am getting hung up on one of the last install steps, pipwin install pycuda. I keep getting an error in runpy.py when trying to install the software through anaconda. BeautifulSoup tells me it is an lxml file error (see attached cmd) in anaconda\lib\runpy.py for both Python/Anaconda 2 and Python/Anaconda 3 (see attached code: Line 184 for anaconda3 and Line 174 for anaconda2). I've tried to do what BeautifulSoup stated but haven't succeeded, hopefully the solution is obvious to someone with much more experience than myself.
I've also tried building from means other than conda with no luck. I
am open to try other build packages if you don't know of any conda
work arounds. Some computer specs: Windows 10 Pro V1607 OS Build
14393.693 & Command Prompt Version 10.0.14393. Please let me know if
you need any further information of my system.
The message you show appears to be a non-fatal warning and unrelated to
PyCUDA, which does not use BeatifulSoup. If you show a relevant error
message (bonus points for text format), we may be in a better position
to help.

Andreas

Loading...