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

Can't install miasm 0.1.5 on Windows #1494

Open
greenozon opened this issue Jul 29, 2024 · 2 comments
Open

Can't install miasm 0.1.5 on Windows #1494

greenozon opened this issue Jul 29, 2024 · 2 comments

Comments

@greenozon
Copy link
Contributor

Using Python 3.12

details

C:\Dev\python\in>pip install miasm
Collecting miasm
  Downloading miasm-0.1.5.tar.gz (618 kB)
     ---------------------------------------- 618.3/618.3 kB 4.9 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [57 lines of output]
      <string>:61: DeprecationWarning: Use shutil.which instead of find_executable
      <string>:122: DeprecationWarning: Use shutil.which instead of find_executable
      <string>:123: DeprecationWarning: Use shutil.which instead of find_executable
      building
      build with 'all'
      running egg_info
      writing miasm.egg-info\PKG-INFO
      Traceback (most recent call last):
...........
[skipped]




          return codecs.charmap_encode(input,self.errors,encoding_table)[0]
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      UnicodeEncodeError: 'charmap' codec can't encode character '\xe9' in position 20918: character maps to <undefined>
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

I've VS2019 on my PC installed
using vcvars64.bat before installing miasm did not help as well
(same error)

@greenozon greenozon changed the title Can't install miasm1.5 on WIndows Can't install miasm 0.1.5 on WIndows Jul 29, 2024
@greenozon greenozon changed the title Can't install miasm 0.1.5 on WIndows Can't install miasm 0.1.5 on Windows Jul 29, 2024
@W0ni
Copy link
Contributor

W0ni commented Jul 30, 2024

Hello @greenozon

This was fixed in #1489
The version you are trying to install from PyPy is not recent enough. Can you try to install from the latest version of the git?

@greenozon
Copy link
Contributor Author

yeah, bingo!
you are very right, it fixes the issue
I've git cloned the repo and did
pip install .
out of it
and got success in the end!

Thanks for you fast reply and kind hint

any plans to release a new pypi package please? preferably with support of Python 3.12...
thanks!

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