# Error with PyGMT following install

**URL:** <https://forum.generic-mapping-tools.org/t/error-with-pygmt-following-install/2446>\
**Category:** PyGMT Q&A\
**Created:** [December 16, 2021, 3:23am UTC](https://forum.generic-mapping-tools.org/t/error-with-pygmt-following-install/2446 "2021-12-16T03:23:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShowMeTheWorld](https://avatars.discourse-cdn.com/v4/letter/s/b5e925/32.png) [@ShowMeTheWorld](https://forum.generic-mapping-tools.org/u/ShowMeTheWorld)\
**Post date:** [December 16, 2021, 3:23am UTC](https://forum.generic-mapping-tools.org/t/error-with-pygmt-following-install/2446/1 "2021-12-16T03:23:01Z")

</div>

Hello,

I am struggling to run PyGMT after a pip installation. I am getting the attached error when running the recommended test script. The script will show the first PyGMT I defined in that virtual environment but then error out after that.

![image](https://canada1.discourse-cdn.com/flex047/uploads/gmt/optimized/2X/0/0b43adf909b75f0e291fa9aa547908007cfc71e4_2_690x12.png)

---

<div class="post-metadata">

**Author:** ![weiji14](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/weiji14/32/33_2.png) [@weiji14](https://forum.generic-mapping-tools.org/u/weiji14)\
**Post date:** [December 16, 2021, 9:40pm UTC](https://forum.generic-mapping-tools.org/t/error-with-pygmt-following-install/2446/2 "2021-12-16T21:40:38Z")

</div>

Hi @ShowMeTheWorld, thanks for trying out PyGMT! Could you show us the output of `pygmt.show_versions()` (copy and paste the text) so that we can help you to debug. My guess is that you might be hitting some Windows limit on file path length, but need to double check.
