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

Instruction for installation in windows? #532

Closed
jorgeog96 opened this issue Jan 5, 2018 · 3 comments
Closed

Instruction for installation in windows? #532

jorgeog96 opened this issue Jan 5, 2018 · 3 comments

Comments

@jorgeog96
Copy link

  • Version: x.x.x
  • Python: 3.6
  • OS: win10

What was wrong?

Please guys, can you type a little guide talking about install web3.py in a windows machine, for example, using PowerShell. Also, give a complete list of required tools.

@carver
Copy link
Collaborator

carver commented Jan 5, 2018

At this point, it seems likely that the windows install simply doesn't work, since the Windows CI is failing: #166

Once that's successful, then we should revisit if any Windows-specific instructions are necessary.

@jorgeog96
Copy link
Author

Yesterday late, I could install web3.py directly on my windows machine.
SO. Windows 10 64 bits

-Install latest version python for windows 64bits, in this case, python 3.6.

-Check if "python" is an environment variable or not, typing python on the cmd console in my case.

-If the console doesn´t recognize the command python giving you the version, you have to add the variable to environment variable and PATH. Python provides a tool for this purpose in this directory: Appdata->Local->Programs->Python->Python36-32->Tools->Scripts->win_add2path.py
Sometimes this tool doesn´t work, so in that case, you have to add manually the variable to PATH.

-After had done that process, you cmd should recognize your python version.Furthermore, he should recognize also pip package manager high-tool for python. I prefer use pip versus virtualenv.

-Next step, it's installed Visual C++ Build Tools 2d5 on your windows machine, if you didn´t have installed before. You need that tool in the process of web3.py installation.

-pip install web3.

I also have node.js and npm installed on my device, I don´t know if those tools have something related to this process.

I don´t know if these steps are correct or not, but for me, the installation didn´t give me any error.

@carver
Copy link
Collaborator

carver commented Jan 6, 2018

Thanks for writing these down. Any interest in contributing them to the public docs where they will get a lot more visibility? We'd love to have your contribution.

I prefer use pip versus virtualenv.

The real magic is when you use these two together. Use pip inside of an environment made with virtualenv to get a reproducible set of libraries that you know is the same as everyone else.

@fselmo fselmo closed this as completed Apr 19, 2022
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

3 participants