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

Unable to install from source #140

Closed
Slawcioo opened this issue Jun 3, 2023 · 1 comment
Closed

Unable to install from source #140

Slawcioo opened this issue Jun 3, 2023 · 1 comment

Comments

@Slawcioo
Copy link

Slawcioo commented Jun 3, 2023

Describe the bug
When I tried to install current version with pip install -e . command. I got the error message:

TypeError: expected str, bytes or os.PathLike object, not NoneType [end of output]

System information

  • OS Version: Ubuntu 22.04.2 LTS
  • Python Version: Python 3.10.6
  • Python Implementation: CPython
**Traceback stack**
   Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/home/user/workspace/PyPCAPKit/setup.py", line 105, in <module>
          setup(
        File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 153, in setup
          return distutils.core.setup(**attrs)
        File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 148, in setup
          return run_commands(dist)
        File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 163, in run_commands
          dist.run_commands()
        File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 967, in run_commands
          self.run_command(cmd)
        File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 986, in run_command
          cmd_obj.run()
        File "/home/user/workspace/PyPCAPKit/setup.py", line 92, in run
          refactor(os.path.join(self.install_lib, 'pcapkit'))
        File "/usr/lib/python3.10/posixpath.py", line 76, in join
          a = os.fspath(a)

Expected behavior
I expected the library to be installed.

Additional context

@JarryShaw
Copy link
Owner

Cannot reproduce the error. Potentially resolved in version **1.0.2"".

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

2 participants