cta-observatory / ctaplot

Plotting library for CTA and other IACT

Home Page:https://ctaplot.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to install using pip in Windows machine

sborquez opened this issue · comments

I've tried to install this module in a Windows environment but returns this ValueError

Output: install.log

      File "C:\Users\sebas\Anaconda3\envs\gerumo\lib\distutils\cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "C:\Users\sebas\Anaconda3\envs\gerumo\lib\distutils\dist.py", line 985, in run_command
        cmd_obj.run()
      File "C:\Users\sebas\Anaconda3\envs\gerumo\lib\distutils\command\install_data.py", line 56, in run
        dir = convert_path(f[0])
      File "C:\Users\sebas\Anaconda3\envs\gerumo\lib\distutils\util.py", line 112, in convert_path
        raise ValueError("path '%s' cannot end with '/'" % pathname)
    ValueError: path 'ctaplot/' cannot end with '/'

This can be solved by deleting the '/' in 'ctaplot/'.

data_files=[('ctaplot/', dataset)],

Hi.
Thanks for reporting.
Would you mind making a PR solving it?