Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Works for python 3.9.7 if you install it manually but not through pip #43

Open
Anurag-Shah opened this issue Dec 30, 2021 · 0 comments
Open

Comments

@Anurag-Shah
Copy link

On python 3.9.7:
if I download and run python setup.py build then python setup.py install it installs fine, but if i try installing it through pip I get an error. I've provided the error trace below.

Trace:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\anura\AppData\Local\Temp\pip-install-44bg093q\pyplatec_85548a435d534e13891adf2a57b1f157\setup.py", line 36, in
setup (name = 'PyPlatec',
File "C:\Python310\lib\site-packages\setuptools_init_.py", line 153, in setup
return distutils.core.setup(**attrs)
File "C:\Python310\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Python310\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "C:\Python310\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Python310\lib\site-packages\setuptools\command\install.py", line 61, in run
return orig.install.run(self)
File "C:\Python310\lib\distutils\command\install.py", line 580, in run
self.run_command(cmd_name)
File "C:\Python310\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Python310\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Python310\lib\site-packages\setuptools\command\install_egg_info.py", line 34, in run
self.run_command('egg_info')
File "C:\Python310\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Python310\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Python310\lib\site-packages\setuptools\command\egg_info.py", line 299, in run
self.find_sources()
File "C:\Python310\lib\site-packages\setuptools\command\egg_info.py", line 306, in find_sources
mm.run()
File "C:\Python310\lib\site-packages\setuptools\command\egg_info.py", line 541, in run
self.add_defaults()
File "C:\Python310\lib\site-packages\setuptools\command\egg_info.py", line 585, in add_defaults
self.read_manifest()
File "C:\Python310\lib\site-packages\setuptools\command\sdist.py", line 188, in read_manifest
self.filelist.append(line)
File "C:\Python310\lib\site-packages\setuptools\command\egg_info.py", line 483, in append
path = convert_path(item)
File "C:\Python310\lib\distutils\util.py", line 124, in convert_path
raise ValueError("path '%s' cannot be absolute" % pathname)
ValueError: path '/home/federico/repos/plate-tectonics/src/bounds.cpp' cannot be absolute

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant