Comments (5)
Hi @gyuta , can you try directly installing the repo: pip install git+https://github.com/HorizonRobotics/cnest.git
?
from alf.
Thanks for quick reply!!
I tried it but doesnt work
$ pip install git+https://github.com/HorizonRobotics/cnest.git
Collecting git+https://github.com/HorizonRobotics/cnest.git
Cloning https://github.com/HorizonRobotics/cnest.git to /private/var/folders/8_/_xtn7y3s07gb38gjlhgk3l4r0000gp/T/pip-req-build-rmaslzvl
Running command git clone --filter=blob:none --quiet https://github.com/HorizonRobotics/cnest.git /private/var/folders/8_/_xtn7y3s07gb38gjlhgk3l4r0000gp/T/pip-req-build-rmaslzvl
Resolved https://github.com/HorizonRobotics/cnest.git to commit 630d21239e282765896b6a040593066d3b796265
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: pybind11<3.0.0,>=2.6.2 in /Users/myname/.local/share/virtualenvs/mac-exp-iOgqb1lD/lib/python3.7/site-packages (from cnest==1.0.4) (2.10.3)
Building wheels for collected packages: cnest
Building wheel for cnest (pyproject.toml) ... done
Created wheel for cnest: filename=cnest-1.0.4-cp37-cp37m-macosx_12_0_x86_64.whl size=6800 sha256=6bcf6e5645cfe2236f4dbd5ba00c8d8ba5e46083e1caebd8839314aa81aa783d
Stored in directory: /private/var/folders/8_/_xtn7y3s07gb38gjlhgk3l4r0000gp/T/pip-ephem-wheel-cache-x21cxmpa/wheels/8e/1c/11/5d4672f85fc2f670d0db9666a56d8c7c521a230b0e327993bc
Successfully built cnest
Installing collected packages: cnest
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
alf 0.0.6 requires cnest==1.0.5, but you have cnest 1.0.4 which is incompatible.
Successfully installed cnest-1.0.4
$ ls /Users/myname/.local/share/virtualenvs/mac-exp-iOgqb1lD/lib/python3.7/site-packages/cnest
__init__.py __pycache__ format.py nest.cpp
from alf.
@gyuta Can you first uninstall cnest completely and try installing from the github repo link again?
One thing to note that the PyPi cnest package will try installing cnest wheels which were only tested for certain Ubuntu versions. I noticed that you're using a MacOS system, so that wheel might not be compatible. One solution is to directly installing from the github (build from source).
(A backup solution is to git clone the cnest repo, and try pip install -e .
inside cnest dir and see if the .so file exists. But certainly this is not the most convenient way of installing cnest.)
from alf.
Thanks for quick reply!!
I tried it but doesnt work
$ pip install git+https://github.com/HorizonRobotics/cnest.git Collecting git+https://github.com/HorizonRobotics/cnest.git Cloning https://github.com/HorizonRobotics/cnest.git to /private/var/folders/8_/_xtn7y3s07gb38gjlhgk3l4r0000gp/T/pip-req-build-rmaslzvl Running command git clone --filter=blob:none --quiet https://github.com/HorizonRobotics/cnest.git /private/var/folders/8_/_xtn7y3s07gb38gjlhgk3l4r0000gp/T/pip-req-build-rmaslzvl Resolved https://github.com/HorizonRobotics/cnest.git to commit 630d21239e282765896b6a040593066d3b796265 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Requirement already satisfied: pybind11<3.0.0,>=2.6.2 in /Users/myname/.local/share/virtualenvs/mac-exp-iOgqb1lD/lib/python3.7/site-packages (from cnest==1.0.4) (2.10.3) Building wheels for collected packages: cnest Building wheel for cnest (pyproject.toml) ... done Created wheel for cnest: filename=cnest-1.0.4-cp37-cp37m-macosx_12_0_x86_64.whl size=6800 sha256=6bcf6e5645cfe2236f4dbd5ba00c8d8ba5e46083e1caebd8839314aa81aa783d Stored in directory: /private/var/folders/8_/_xtn7y3s07gb38gjlhgk3l4r0000gp/T/pip-ephem-wheel-cache-x21cxmpa/wheels/8e/1c/11/5d4672f85fc2f670d0db9666a56d8c7c521a230b0e327993bc Successfully built cnest Installing collected packages: cnest ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. alf 0.0.6 requires cnest==1.0.5, but you have cnest 1.0.4 which is incompatible. Successfully installed cnest-1.0.4
$ ls /Users/myname/.local/share/virtualenvs/mac-exp-iOgqb1lD/lib/python3.7/site-packages/cnest __init__.py __pycache__ format.py nest.cpp
Hi @gyuta, we've published a new cnest version 1.0.8 and fixed an issue of building the so file PR #1434 . Please give it a try and see if it also solves your problem. Thanks!
from alf.
I apologize for the delay in my response. Thank you again for addressing the issue. I have confirmed that it is now working properly. Thank you very much.
from alf.
Related Issues (20)
- Apple M1 GPU - PyTorch "mps" backend support HOT 1
- multi-gpu training issue
- Extended sensor suites (obstacle, dynamic object, red-light etc)
- documentation not generated
- Interferenceless Parallel Carla Environment
- API change to policy_trainer._step makes CI stuck without informative error message HOT 1
- Imitation for Driving (code + doc) HOT 1
- How to get to the next step the AlfGymWrapper class HOT 3
- How to get which Vehicle light state of each actor ? HOT 2
- Dormant/Collided vehicles disappear even after commenting lines in ALSM.CPP HOT 2
- Offline Buffer with Disk Storage Option
- Need to upgrade the CI ubuntu version HOT 1
- Need to update pytorch version for better GPU cards HOT 1
- fast parallel env sometimes hangs after ctrl+c
- TypeError: configurable() got an unexpected keyword argument 'whitelist' HOT 10
- Visual network architecture HOT 6
- Broken documentation HOT 1
- A method for managing upstream training task confs
- multi-gpu training issue HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alf.